 .big{
      font-size: 2rem;
 }

/* 2. Tablets y Laptops pequeñas (desde 768px) */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

/* 3. Laptops y PCs de escritorio (desde 1024px) */
@media (min-width: 1024px) {
  .contenedor {
    max-width: 960px;
  }
}

/* 4. Pantallas Grandes / Monitores PC (desde 1200px) */
@media (min-width: 1200px) {
  .contenedor {
    max-width: 1140px;
  }
}

@media (max-width: 480px) {

      .score-board { 
        top: 230px!important; 
      }

      .monster-side2{
        /*display: none;*/
      } 
      .monster-side{
       /* display: none;*/
      } 
      #parallax-header {
       height: 11vh !important;   /* Reduce la altura en móviles */
       position: relative;  
       overflow: hidden;
       justify-content: center;
       align-items: center;
       background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
      }

}


    :root {
      --st-red: #E20613;
      --st-black: #0a0a0a;
      --st-purple-ud: rgba(48, 0, 107, 0.6);
      --neon-shadow: 0 0 10px var(--st-red), 0 0 20px var(--st-red);
    }

    body {
      background-color: var(--st-black);
      color: #e0e0e0;
      font-family: 'Special Elite', cursive;
      overflow-x: hidden;
      transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      transform-origin: center center;
    }

    /* --- MENÚ MÓVIL (WhatsApp Style) --- */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: #111;
      border-top: 2px solid var(--st-red);
      z-index: 5000;
      padding: 10px 0;
      justify-content: space-around;
    }
    .mobile-nav a {
      color: #888;
      text-decoration: none;
      font-size: 0.75rem;
      text-align: center;
      transition: 0.3s;
    }
    .mobile-nav a i {
      font-size: 1.5rem;
      display: block;
    }
    .mobile-nav a.active,
    .mobile-nav a:hover {
      color: var(--st-red);
    }

    @media (max-width: 768px)
     {
      .navbar { display: none !important; }
      .mobile-nav { display: flex; }
      body { padding-bottom: 80px; }


       .layer-title-box {
    z-index: 3;
    z-index: 99999;
    text-align: center;
    top: 49px;
}
    }

    /* --- PARALLAX (TU DISEÑO) --- */
    #parallax-header {
      position: relative;
      height: 30vh;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    }
    .parallax-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 110%;
      height: 110%;
      background-size: cover;
      background-position: center bottom;
      pointer-events: none;
    }

    .layer-1 { z-index: 1; background-image: url('../img/elemento1.webp'); opacity: 0.3; }
    .layer-2 { z-index: 2; background-image: url('../img/fondo.webp'); filter: brightness(0.2); }
     .layer-title-box {
    z-index: 3;
    z-index: 99999;
    text-align: center;
    top: 50px;
}

    .main-title {
      font-size: clamp(3rem, 10vw, 8rem);
      font-family: 'Bangers';
      color: transparent;
       -webkit-text-stroke: 2px #ffffff;
      text-shadow: var(--neon-shadow);
      animation: flicker 3s infinite alternate;
    }
    @keyframes flicker {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }
    .layer-4 { z-index: 4; background-image: url('../img/elemento1.png'); opacity: 0.4; }
    .layer-5 { z-index: 5; background-image: url('../img/elemento2.png'); }

    /* --- MONSTRUOS --- */
    .monster-side {
      position: fixed;
      width: 300px;
      height: 500px;
      z-index: 100;
      pointer-events: none;
      transition: 0.8s;
      opacity: 0;
    }
    .monster-side2 {
      position: fixed;
      width: 590px;
      height: 500px;
      z-index: 100;
      pointer-events: none;
      transition: 0.8s;
      opacity: 0;
    }
    .monster-left { left: -300px; top: 20%; }
    .monster-right { right: -300px; top: 40%; }
    .monster-visible { opacity: 0.6; }
    .monster-left.monster-visible { left: -60px; }
    .monster-right.monster-visible { right: -60px; }

    /* --- TRIVIA WIZARD (DISEÑO MEJORADO) --- */
    .wizard-box {
      background: rgba(15, 15, 15, 0.98);
      border: 3px solid var(--st-red);
      border-radius: 20px;
      padding: 40px;
      box-shadow: var(--neon-shadow);
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      z-index: 10000;
      transition: transform 1.2s;
    }
    .step { display: none; }
    .step.active { display: block; animation: fadeIn 0.5s; }

    .btn-trivia {
      width: 100%;
      text-align: left;
      margin-bottom: 12px;
      padding: 15px;
      background: rgba(255,255,255,0.05);
      color: white;
      border: 1px solid #444;
      border-radius: 10px;
      transition: 0.3s;
    }
    .btn-trivia:hover {
      border-color: var(--st-red);
      background: rgba(226, 6, 19, 0.15);
      transform: scale(1.02);
    }
    .correct { background: #198754 !important; border-color: #fff !important; }
    .wrong { background: var(--st-red) !important; border-color: #fff !important; }

    /* --- SISTEMA MUNDO DEL REVÉS --- */
    #portal-circle {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      width: 150vmax;
      height: 150vmax;
      border-radius: 50%;
      background: var(--st-red);
      z-index: 9998;
      pointer-events: none;
      transition: transform 1s ease-in;
    }
    #ud-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--st-purple-ud);
      z-index: 9000;
      pointer-events: none;
      display: none;
      mix-blend-mode: color-burn;
    }
    #busas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9001;
      pointer-events: none;
      display: none;
    }
    .busa {
      position: absolute;
      background: rgba(255,255,255,0.3);
      border-radius: 50%;
      animation: float 12s linear infinite;
    }
    @keyframes float {
      from { transform: translateY(110vh) rotate(0deg); }
      to { transform: translateY(-10vh) rotate(360deg); }
    }

    body.flipped { transform: rotate(180deg); }




    body.flipped .wizard-box,
    body.flipped .score-board,
    body.flipped .mobile-nav { transform: rotate(180deg); margin-bottom: -482px; }

    #exit-btn {
      position: fixed;
      bottom: 85px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 9999;
      display: none;
      width: 50px;
      height: 50px;
      background: #000;
      color: var(--st-red);
      border: 2px solid var(--st-red);
      border-radius: 50%;
      font-size: 1.5rem;
      line-height: 45px;
      text-align: center;
      cursor: pointer;
      box-shadow: var(--neon-shadow);
    }

    .fondo2{
      background: radial-gradient(ellipse at bottom, #e20613 0%, #090A0F 100%);
    }

    .score-board { 
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--st-red);
    padding: 5px 10px;
    margin: 15px;
    border-radius: 30px;
    font-family: 'Bangers';
    font-size: 1.5rem;
    transition: 1.2s;
}


    }

    .shake { animation: shakeEffect 0.1s infinite; }
    @keyframes shakeEffect {
      0% { transform: translate(3px, 3px); }
      50% { transform: translate(-3px, -3px); }
      100% { transform: translate(3px, 3px); }
    }

    .btn-share {
      background: #1da1f2;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      font-family: 'Bangers';
      font-size: 1.2rem;
    }

    /* =============================
       PERSONAJES (FUNCIONAL)
       Prefijo: stp-
       ============================= */
    .stp-char-scene {
      perspective: 1000px;
      height: 500px;
      margin-bottom: 20px;
    }

    .stp-char-card {
      width: 100%;
      height: 100%;
      position: relative;
      transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      transform-style: preserve-3d;
      cursor: pointer;
    }

    .stp-char-card.is-flipped { transform: rotateY(180deg); }

    .stp-card-face {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      border-radius: 12px;
      border: 2px solid #333;
      overflow: hidden;
      background: linear-gradient(160deg, #1a1a1a 60%, #2a0202 100%);
    }

    .stp-card-front { z-index: 2; }

    .stp-card-back {
      transform: rotateY(180deg);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 30px;
      text-align: center;
      background: linear-gradient(160deg, #0a0a0a 0%, #4e0000 100%);
      border: 2px solid var(--st-red);
    }

    .stp-char-img-top {
      height: 250px;
      width: 100%;
      object-fit: cover;
      border-bottom: 3px solid var(--st-red);
    }

    .stp-faction-icon {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 1.5rem;
      background: rgba(0,0,0,0.8);
      border-radius: 50%;
      padding: 5px;
      z-index: 5;
    }

    .stp-back-desc {
      font-size: 1.2rem;
      line-height: 1.6;
      color: #fff;
      margin-bottom: 20px;
    }

    .stp-stats-label {
      font-size: 0.75rem;
      color: #aaa;
    }

    .stp-back-title {
      color: var(--st-red);
      font-family: 'Bangers', cursive;
      text-shadow: var(--neon-shadow);
    }

    /* ===== Slider personajes ===== */
 

#stpCarousel {
    position: relative;
    z-index: 999;
}



#stpCarousel .carousel-inner { padding: 0 3rem; } /* espacio para flechas */
@media (max-width: 768px) {
  #stpCarousel .carousel-inner { padding: 0 1.75rem; }
}

.stp-slide-row {
  display: grid;
  gap: 1rem;
}

/* 4 cards */
@media (min-width: 992px) {
  .stp-slide-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* 2 cards */
@media (min-width: 576px) and (max-width: 991.98px) {
  .stp-slide-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 1 card */
@media (max-width: 575.98px) {
  .stp-slide-row { grid-template-columns: 1fr; }
}

/* Ajusta altura de la card para que no “salte” el carrusel */
.stp-char-scene { height: 500px; }

#stpCarousel .carousel-control-prev,
#stpCarousel .carousel-control-next {
  width: 3rem;
  opacity: 0.9;
}
#stpCarousel .carousel-control-prev:hover,
#stpCarousel .carousel-control-next:hover {
  opacity: 1;
}

/* Indicadores más visibles con tu estética */
#stpCarousel .carousel-indicators { margin-bottom: -2rem; }
#stpCarousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
}

.puntaje2 {
    display: flex;
    justify-content: center;
    align-items: center;
}
 