/* =========================
   BASE
========================= */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0c;
  color: #fff;
  overflow: hidden; /* sin scroll */
}

:root{
  --topbar-h: 65px; /* MISMO valor que .topbar height */
}

/* =========================
   TOPBAR (header)
========================= */
.topbar{
  height: var(--topbar-h); /* un poco más alto */
  width: 100%;
  background: linear-gradient(#0a0a0a, #050505);
  border-bottom: 1px solid rgba(255,255,255,0.04);

  display: flex;
  align-items: center;
  justify-content: space-between;

  /* más “largo” visualmente: más padding y ocupa todo */
  padding: 0 clamp(16px, 3vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img{
  height: 55px; /* más grande */
  width: auto;
  display: block;
  opacity: 0.95;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 90px; /* separación como tus imágenes */
}

.nav__link {
  position: relative;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 14px;
  padding: 10px 6px;
  transition: opacity 180ms ease;
}

.nav__link:hover { opacity: 1; }

.nav__link.is-active {
  font-weight: 800; /* “en negrita” */
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
}

/* Responsive: reduce separación del menú */
@media (max-width: 900px) {
  .nav { gap: 30px; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 14px; }
  .nav { gap: 18px; }
  .nav__link { font-size: 12px; }
}

/* =========================
   STAGE (área del video)
========================= */
.stage{
  height: calc(100vh - var(--topbar-h));
  width: 100%;
  position: relative;

  /* fondo con imagen */
  background: url("../img/img-fondo.jpg") center/cover no-repeat;

  /* capa oscura encima para que se vea como tu estilo */
}
.stage::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.72) 70%,
    rgba(0,0,0,0.85) 100%);
  pointer-events:none;
}

/* VIDEO */
.video-wrap{
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000; /* importante para letterbox si usamos contain */
  opacity: 1;
  transition: opacity 520ms ease;
}


.video{
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  object-fit: cover;        /* modo normal */
  object-position: center;
}

/* Cuando el viewport no “cuadra”, usamos contain para que NO recorte */
.video.is-contain{
  object-fit: contain;
}

/* Vignette / oscurecido (como tus capturas) */
.video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 72%, rgba(0,0,0,0.78) 100%);
}

/* END SCREEN */
.end-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 520ms ease;
}

.end-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.end-content {
  display: grid;
  place-items: center;
  gap: 20px;
  transform: translateY(0);
  animation: popIn 520ms ease both;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.event-logo{
  width: min(520px, 80vw); /* más grande */
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.55));
}

/* =========================
   BOTÓN “INGRESAR” (paralelogramo -> rectángulo)
========================= */
.btn-enter {
  position: relative;
  width: 260px;
  height: 46px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  user-select: none;
}

/* Fondo compuesto por “dos paralelogramos” */
.btn-enter__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(135,135,135,0.45) 0%,
      rgba(135,135,135,0.38) 55%,
      rgba(80,95,160,0.42) 55%,
      rgba(80,95,160,0.55) 100%
    );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  transform: skewX(-18deg);
  transition: transform 220ms ease, filter 220ms ease;
}

/* “Corte” central para simular dos piezas */
.btn-enter__bg::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 52%;
  width: 2px;
  background: rgba(255,255,255,0.10);
  transform: skewX(18deg); /* compensa el skew del padre */
}

.btn-enter__label {
  position: relative;
  z-index: 1;
  transform: translateY(0.5px);
  opacity: 0.9;
}

/* Hover: paralelogramo -> rectángulo */
.btn-enter:hover .btn-enter__bg {
  transform: skewX(0deg);
  filter: brightness(1.08);
}

.btn-enter:active .btn-enter__bg {
  filter: brightness(0.98);
}

/* =========================
   TRANSICIONES (fade video)
========================= */
.video-wrap.is-fading {
  opacity: 0;
  pointer-events: none;
}

@media (max-height: 700px){
  :root{ --topbar-h: 64px; }
  .brand img{ height: 30px; }
}

:root{
  --brand: rgba(231, 232, 238, 0.45); /* color hover (azul tipo tu paleta) */
}

/* Botón tipo “dos paralelogramos” */
.btn-skew{
  position: relative;
  display: inline-block;
  padding: 14px 56px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  z-index: 1;
  text-transform: uppercase;
}

/* Capas inclinadas */
.btn-skew::before,
.btn-skew::after{
  content: "";
  position: absolute;
  width: 60%;
  height: 100%;
  top: 0;
  transform: skewX(30deg);
  transition: all .35s ease;
  z-index: -1;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* Izquierda */
.btn-skew::before{
  background: rgba(231, 232, 238, 0.45);
  left: -12px;
  top: -6px;
}

/* Derecha */
.btn-skew::after{
  background: rgba(242, 203, 27, 0.485); /*  rgba(231, 232, 238, 0.45);  */
  right: -12px;
  top: 6px;
}

/* Hover: rectángulo */
.btn-skew:hover::before,
.btn-skew:hover::after{
  top: 0;
  transform: skewX(0deg);
  width: 100%;
}

.btn-skew:hover::before{
  left: 0;
  background: var(--brand);
}

.btn-skew:hover::after{
  right: 0;
  background: var(--brand);
}

.btn-skew:hover{
  color: #fff;
}



/*-----------------------------------------Login--------------------------------------------*/
/* ===== AUTH (login/registro) ===== */
.page-auth .topbar{ border-bottom: none !important; }

.bg-video{
  position: fixed;
  inset: var(--topbar-h) 0 0 0; /* debajo del header */
  z-index: -2;
}
.bg-video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9);
}
.bg-video__overlay{
  position:absolute; inset:0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
}


/* contenedor */
.auth-stage{
  height: calc(100vh - var(--topbar-h));
  display: grid;
  place-items: center;
  padding: 18px;
}

.auth-card{
  width: min(980px, 92vw);
  height: min(520px, calc(100vh - 140px));
  display: grid;
  grid-template-columns: 1.11fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

/* modo registro (una sola columna) */
.auth-card--single{
  grid-template-columns: 1fr;
  height: min(720px, calc(100vh - 140px));
  width: min(760px, 92vw);
}

.auth-left{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.auth-left::after{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,0.50);
}
.auth-event-logo{
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(600px, 80%);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.6));
}

.auth-right{
  background: #F4F4F5;
  color: #111;
  padding: clamp(22px, 3vw, 40px);
}
.auth-right--full{ width: 100%; }

.auth-title{
  margin: 0 0 18px 0;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.auth-title--center{ text-align: center; }

.auth-form{ display: grid; gap: 14px; }
.auth-form--wide{ gap: 16px; }

.field{
  display: grid;
  grid-template-columns: 28px 1fr 36px;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 8px 4px;
}
.field__icon{ opacity: 0.85; }
.field input{
  border: 0;
  outline: none;
  font-size: 16px;
  padding: 10px 8px;
  background: transparent;
}
.field__eye{
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
}

.auth-links{
  display: flex;
  justify-content: flex-end;
}
.link-btn{
  border: 0;
  background: transparent;
  color: rgba(0,0,0,0.55);
  cursor: pointer;
  font-style: italic;
}

.btn-solid{
  height: 44px;
  border-radius: 6px;
  border: 0;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.divider{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(0,0,0,0.45);
}
.divider::before, .divider::after{
  content:"";
  height: 1px;
  background: rgba(0,0,0,0.18);
}

.btn-google{
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #f3f3f3;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-weight: 600;
}
.g-icon{
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display:grid;
  place-items:center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  font-weight: 800;
}

.auth-footer{
  margin-top: 6px;
}
.link{
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  font-style: italic;
}
.link:hover{ text-decoration: underline; }

.msg{
  margin: 0;
  min-height: 18px;
  color: #b00020;
  font-size: 13px;
}

/* Inputs estilo “línea” como tu registro */
.input-line{
  width: 100%;
  border: 0;
  outline: none;
  border-bottom: 1px solid rgba(0,0,0,0.35);
  padding: 10px 6px;
  font-size: 16px;
  background: transparent;
}

.label-strong{
  font-weight: 800;
  font-style: italic;
  margin-top: 6px;
}

/* grids del registro */
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }

/* Responsive: en móvil apila */
@media (max-width: 860px){
  .auth-card{ grid-template-columns: 1fr; height: auto; }
  .auth-left{ min-height: 240px; }
  .grid-2{ grid-template-columns: 1fr; gap: 14px; }
  .grid-3{ grid-template-columns: 1fr; }
}

/* Iconos dentro de inputs */
.field__icon img{
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.9;
}

/* Icono ojo */
.field__eye img{
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.7;
}

/* Icono Google */
.g-icon-img{
  width: 22px;
  height: 22px;
  display: block;
}



/* =========================
   PredictCup Custom Select
   (Dropdown pro + 6 visibles)
========================= */
.pc-select{
  position: relative;
}

.pc-select__btn{
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-select__value{
  color: rgba(0,0,0,0.75);
}

/* Flecha */
.pc-select__chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,0.45);
  border-bottom: 2px solid rgba(0,0,0,0.45);
  transform: rotate(45deg);
  margin-left: 10px;
  opacity: 0.8;
}

/* Menú */
.pc-select__menu{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;

  background: rgba(255,255,255,1.94);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);

  padding: 6px;
  display: none;
}

/* abierto */
.pc-select.is-open .pc-select__menu{
  display: block;
}

/* máximo 6 opciones visibles */
.pc-select__menu{
  max-height: calc(44px * 6 + 12px); /* 6 filas */
  overflow: auto;
}

/* Opciones */
.pc-option{
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(0,0,0,0.85);
  user-select: none;
}

.pc-option:hover{
  background: rgba(0,0,0,0.06);
}

.pc-option.is-selected{
  background: rgba(0,0,0,0.10);
  font-weight: 700;
}

/* Scrollbar (Chrome/Edge) */
.pc-select__menu::-webkit-scrollbar{ width: 8px; }
.pc-select__menu::-webkit-scrollbar-track{ background: rgba(0,0,0,0.06); border-radius: 10px; }
.pc-select__menu::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.22); border-radius: 10px; }
.pc-select__menu::-webkit-scrollbar-thumb:hover{ background: rgba(0,0,0,0.30); }

/* placeholder (cuando no hay selección real) */
.pc-select.is-placeholder .pc-select__value{
  color: rgba(0,0,0,0.45);
}

/* Versión sin icono izquierdo (solo para registro) */
.field--no-icon{
  grid-template-columns: 1fr 30px;
}


/* =========================
   reset.html y restar.html
========================= */

/* Subtítulo en reset/restar */
.auth-subtitle{
  margin: 6px 0 18px 0;
  color: rgba(0,0,0,0.72);
  line-height: 1.25;
}

/* Modal negro tipo “alerta” */
.pc-modal{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 999;
}
.pc-modal.is-open{ display: grid; }

.pc-modal::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.25);
}

.pc-modal__box{
  position: relative;
  width: min(680px, 86vw);
  background: #070707;
  border-radius: 16px;
  padding: 34px 22px;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 26px 70px rgba(0,0,0,0.55);
  text-align: center;
}

.pc-modal__text{
  margin: 0 0 22px 0;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
}

.pc-modal__btn{
  height: 52px;
  width: min(360px, 72vw);
  border-radius: 4px;
  background: transparent;
  color: rgba(255,255,255,0.95);
  border: 2px solid rgba(255,255,255,0.85);
  cursor: pointer;
  font-size: 20px;
}
.pc-modal__btn:hover{
  background: rgba(255,255,255,0.06);
}

/* ===== Cards ultra compactas para reset/restar ===== */
.auth-card--compact{
  width: 620px;    
  max-width: 92vw;
  height: auto;
  padding: 10px 0;
  border-radius: 20px;
  background: #F4F4F5;
  overflow: hidden;
}

@media (max-width: 860px){
  .auth-card--compact{
    width: min(760px, 92vw);
    height: auto;
  }
}

/* Reduce un poco tamaños en restar/reset */
.auth-card--compact .auth-title{
  font-size: clamp(26px, 3vw, 42px);
  margin-bottom: 10px;
}

.auth-card--compact .btn-solid{
  height: 52px;
  font-size: 20px;
}

.auth-card--compact .auth-right{
  padding: 50px 60px;
}

.auth-card--compact .auth-title{
  font-size: 38px;
  margin-bottom: 14px;
}

.auth-card--compact .btn-solid{
  height: 50px;
  font-size: 18px;
}

@media (max-width: 600px){
  .auth-card--compact{
    width: 94vw;
  }

  .auth-card--compact .auth-right{
    padding: 30px 24px;
  }
}


/* =========================
   DASHBOARD
========================= */
.page-dashboard{
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: url("../img/img-fondo.jpg") center/cover no-repeat fixed;
}

/* Topbar igual pero con user */
.topbar--dash{
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-user{
  display:flex;
  align-items:center;
  gap: 14px;
}
.dash-user__meta{
  text-align: right;
  line-height: 1.05;
}
.dash-user__name{
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
}
.dash-user__points{
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  font-size: 12px;
  margin-top: 4px;
}
.dash-user__coin{
  opacity: 0.9;
}
.dash-user__shirt{
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Layout: sidebar + content */
.dash-layout{
  height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: 225px 1fr;   /* antes 240px */
  gap: 1px;
  background: rgba(255,255,255,0.01);
}

/* Sidebar */
.sidebar{
  background: rgba(0,0,0,0.83);
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction: column;
  padding: 18px 14px;
}
.sidebar__nav{
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}
.sidebar__bottom{
  margin-top: auto;
}

.side-link{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 13px;
  transition: background 180ms ease, transform 180ms ease;
}
.side-link img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.95;
}
.side-link:hover{
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.side-link.is-active{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Content scroll SOLO aquí */
.dash-content{
  overflow: auto;
  padding: 26px 26px 40px;
  background: rgba(0,0,0,0.10); /* capa para separar del fondo */
}
.dash-content::-webkit-scrollbar{ width: 10px; }
.dash-content::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
}

/* Cards grid */
.cards-grid{
  width: min(940px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

/* Card base */
.pc-card{
  border-radius: 14px;
  background: rgba(20,20,22,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  padding: 16px 18px;
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, filter 180ms ease;
}
.pc-card:hover{
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.pc-card--wide{ grid-column: 1 / span 3; min-height: 90px; }
.pc-card--big{
  grid-column: 1 / span 3;
  min-height: 380px;  
  padding-bottom: 30px;
}

.pc-card__head h3,
.pc-card__top h3{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}
.pc-card__head p{
  margin: 4px 0 0 0;
  font-size: 13px;
  opacity: 0.9;
}
.pc-card__top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 10px;
}

/* "Proximamente" */
.pc-tag{
  display: block;
  margin-top: 8px;
  margin-left: calc(-18px - 1px); 
  border-radius: 0;
  width: 180px;
  background: #F2E10B;
  color: #101010;
  padding: 8px 14px;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
}

/* predicciones */
.pc-card__body--split{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items:center;
}
.pc-card__icon{
  width: 90px;
  height: 90px;
  object-fit: contain;
  opacity: 0.95;
}

/* álbum */
.pc-card__body--album{
  display:grid;
  gap: 10px;
}
.pc-card__img{
  width: 100%;
  height: 120px;
  object-fit: contain;
  opacity: 0.95;
}

/* center cards */
.pc-card__body--center{
  display:grid;
  gap: 10px;
  place-items: center;
  text-align:left;
}
.pc-card__icon-big{
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Slider */
.slider{
  position: relative;
  height: 100%;
  display:grid;
  place-items:center;
  padding-bottom: 10px;
}
.slider-ui{
  width: 100%;
  height: 100%;
  display:grid;
  place-items:center;
  gap: 8px;
}
.slider-ui__title{
  color: rgba(255,60,60,0.95);
  font-weight: 900;
  font-size: 12px;
}
.slider-ui__img{
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0,0,0,0.55));
}
.slider-ui__text{
  font-size: 12px;
  opacity: 0.9;
}
.dots{
  display:flex;
  gap: 12px;
  margin-top: 14px;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}
.dot.is-active{
  background: rgba(255,255,255,0.9);
}

/* Donate */
.pc-card--donate{
  display:grid;
  grid-template-columns: 1fr 2px 1fr;
  align-items:center;
  min-height: 260px;
}
.donate{
  display:grid;
  gap: 18px;
  padding: 8px 10px;
}
.donate__text{
  font-size: 15px;
  opacity: 0.92;
  max-width: 420px;
}
.donate__paypal{
  display:flex;
  justify-content:center;
  align-items:center;
}
.donate__paypal img{
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.9;
}
.donate__divider{
  height: 70%;
  background: rgba(255,255,255,0.28);
  border-radius: 2px;
}
.donate__logo{
  display:grid;
  place-items:center;
}
.donate__logo img{
  width: min(420px, 92%);
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(0,0,0,0.55));
}

/* Responsive */
@media (max-width: 1100px){
  .cards-grid{ grid-template-columns: 1fr 1fr; }
  .pc-card--wide{ grid-column: 1 / span 2; }
  .pc-card--big{ grid-column: 1 / span 2; }
}
@media (max-width: 860px){
  .dash-layout{ grid-template-columns: 78px 1fr; }
  .side-link span{ display:none; }
  .sidebar{ padding: 18px 10px; }
  .cards-grid{ grid-template-columns: 1fr; }
  .pc-card--wide, .pc-card--big{ grid-column: 1 / span 1; }
}

.slider-ui__title,
.slider-ui__img,
.slider-ui__text{
  transition: opacity 0.35s ease;
}

.cards-2col{
  grid-column: 1 / -1;    
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 860px){
  .cards-2col{ grid-template-columns: 1fr; }
}


/* =========================
   MINIJUEGOS PAGE
========================= */

.page-minijuegos .dash-content{
  padding-top: 28px;
}

.minigames-list{
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.pc-card--disabled{
  cursor: default;
}

/* Tag "Jugar" (verde) */
.pc-tag--play{
  background: #6DFF3A;
  color: #101010;
}

.pc-card--mini{
  min-height: 340px; /* ligeramente menor que 360 */
}

/* Ajuste del contenido interno */
.slider--static{
  padding-top: 0;
}

.slider-ui{
  gap: 4px;   /* antes 8px */
}

/* Subimos el título */
.slider-ui__title{
  margin-top: -6px;
}

/* Subimos imagen */
.slider-ui__img{
  margin-top: -8px;
}

/* Texto más pegado pero visible */
.slider-ui__text{
  margin-top: 4px;
  padding: 0 20px;
}


/* =========================
   NOSOTROS (prueba.html) - FIX FINAL
========================= */

/* Fondo fijo + capa oscura fija (no se corta con scroll) */
.page-nosotros{
  overflow: hidden; /* no scroll visible en body */
}
.page-nosotros .stage{ position: relative; }
.page-nosotros .nos-volver,
.page-nosotros .nos-wrap{
  position: relative;
  z-index: 2;
}

.page-nosotros .stage{
  height: calc(100vh - var(--topbar-h));
  width: 100%;
  position: relative;
  background: url("../img/img-fondo.jpg") center/cover no-repeat;
}

.page-nosotros .stage--scroll{
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-nosotros .stage--scroll::-webkit-scrollbar{
  width: 0;
  height: 0;
}




/* Botón VOLVER */
.nos-volver{
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nos-volver__txt{
  position: relative;
  padding-bottom: 6px;
}
.nos-volver__txt::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background: rgba(255,255,255,0.45);
  border-radius: 2px;
}

/* Contenedor principal */
.nos-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 86px 20px 70px;
  text-align: center;
}

/* Logo grande */
.nos-logo{
  width: min(760px, 90%);
  height: auto;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
}

/* Textos */
.nos-h1, .nos-h2{
  margin: 18px 0 10px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}
.nos-h1{ font-size: clamp(34px, 4vw, 44px); }
.nos-h2{ font-size: clamp(34px, 4vw, 44px); margin-top: 26px; }

.nos-p{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
  font-weight: 600;
}

/* =========================
   CONTACTO (MISMO DISEÑO EN TODA LA PÁGINA)
========================= */
.nos-contact{
  max-width: 1180px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
  text-align: left;
}

/* Títulos contacto */
.nos-contact__title{
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  color: rgba(255,255,255,0.96);
}
.nos-contact__sub{
  margin-top: 6px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 0.6px;
}

/* Pastillas: ahora con look tipo pc-card (igual arriba) */
.nos-pill{
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;

  background: rgba(20,20,22,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);

  color: rgba(255,255,255,0.92);
}
.nos-pill--tall{ align-items: flex-start; }

.nos-pill__ico{
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.95;
}
.nos-pill__text{
  font-weight: 700;
  line-height: 1.2;
}

/* =========================
   REDES (HORIZONTAL SI O SI)
========================= */
.nos-follow__title{
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: rgba(255,255,255,0.96);
}

/* Pastilla de redes con el mismo look pc-card */
.nos-social{
  display: flex;
  flex-direction: row;     /* ✅ evita vertical */
  flex-wrap: nowrap;       /* ✅ evita saltos */
  align-items: center;
  justify-content: center;
  gap: 22px;

  padding: 18px 26px;
  border-radius: 999px;

  background: rgba(20,20,22,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);

  width: fit-content;
  margin: 0 auto;
}

.nos-social__btn{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: default;
  opacity: 0.95;
  flex: 0 0 auto;          /* ✅ no se estira */
}
.nos-social__btn img{
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 900px){
  .nos-contact{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nos-pill{
    justify-content: center;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }
  .nos-social{
    gap: 18px;
    padding: 16px 22px;
  }
  .nos-social__btn img{
    width: 40px;
    height: 40px;
  }
}

.page-nosotros{ overflow: hidden; }

.page-nosotros .stage--scroll{
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-nosotros .stage--scroll::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* Columna derecha: título + pill alineados entre sí */
.nos-contact__right{
  display: flex;
  flex-direction: column;
  align-items: center;   /* ✅ título alineado con la pill */
  justify-content: center;
  gap: 16px;
}

/* El título centrado (como la imagen) */
.nos-follow__title{
  text-align: center;
  margin: 0;
}

/* La pill NO debe auto-moverse distinta del título */
.nos-social{
  margin: 0;             /* ✅ quita el auto que te lo desalineaba */
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

/* =========================
   NOSOTROS (prueba.html) - FIX TONALIDAD ÚNICA
   (fondo + overlay en el body)
========================= */

/* 1) Fondo fijo en TODA la página */
body.page-nosotros{
  background: url("../img/img-fondo.jpg") center/cover no-repeat fixed !important;
}

/* 2) Overlay fijo en TODA la página (debajo del topbar) */
body.page-nosotros::before{
  content:"";
  position: fixed;
  inset: var(--topbar-h) 0 0 0;      /* debajo del header */
  background: radial-gradient(circle at center,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.72) 70%,
    rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 0;
}

/* 3) Apaga el overlay del .stage SOLO en Nosotros para evitar doble capa */
body.page-nosotros .stage{
  background: transparent !important;
}
body.page-nosotros .stage::before{
  display: none !important;
}

/* 4) El contenido va encima del overlay */
body.page-nosotros .stage--scroll{
  position: relative;
  z-index: 1;
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.page-nosotros .stage--scroll::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* =========================
   REGISTRO (registrarse.html) - FIX corte en pantallas pequeñas
========================= */

/* Permite que el card no corte el contenido */
.page-auth .auth-card--single{
  height: auto !important;                  /* quita el alto fijo heredado */
  max-height: calc(100vh - 140px);          /* nunca se sale del viewport */
  overflow: hidden;                         /* el scroll va por dentro */
}

/* El contenido interno scrollea (sin barra visible) */
.page-auth .auth-card--single .auth-right{
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: none;                    /* Firefox */
  -ms-overflow-style: none;                 /* Edge viejo */
}
.page-auth .auth-card--single .auth-right::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* Un poquito de aire abajo para que el botón nunca quede pegado/cortado */
.page-auth .auth-card--single .auth-form{
  padding-bottom: 16px;
}