/* =========================================================
   ESCENARIO PANORÁMICO: TOTALMENTE ESPACIADO Y FLUIDO
   ========================================================= */
    .doodle-panoramic-stage {
      position: relative;
      width: 100%;
      max-width: 1340px;
      margin: 35px auto 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-sizing: border-box;
      padding: 0 45px;
      min-height: 230px;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Costado Izquierdo: ARTE 100% FUNDIDO EN EL FONDO (CERO BORDES) */
    .doodle-wing-left {
      flex: 1;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .doodle-art-seamless {
      position: relative;
      width: 290px;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent !important;
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      cursor: pointer;
      /* Desvanecimiento radial perfecto que elimina cualquier borde de la imagen */
      mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 80%) !important;
      -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 80%) !important;
      mix-blend-mode: screen !important;
      filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.35));
      transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s;
    }
    .doodle-art-seamless:hover {
      transform: scale(1.08) translateY(-4px);
      filter: drop-shadow(0 0 45px rgba(52, 211, 153, 0.55));
    }
    .doodle-art-seamless img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      user-select: none;
      pointer-events: none;
      border: none !important;
      background: transparent !important;
    }

    /* Centro: Logo PLUX limpio, con amplio espacio a los costados */
    .doodle-center-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 5;
      padding: 0 40px;
    }

    /* Costado Derecho: Tarjeta Contextual apartada hacia el lateral */
    .doodle-wing-right {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .doodle-info-card {
      position: relative;
      background: rgba(15, 23, 42, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 20px;
      padding: 18px 22px;
      color: #f8fafc;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      width: 100%;
      max-width: 300px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
      transition: all 0.3s ease;
    }
    .doodle-info-card:hover {
      border-color: rgba(56, 189, 248, 0.3);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
    }

    .doodle-card-date {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #34d399;
      display: flex;
      align-items: center;
      gap: 6px;
      padding-right: 25px; /* Espacio para el botón de cierre */
    }
    .doodle-card-title {
      font-size: 1.12rem;
      font-weight: 900;
      line-height: 1.25;
      color: #ffffff;
      padding-right: 32px;
      word-break: break-word;
    }
    .doodle-card-desc {
      font-size: 0.78rem;
      line-height: 1.45;
      color: #94a3b8;
    }

    /* Botones compactos y armoniosos dentro del cartel */
    .doodle-card-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 6px;
    }
    .btn-card-info {
      flex: 1;
      height: 38px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #ffffff;
      padding: 0 14px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.25s ease;
      white-space: nowrap;
    }
    .btn-card-info:hover {
      background: rgba(56, 189, 248, 0.2);
      border-color: #38bdf8;
      color: #38bdf8;
      transform: translateY(-1px);
    }
    .btn-card-action {
      flex: 1;
      height: 38px;
      background: linear-gradient(135deg, #10b981, #059669);
      border: none;
      color: #ffffff;
      padding: 0 14px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.25s ease;
      box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
      white-space: nowrap;
    }
    .btn-card-action:hover {
      transform: translateY(-1px);
      filter: brightness(1.1);
      box-shadow: 0 5px 14px rgba(16, 185, 129, 0.45);
    }
    .btn-card-dismiss {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #94a3b8;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .btn-card-dismiss:hover {
      background: rgba(239, 68, 68, 0.25);
      border-color: #ef4444;
      color: #ffffff;
    }

    /* Estado Desactivado / Limpio (100% natural, idéntico al home estándar sin saltos) */
    .doodle-panoramic-stage.disabled {
      min-height: 120px !important;
      margin: 25px auto 15px !important;
      justify-content: center !important;
    }
    .doodle-panoramic-stage.disabled .doodle-wing-left,
    .doodle-panoramic-stage.disabled .doodle-wing-right {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
      transform: scale(0.85) !important;
      max-width: 0 !important;
      width: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
      flex: 0 0 0 !important;
    }
    .doodle-panoramic-stage.disabled .doodle-center-logo {
      padding: 0 !important;
    }
    .doodle-restore-chip {
      display: none !important;
    }

    /* =========================================================
       MODO MINECRAFT ULTRA PROFUNDO (TEMA CÚBICO Y VOXEL 360°)
       ========================================================= */
    body.minecraft-mode {
      image-rendering: pixelated;
      background: #4a80ba !important; /* Minecraft daytime sky */
      position: relative;
    }
    
    body.minecraft-mode .welcome {
      background: transparent !important;
    }

    /* Cielo y nubes cúbicas de Minecraft */
    body.minecraft-mode #bg-parallax {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: linear-gradient(180deg, #3b71ab 0%, #70a4de 55%, #9bc2ea 100%) !important;
      opacity: 1 !important;
      z-index: 0;
      pointer-events: none;
    }
    body.minecraft-mode #bg-parallax::before {
      content: "";
      position: fixed;
      top: 35px;
      right: 75px;
      width: 58px;
      height: 58px;
      background: #ffffea;
      box-shadow: 0 0 0 6px rgba(255, 255, 234, 0.4), 0 0 30px #ffffea;
      image-rendering: pixelated;
      z-index: 1;
      pointer-events: none;
    }
    body.minecraft-mode #bg-parallax::after {
      content: "";
      position: fixed;
      top: 95px;
      left: 0;
      width: 200vw;
      height: 48px;
      background: repeating-linear-gradient(90deg, #ffffff 0px, #ffffff 130px, transparent 130px, transparent 260px);
      opacity: 0.75;
      animation: driftClouds 45s linear infinite;
      z-index: 1;
      pointer-events: none;
    }
    @keyframes driftClouds {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    body.minecraft-mode .logo-bubble {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 2.6rem !important;
      letter-spacing: -2px !important;
      border-radius: 0px !important;
      background: linear-gradient(180deg, #5b8e31 0%, #5b8e31 38%, #866043 38%, #866043 100%) !important;
      border: 4px solid #1a1006 !important;
      box-shadow: inset 4px 4px 0 #7ec83e, inset -4px -4px 0 #4a3424, 6px 6px 0 rgba(0,0,0,0.8) !important;
      text-shadow: 3px 3px 0 #1b1207 !important;
      animation: none !important;
    }
    body.minecraft-mode .logo-bubble:hover {
      transform: scale(1.02) !important;
      box-shadow: inset 4px 4px 0 #7ec83e, inset -4px -4px 0 #4a3424, 8px 8px 0 rgba(0,0,0,0.9) !important;
    }

    body.minecraft-mode .main-btn {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.75rem !important;
      line-height: 1.4 !important;
      border-radius: 0px !important;
      background: #737373 !important;
      border: 3px solid #000000 !important;
      box-shadow: inset 3px 3px 0 #adadad, inset -3px -3px 0 #424242, 4px 4px 0 rgba(0,0,0,0.7) !important;
      color: #ffffff !important;
      text-shadow: 2px 2px 0 #1a1a1a !important;
      padding: 16px 20px !important;
      transition: all 0.1s ease !important;
    }
    body.minecraft-mode .main-btn:hover {
      background: #878787 !important;
      transform: none !important;
      box-shadow: inset 3px 3px 0 #ffffff, inset -3px -3px 0 #333333, 4px 4px 0 rgba(0,0,0,0.9) !important;
    }
    body.minecraft-mode .main-btn:active {
      box-shadow: inset 3px 3px 0 #2b2b2b, inset -3px -3px 0 #8c8c8c !important;
    }
    body.minecraft-mode .main-btn.discover-btn {
      background: #1e3a5f !important;
      box-shadow: inset 3px 3px 0 #38bdf8, inset -3px -3px 0 #0c1e33, 4px 4px 0 rgba(0,0,0,0.8) !important;
      font-size: 0.95rem !important;
    }
    body.minecraft-mode .main-btn.tools-btn {
      background: #581c87 !important;
      box-shadow: inset 3px 3px 0 #c084fc, inset -3px -3px 0 #2e1065, 4px 4px 0 rgba(0,0,0,0.8) !important;
    }

    body.minecraft-mode .doodle-info-card {
      font-family: 'Press Start 2P', monospace !important;
      border-radius: 0px !important;
      background: #2b2b2b !important;
      border: 4px solid #000000 !important;
      box-shadow: inset 3px 3px 0 #5c5c5c, inset -3px -3px 0 #141414, 6px 6px 0 rgba(0,0,0,0.8) !important;
    }
    body.minecraft-mode .doodle-card-title {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.85rem !important;
      color: #ffff55 !important;
      text-shadow: 2px 2px 0 #3f3f00 !important;
    }
    body.minecraft-mode .doodle-card-desc {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.55rem !important;
      line-height: 1.6 !important;
      color: #aaaaaa !important;
    }
    body.minecraft-mode .doodle-card-date {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.55rem !important;
      color: #55ff55 !important;
    }
    body.minecraft-mode .btn-card-info {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.55rem !important;
      border-radius: 0px !important;
      box-shadow: inset 2px 2px 0 #adadad, inset -2px -2px 0 #373737 !important;
      border: 2px solid #000000 !important;
    }
    body.minecraft-mode .btn-card-action {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.52rem !important;
      padding: 0 6px !important;
      border-radius: 0px !important;
      box-shadow: inset 2px 2px 0 #adadad, inset -2px -2px 0 #373737 !important;
      border: 2px solid #000000 !important;
      white-space: nowrap !important;
    }
    body.minecraft-mode .btn-card-dismiss {
      border-radius: 0px !important;
      border: 2px solid #000000 !important;
    }
    body.minecraft-mode .inspo-card {
      border-radius: 0px !important;
      border: 3px solid #000000 !important;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.7) !important;
    }
    body.minecraft-mode .inspo-title {
      font-family: 'Press Start 2P', monospace !important;
      font-size: 0.75rem !important;
      color: #ffffff !important;
    }

    /* BARRA HUD DE MINECRAFT (HOTBAR + CORAZONES + HAMBRE + XP) */
    .mc-hud-container {
      position: fixed;
      bottom: 74px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1100;
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      pointer-events: auto;
      user-select: none;
      animation: slideUpHud 0.3s ease;
    }
    @keyframes slideUpHud {
      from { transform: translateX(-50%) translateY(30px); opacity: 0; }
      to { transform: translateX(-50%) translateY(0); opacity: 1; }
    }
    body.minecraft-mode .mc-hud-container {
      display: flex;
    }

    .mc-status-bars {
      display: flex;
      justify-content: space-between;
      width: 400px;
      padding: 0 4px;
      font-size: 0.95rem;
    }
    .mc-hearts, .mc-hunger {
      display: flex;
      gap: 2px;
      filter: drop-shadow(1px 1px 0 #000);
    }
    .mc-xp-bar-wrap {
      width: 400px;
      height: 7px;
      background: #000000;
      border: 1px solid #373737;
      position: relative;
    }
    .mc-xp-fill {
      width: 82%;
      height: 100%;
      background: #80ff00;
      box-shadow: 0 0 6px #80ff00;
    }
    .mc-xp-level {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      font-family: 'Press Start 2P', monospace;
      font-size: 0.65rem;
      color: #80ff00;
      text-shadow: 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
    }

    /* Hotbar 9 slots */
    .mc-hotbar {
      display: flex;
      background: #8f8f8f;
      border: 3px solid #373737;
      box-shadow: inset 2px 2px 0 #dbdbdb, inset -2px -2px 0 #555555, 0 4px 15px rgba(0,0,0,0.8);
      padding: 2px;
    }
    .mc-slot {
      width: 42px;
      height: 42px;
      background: #8b8b8b;
      border: 2px solid #373737;
      box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #dbdbdb;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      cursor: pointer;
      font-size: 1.25rem;
      transition: background 0.1s;
    }
    .mc-slot:hover {
      background: #a5a5a5;
    }
    .mc-slot.active {
      border: 3px solid #ffffff !important;
      box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #ffffff, 0 0 8px #ffffff !important;
      transform: scale(1.08);
      z-index: 2;
    }
    .mc-slot-num {
      position: absolute;
      bottom: 2px;
      right: 3px;
      font-family: 'Press Start 2P', monospace;
      font-size: 0.45rem;
      color: #ffffff;
      text-shadow: 1px 1px 0 #000;
    }

    /* =========================================================
       BILL GATES: VENTANA RETRO WINDOWS 95 (BOLUDEZ AUTÉNTICA)
       ========================================================= */
    .win95-window-overlay {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.9);
      width: min(92vw, 470px);
      background: #c0c0c0;
      border-top: 2px solid #ffffff;
      border-left: 2px solid #ffffff;
      border-right: 2px solid #000000;
      border-bottom: 2px solid #000000;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.6), 0 20px 40px rgba(0,0,0,0.8);
      z-index: 6500;
      font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
      color: #000000;
      display: none;
      opacity: 0;
      transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .win95-window-overlay.active {
      display: block;
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    .win95-titlebar {
      background: linear-gradient(90deg, #000080, #1084d0);
      color: #ffffff;
      padding: 3px 4px 3px 7px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: bold;
      font-size: 0.78rem;
      user-select: none;
    }
    .win95-title-text {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .win95-btn-close {
      width: 17px;
      height: 15px;
      background: #c0c0c0;
      border-top: 1px solid #ffffff;
      border-left: 1px solid #ffffff;
      border-right: 1px solid #000000;
      border-bottom: 1px solid #000000;
      font-size: 0.65rem;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #000000;
    }
    .win95-btn-close:active {
      border-top: 1px solid #000000;
      border-left: 1px solid #000000;
      border-right: 1px solid #ffffff;
      border-bottom: 1px solid #ffffff;
    }
    .win95-body {
      padding: 16px;
      font-size: 0.85rem;
      line-height: 1.4;
    }
    .win95-clippy-row {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 15px;
    }
    .win95-clippy-bubble {
      background: #ffffe1;
      border: 1px solid #000000;
      border-radius: 4px;
      padding: 9px 12px;
      font-size: 0.82rem;
      box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
      flex: 1;
    }
    .win95-actions {
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .win95-btn {
      background: #c0c0c0;
      border-top: 2px solid #ffffff;
      border-left: 2px solid #ffffff;
      border-right: 2px solid #000000;
      border-bottom: 2px solid #000000;
      padding: 6px 12px;
      font-size: 0.8rem;
      font-weight: 600;
      cursor: pointer;
      color: #000000;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .win95-btn:active {
      border-top: 2px solid #000000;
      border-left: 2px solid #000000;
      border-right: 2px solid #ffffff;
      border-bottom: 2px solid #ffffff;
    }

    /* Pantalla Azul (BSOD) cómica */
    .win95-bsod {
      position: fixed;
      inset: 0;
      background: #0000aa;
      color: #ffffff;
      font-family: 'Lucida Console', Monaco, monospace;
      padding: 60px 40px;
      z-index: 999999;
      display: none;
      font-size: 1.15rem;
      line-height: 1.7;
      cursor: pointer;
      user-select: none;
    }
    .win95-bsod.active {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    /* Bonete festivo sobre la foto de Bill Gates */
    .party-hat-element {
      position: absolute;
      top: 15px;
      left: 48%;
      transform: translateX(-50%) rotate(6deg);
      width: 58px;
      height: 58px;
      pointer-events: none;
      z-index: 10;
      display: none;
      filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    }
    body.gates-party-active .party-hat-element {
      display: block;
      animation: partyHatWiggle 1s ease-in-out infinite alternate;
    }
    @keyframes partyHatWiggle {
      0% { transform: translateX(-50%) rotate(2deg) scale(1); }
      100% { transform: translateX(-50%) rotate(10deg) scale(1.06); }
    }

    /* =========================================================
       OVERLAYS INTERACTIVOS INMERSIVOS
       ========================================================= */
    .chrono-toast-banner {
      position: fixed;
      top: 25px;
      left: 50%;
      transform: translateX(-50%) translateY(-100px);
      z-index: 6000;
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 999px;
      padding: 10px 24px;
      color: #ffffff;
      font-size: 0.92rem;
      font-weight: 700;
      box-shadow: 0 10px 35px rgba(0,0,0,0.8), 0 0 25px rgba(56,189,248,0.4);
      display: flex;
      align-items: center;
      gap: 10px;
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
      opacity: 0;
      pointer-events: none;
    }
    .chrono-toast-banner.active {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .chrono-terminal-hud {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.9);
      width: min(90vw, 550px);
      background: #020c06;
      border: 2px solid #22c55e;
      border-radius: 12px;
      padding: 18px;
      color: #22c55e;
      font-family: 'Courier New', monospace;
      font-size: 0.88rem;
      line-height: 1.5;
      box-shadow: 0 0 35px rgba(34, 197, 94, 0.45);
      z-index: 6000;
      display: none;
      opacity: 0;
      transition: all 0.3s ease;
    }
    .chrono-terminal-hud.active {
      display: block;
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    .chrono-shockwave {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      width: 200px;
      height: 200px;
      border-radius: 50%;
      border: 3px solid #38bdf8;
      box-shadow: 0 0 40px #38bdf8, inset 0 0 40px #38bdf8;
      pointer-events: none;
      z-index: 5500;
      opacity: 1;
      display: none;
    }
    .chrono-shockwave.active {
      display: block;
      animation: expandShockwave 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    }
    @keyframes expandShockwave {
      0% { transform: translate(-50%, -50%) scale(0.1); opacity: 1; }
      100% { transform: translate(-50%, -50%) scale(12); opacity: 0; }
    }

    .chrono-fire-tracks {
      position: fixed;
      bottom: 110px;
      left: 0;
      width: 100vw;
      height: 24px;
      pointer-events: none;
      z-index: 4000;
      display: none;
    }
    .chrono-fire-tracks.active {
      display: block;
      animation: fadeFire 2.8s forwards;
    }
    .chrono-fire-line {
      height: 4px;
      margin: 8px 0;
      background: linear-gradient(90deg, transparent 0%, #f97316 20%, #fef08a 50%, #f97316 80%, transparent 100%);
      box-shadow: 0 0 18px #ea580c, 0 0 35px #facc15;
    }
    @keyframes fadeFire {
      0% { opacity: 0; transform: scaleX(0.1); }
      15% { opacity: 1; transform: scaleX(1); }
      80% { opacity: 0.9; }
      100% { opacity: 0; }
    }




    /* =========================================================
       MODAL DE INFORMACIÓN HISTÓRICA
       ========================================================= */
    .doodle-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      z-index: 5000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }
    .doodle-modal-backdrop.active {
      opacity: 1;
      pointer-events: auto;
    }
    .doodle-modal-card {
      background: #090d16;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 24px;
      max-width: 560px;
      width: 100%;
      padding: 28px;
      color: #f8fafc;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.2);
      transform: scale(0.92) translateY(20px);
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
    }
    .doodle-modal-backdrop.active .doodle-modal-card {
      transform: scale(1) translateY(0);
    }
    .doodle-modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #94a3b8;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .doodle-modal-close:hover {
      background: rgba(239, 68, 68, 0.25);
      color: #ffffff;
      border-color: #ef4444;
    }
    .doodle-modal-tag {
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #38bdf8;
      margin-bottom: 6px;
    }
    .doodle-modal-title {
      font-size: 1.45rem;
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 12px;
      color: #ffffff;
    }
    .doodle-modal-body {
      font-size: 0.9rem;
      line-height: 1.6;
      color: #cbd5e1;
      margin-bottom: 20px;
    }
    .doodle-modal-body p {
      margin-bottom: 10px;
    }
    .doodle-modal-body strong {
      color: #ffffff;
    }
    .doodle-modal-footer {
      display: flex;
      justify-content: flex-end;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 14px;
    }
    .doodle-modal-btn-close {
      background: linear-gradient(135deg, #34d399, #3b82f6);
      border: none;
      color: #ffffff;
      font-weight: 700;
      padding: 8px 22px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 0.85rem;
      transition: all 0.2s ease;
    }
    .doodle-modal-btn-close:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    /* Canvas global de efectos */
    #doodle-canvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 999;
    }
/* Adaptabilidad Movil y Pantallas Pequenas */
@media (max-width: 900px) {
  .welcome {
    justify-content: flex-start !important;
    padding-top: 65px !important;
    padding-bottom: 50px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .doodle-panoramic-stage {
    flex-direction: column !important;
    padding: 0 14px !important;
    gap: 10px !important;
    min-height: auto !important;
    margin: 4px auto 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. Logo PLUX arriba */
  .doodle-center-logo {
    padding: 0 !important;
    order: 1 !important;
  }

  .logo-bubble {
    width: 200px !important;
    height: 72px !important;
    font-size: 2.9rem !important;
    margin: 0 auto !important;
  }

  /* 2. Ilustración artística en el medio, compacta y armónica */
  .doodle-wing-left {
    justify-content: center !important;
    width: 100% !important;
    order: 2 !important;
  }

  .doodle-art-seamless {
    width: 135px !important;
    height: 115px !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.35)) !important;
  }

  /* 3. Ficha informativa abajo con espaciado perfecto */
  .doodle-wing-right {
    justify-content: center !important;
    width: 100% !important;
    order: 3 !important;
  }

  .doodle-info-card {
    max-width: 380px !important;
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    gap: 6px !important;
  }

  .doodle-card-date {
    font-size: 0.65rem !important;
    padding-right: 30px !important;
  }

  .doodle-card-title {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    padding-right: 32px !important;
    word-break: break-word !important;
  }

  .doodle-card-desc {
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
  }

  .doodle-card-actions {
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .btn-card-info,
  .btn-card-action {
    height: 34px !important;
    font-size: 0.75rem !important;
    padding: 0 12px !important;
  }

  .btn-card-dismiss {
    top: 10px !important;
    right: 10px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
  }

  /* En estado desactivado en mobile */
  .doodle-panoramic-stage.disabled {
    min-height: 80px !important;
    margin: 10px auto 10px !important;
  }

  .doodle-panoramic-stage.disabled .logo-bubble {
    width: 220px !important;
    height: 85px !important;
    font-size: 3.2rem !important;
  }

  .mc-status-bars, .mc-xp-bar-wrap {
    width: 300px !important;
  }
  .mc-slot {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
  }
}
