
    :root{
      --bg-start: #010101;
      --bg-mid: #2c1752;
      --bg-end: #7a2755;

      --card-grad-a: rgba(255,255,255,0.2);
      --card-grad-b: rgba(79,0,145,0.8);

      --text-dark: #2d2d2d;
      --text-gray-800: #1f2937;

      --radius-lg: 16px;
      --radius-xl: 20px;

      --shadow-soft: 0 4px 4px rgba(0,0,0,0.1);
      --shadow-inset-soft: inset 0 2px 4px rgba(255,255,255,0.4);
      --shadow-btn: 0 0 4px rgba(0,0,0,0.3), inset 0 0 4px rgba(0,0,0,0.4);
    }

    /* Layout base */
    html, body {
      height: 100%;
    }
    body {
      margin: 0;
      /*font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";*/
      font-family: "Outfit", sans-serif;
      color: var(--text-dark);
      background: #000;
    }

    /* Contenedor raíz */
    .app {
      position: relative;
      min-height: 100dvh; /* soporta móviles modernos */
      min-height: 100dvh;  /* fallback */
      display: flex;
      overflow: hidden;
    }

    /* Capa de gradiente de fondo */
    .app__gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, var(--bg-start), var(--bg-mid), var(--bg-end));
      opacity: 1;
    }

    /* Contenido principal */
    .app__content {
      position: relative;
      z-index: 10;
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .main {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    /* Sección central */
    .section-center {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 16px;
      padding: 32px;
      max-width: 24rem; /* aprox. max-w-md */
      z-index: 10;
      opacity: 1;
    }

    .brand {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 0 auto;
    }

    .stack-center {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      flex-grow: 1;
    }

    /* Card con gradiente y sombra */
    .card {
      background: linear-gradient(135deg, var(--card-grad-a), var(--card-grad-b));
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-soft), var(--shadow-inset-soft);
      padding: 32px 16px;
      text-align: center;
      opacity: 1;
      margin: 10px;
      padding: 10px;
      width: 90%;
    }

    .card img {
      display: block;
      max-width:100%;
      height: auto;
      margin: 0 auto 12px;
    }

    .card__title {
      margin: 0;
      font-size: 1.25rem; /* ~ text-xl */
      line-height: 1.2;
      text-transform: uppercase;
      font-weight: 400;
      color: #fff;
    }

    /* Botón */
    .actions {
      padding-top: 16px;
      width: 100%;
      opacity: 1;
      transform: none;
      text-align: center;
    }

    .btn-primary {
      display: block;
      width: 91%;
      margin: 0 auto;
      padding: 10px 16px;
      background: #fff;
      color: var(--text-gray-800);
      text-transform: uppercase;
      font-weight: 600;
      border: 0;
      border-radius: 8px;
      box-shadow: var(--shadow-btn);
      cursor: pointer;
      transition: transform .15s ease, filter .15s ease;
      text-decoration: none;
    }

    .btn-primary:active {
      transform: scale(0.98);
    }

    .btn-primary:disabled {
      opacity: .4;
      cursor: not-allowed;
    }

    /* Imagen de fondo a pantalla completa */
    .bg-image-wrap {
      position: absolute;
      inset: 0;
      z-index: 0;
      opacity: 1;
    }

    .bg-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Utilidades de accesibilidad para notifications */
    .live-region {
      position: static;
    }
    .page-footer {
      position: absolute;        /* siempre abajo */
      bottom: -5px;
      left: 0;
      width: 80%;
      left: 10%;
      text-align: center; 
      text-align: center; 
      padding: 15px 0;
      color: #fff;
      font-size: 0.6rem; line-height: 1rem;
    }

    @media screen and (max-height: 665px) {
      .page-footer {
        position: relative;
        width: 95%;
        left: 0px;
      }
    }

    /* Pequeños ajustes responsivos */
    @media (min-width: 768px) {
      .section-center { padding: 32px; }
      .card { padding: 40px 20px; }
    }
 

    /* Animaciones de entrada */
@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Base */
.fade-seq {
  opacity: 0;
  animation: fade-up 600ms ease-out forwards;
}

/* Secuencia: logo → card → botón */
.logo-in { animation-delay: 0.1s; }
.card-in { animation-delay: 0.6s; }
.btn-in  { animation-delay: 1.1s; }

/* Asegura que se respeten las transiciones */
.brand, .card, .actions {
  will-change: opacity, transform;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  user-select: none;
}

.countdown__item {
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  min-width: 42px;
  padding: 10px 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(79,0,145,0.65));
  box-shadow: var(--shadow-soft), var(--shadow-inset-soft);
}

.countdown__num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 1px;
}

.countdown__label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

.countdown__sep {
  color: rgba(255,255,255,0.9);
  font-size: 1.6rem;
  font-weight: 700;
  transform: translateY(-2px);
}

.countdown__done {
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
}

