/* ================== RESET ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================== BODY ================== */
body {
  background: radial-gradient(circle at top, #120000 0%, #050000 45%, #000 100%);
  color: #eaeaea;
}
/* ================== NAV PRO APP ================== */
nav {
  position: sticky;
  top: 0;
  z-index: 300;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 24px;
  height: 64px; /* suficiente para logo */
  background: linear-gradient(to bottom, rgba(10,0,0,.92), rgba(0,0,0,.88));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 -1px 0 rgba(255,216,77,.25),
    0 10px 30px rgba(0,0,0,.9),
    0 0 60px rgba(60,255,106,.18);
  position: relative;
}

/* ================== LOGO ================== */
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 80px; /* más visible en desktop */
  width: auto;
  object-fit: contain;

  border-radius: 50%; /* hace el logo redondo */
  border: 4px solid rgba(255, 180, 50, 0.7); /* dorado medio oscuro */
  box-shadow: 0 0 12px rgba(255, 180, 50, 0.5); /* glow sutil */
  padding: 4px; /* opcional: separa el borde del logo */
  background: #120000; /* opcional: fondo para que el borde destaque */
}







.login-title {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre texto y logo */
  font-size: 22px;
  font-weight: 700;
  color: #ffd84d;
  text-shadow: 0 2px 8px rgba(255,216,77,.4);
}

.login-title .title-logo img {
  height: 66px; /* tamaño del logo dentro del título */
  width: auto;
  object-fit: contain;

  border-radius: 50%; /* logo redondo */
  border: 3px solid rgba(255, 180, 50, 0.7); /* borde dorado medio oscuro */
  box-shadow: 0 0 10px rgba(255, 180, 50, 0.5); /* glow sutil */
  background: #120000; /* opcional: fondo si el logo tiene transparencia */
  display: inline-block;
}











/* ================== LINKS ================== */
nav .nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav .nav-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  color: #ffd84d;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all .25s ease;
}
nav .nav-links a:hover {
  background: rgba(255,216,77,.08);
  box-shadow:
    0 0 12px rgba(255,216,77,.25),
    inset 0 0 0 1px rgba(255,216,77,.25);
}

/* ================== GLOW INFERIOR ================== */
nav::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3cff6a, transparent);
  box-shadow: 0 0 20px rgba(60,255,106,.8);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
  }

 /* ================== LOGO ================== */
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 80px; /* más visible en desktop */
  width: auto;
  object-fit: contain;

  border-radius: 50%; /* hace el logo redondo */
  border: 4px solid rgba(255, 180, 50, 0.7); /* dorado medio oscuro */
  box-shadow: 0 0 12px rgba(255, 180, 50, 0.5); /* glow sutil */
  padding: 4px; /* opcional: separa el borde del logo */
  background: #120000; /* opcional: fondo para que el borde destaque */
}


  nav .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav::after {
    left: 16%;
    right: 16%;
  }
}

/* ================== HERO ================== */
.hero {
  min-height: 40vh;
  padding: 24px 16px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.95)),
    url("https://images.unsplash.com/photo-1706129867447-b4f156c46641") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 22px;
  color: #ffd84d;
  text-shadow:
    0 0 14px rgba(255,216,77,.4),
    0 0 30px rgba(60,255,106,.25);
}

/* ================== MAIN ================== */
#login-register-recover {
  padding: 20px 12px;
}

.main-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ================== FORM PANEL ================== */
.form-container {
  background: #050000;
  padding: 18px 14px;
  border-radius: 16px;
  position: relative;
  max-width: 360px;
  margin: 12px auto 22px;

  box-shadow:
    inset 0 0 0 1px rgba(255,216,77,.12),
    0 25px 60px rgba(0,0,0,.9),
    0 0 80px rgba(60,255,106,.25);
}

/* barra neon */
.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3cff6a, transparent);
  box-shadow: 0 0 18px rgba(60,255,106,.9);
}

/* ================== FORMS ================== */
.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form label {
  font-size: 10px;
  color: rgba(255,216,77,.7);
}

form input {
  background: #000;
  border: none;
  padding: 12px 10px;
  border-radius: 6px;
  color: #ffd84d;
  font-size: 13px;

  box-shadow:
    inset 0 -1px 0 rgba(255,216,77,.3);
}

form input:focus {
  outline: none;
  box-shadow:
    inset 0 -2px 0 #3cff6a,
    0 0 16px rgba(60,255,106,.6);
}

form button {
  margin-top: 8px;
  padding: 13px;
  border-radius: 8px;
  border: none;
  font-weight: 900;
  background: linear-gradient(135deg, #3cff6a, #ffd84d);
  color: #000;
  cursor: pointer;

  box-shadow:
    0 0 24px rgba(60,255,106,.6);
}

/* ================== SWITCH ================== */
.form-switch {
  margin-top: 14px;
  text-align: center;
}

.form-switch button {
  background: none;
  border: none;
  font-size: 12px;
  color: #3cff6a;
  cursor: pointer;
}

/* ================== INFO / ABOUT ================== */
.info-section,
.about-section {
  max-width: 360px;
  margin: 22px auto;
  padding: 18px;
  border-radius: 16px;
  background: #050000;

  box-shadow:
    inset 0 0 0 1px rgba(255,216,77,.1),
    0 20px 60px rgba(0,0,0,.85),
    0 0 70px rgba(60,255,106,.2);
}

/* ================== DESKTOP ================== */
@media (min-width: 769px) {

  .main-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
  }

  .hero {
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 34px;
  }
    .form-container::after,
  .info-section::after,
  .about-section::after,
  footer::after {
    inset: -18px;
    filter: blur(22px);
}
}
/* ================== ZEUS PREMIUM BORDERS ================== */

/* marco dorado fino */
.form-container,
.info-section,
.about-section {
  border: 1px solid rgba(255,216,77,.22);
  box-shadow:
    inset 0 0 0 1px rgba(255,216,77,.12),
    0 25px 60px rgba(0,0,0,.9),
    0 0 90px rgba(60,255,106,.25); /* halo verde largo */
}

/* barra superior dorada */
.form-container::before,
.info-section::before,
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffd84d,
    transparent
  );
  box-shadow:
    0 0 14px rgba(255,216,77,.9),
    0 0 40px rgba(60,255,106,.35);
}

/* ================== GREEN AMBIENT DEPTH ================== */

/* sombra verde ambiental profunda */
.form-container::after,
.info-section::after,
.about-section::after {
  content: "";
  position: absolute;
  inset: -26px;
  background: radial-gradient(
    circle at top,
    rgba(60,255,106,.22),
    transparent 72%
  );
  z-index: -1;
  filter: blur(34px);
}

/* ================== INPUT PREMIUM FEEL ================== */
form input {
  box-shadow:
    inset 0 -1px 0 rgba(255,216,77,.35),
    0 0 0 rgba(60,255,106,0);
}

form input:focus {
  box-shadow:
    inset 0 -2px 0 #3cff6a,
    0 0 22px rgba(60,255,106,.75);
}

/* ================== BUTTON GLOW CONTROL ================== */
form button:hover {
  box-shadow:
    0 0 34px rgba(60,255,106,.75),
    inset 0 -2px 0 rgba(0,0,0,.4);
}




/* ================== FOOTER PRO APP ================== */
footer {
  position: relative;
  margin-top: 32px;
  padding: 18px 14px;

  text-align: center;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.95),
    rgba(8,0,0,.9)
  );

  color: rgba(255,216,77,.75);
  font-size: 11px;
  letter-spacing: .5px;

  backdrop-filter: blur(14px);

  box-shadow:
    inset 0 1px 0 rgba(255,216,77,.2),
    0 -10px 30px rgba(0,0,0,.85),
    0 0 50px rgba(60,255,106,.15);
}

/* línea glow superior */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #ffd84d,
    transparent
  );

  box-shadow:
    0 0 14px rgba(255,216,77,.9),
    0 0 40px rgba(60,255,106,.35);
}

/* glow ambiental */
footer::after {
  content: "";
  position: absolute;
  inset: -24px;
  background: radial-gradient(
    circle at bottom,
    rgba(60,255,106,.18),
    transparent 70%
  );
  filter: blur(28px);
  z-index: -1;
}

/* texto */
footer p {
  margin: 0;
  line-height: 1.4;
}


.form-container,
.info-section,
.about-section,
footer {
  overflow: hidden;
}




/* ================== HERO PREMIUM COPY ================== */

.hero .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* TITULO */
.hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #ffd84d;

  text-shadow:
    0 2px 18px rgba(255,216,77,.35),
    0 0 60px rgba(60,255,106,.15);
}

/* TEXTO PRINCIPAL */
.hero .promo-text {
  font-size: clamp(14px, 2.4vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 720px;
  margin: 0 auto;
}

/* SUBTEXTO */
.hero .promo-subtext {
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  max-width: 680px;
  margin: 0 auto;
}

/* LINEA PREMIUM SUTIL */
.hero .promo-subtext::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 14px auto 10px;
  background: linear-gradient(
    90deg,
    transparent,
    #3cff6a,
    transparent
  );
  box-shadow: 0 0 16px rgba(60,255,106,.8);
}

/* ================== MOBILE CONTROL ================== */
@media (max-width: 768px) {
  .hero {
    min-height: 34vh;
  }

  .hero .container {
    gap: 10px;
  }

  .hero h1 {
    text-align: center;
  }
}



/* Grid de juegos ajustado */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 150px));
  gap: 12px;
  justify-content: center; /* centra los juegos si hay espacio extra */
  margin-top: 16px;
}

/* Cada tarjeta */
.game-card {
  background: #050000;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255,216,77,.22);
  box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 40px rgba(60,255,106,.15);
  transition: all 0.25s ease;
  width: 100%;
  aspect-ratio: 1 / 1; /* mantiene cuadrado fijo */
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,.7), 0 0 60px rgba(60,255,106,.3);
}

/* Modal (sin cambios) */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0,0,0,.75);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #050000;
  padding: 24px 20px;
  border-radius: 14px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(255,216,77,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.8), 0 0 60px rgba(60,255,106,.2);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #ffd84d;
  font-weight: bold;
}

.modal-content button {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  background: linear-gradient(135deg, #3cff6a, #ffd84d);
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(60,255,106,.6);
}

.modal-content button:hover {
  box-shadow: 0 0 34px rgba(60,255,106,.75), inset 0 -2px 0 rgba(0,0,0,.4);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
  }

  .game-card {
    aspect-ratio: 1 / 1; /* sigue cuadrado en móvil */
  }
}




/* Contenedor de mensajes flotante */
.msg {
  position: fixed;

  /* CENTRADO REAL */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);

  padding: 14px 26px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 20px;
  text-align: center;

  z-index: 9999;
  opacity: 0;
  pointer-events: none;

  text-shadow: 0 0 8px #000;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);

  transition: all 0.35s ease;
  max-width: 90%;
}

/* Éxito - verde neón */
.msg.success {
  background-color: #00ff88b3;
  color: #fff;
  text-shadow:
    0 0 5px #00ff88,
    0 0 10px #00ff88,
    0 0 15px #00ff88;
  box-shadow:
    0 0 10px #00ff88,
    0 0 20px #00ff88,
    0 0 30px #00ff88;
}

/* Error - rojo neón */
.msg.error {
  background-color: #ff3b3bb6;
  color: #fff;
  text-shadow:
    0 0 5px #ff3b3b,
    0 0 10px #ff1a1a,
    0 0 15px #ff0000;
  box-shadow:
    0 0 10px #ff3b3b,
    0 0 20px #ff1a1a,
    0 0 30px #ff0000;
}

/* Información - azul neón */
.msg.info {
  background-color: #1e8fffbb;
  color: #fff;
  text-shadow:
    0 0 5px #1e90ff,
    0 0 10px #1e90ff,
    0 0 15px #0099ff;
  box-shadow:
    0 0 10px #1e90ff,
    0 0 20px #0099ff,
    0 0 30px #0099ff;
}

/* Fade in/out */
.msg.show {
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}


.promo-card {
  width: 300px;              /* ancho fijo */
  border: 2px solid #222;    /* borde visible */
  border-radius: 8px;
  overflow: hidden;
  background-color: #111;    /* fondo oscuro */
  color: #fff;
  margin-left: 20px;         /* separación desde el demo slot */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.promo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-card .promo-text {
  padding: 10px;
  text-align: center;
}

.promo-card .promo-text h4 {
  margin: 5px 0;
  font-size: 18px;
  color: #ffcc00;
}

.promo-card .promo-text p {
  font-size: 14px;
  color: #ccc;
}
