/* =========================================
   Tipografía y Reset
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Rubik', sans-serif; scroll-behavior: smooth; }
body { background: #0a022d; }
section { position: relative; padding: 80px; }

/* =========================================
   Header / Sticky (solo desktop/tablet)
========================================= */
.inicio { width: 100%; min-height: 100svh; display: flex; justify-content: center; align-items: center; }
.inicio header {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 10px 80px; display: flex; justify-content: center; align-items: center;
  z-index: 10000; transition: 0.3s;
}
.inicio header.active { background: rgba(43, 11, 89, 0.9); box-shadow: 0 5px 20px rgba(0,0,0,0.25); backdrop-filter: blur(6px); }
.inicio header .nav.centered { display: flex; list-style: none; gap: 6px; }
.inicio header .nav.centered li a {
  color: #94d3f9; font-size: 1.05em; font-weight: 600; text-decoration: none;
  padding: 12px 16px; border-radius: 10px; transition: .3s;
}
.inicio header.active .nav.centered li a { color: #fff; }
.inicio header .nav.centered li a:hover { color: #fff; background: rgba(148,211,249,.12); }

/* =========================================
   Hero
========================================= */
.inicio .contenido {
  width: 100%; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 36px; align-items: center; padding-top: 40px;
}
.inicio .contenido .titulo { max-width: 720px; }
.inicio .contenido .titulo h2 { color: #94d3f9; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.1; }
.inicio .contenido .titulo h2 span { color: #f437d6; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.inicio .contenido .titulo p { margin-top: 16px; color: #94d3f9; font-size: 1.15em; font-weight: 500; margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 20px;
  text-transform: uppercase; text-decoration: none; background: #f437d6; color: #fff;
  border-radius: 15px; font-size: .9em; letter-spacing: 1px; transition: .3s; }
.btn:hover { background: #1762da; }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(80px,1fr)); gap: 12px; margin-bottom: 18px; }
.cd-box { background: rgba(43,11,89,.55); border: 1px solid rgba(148,211,249,.25); border-radius: 12px; padding: 10px 12px; text-align: center; color: #94d3f9; }
.cd-box span { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; }
.cd-box small { font-size: .8rem; opacity: .9; }

/* Imagen hero */
.imgBox { display: flex; justify-content: center; align-items: center; }
.imgBox img {
  width: clamp(280px);
  height: auto;
  max-width: 100% !important;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

/* Fondo fireworks */
.background { position: absolute; inset: 0; background: #0a022d; overflow: hidden; z-index: -1; }
.background::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 300px; background: linear-gradient(to top,#0a022d,transparent); }
footer .background::before { top: 0; bottom: auto; background: linear-gradient(to bottom,#0a022d,transparent); }
.background canvas.fireworks { width: 100%; height: 100%; display: block; }

/* =========================================
   ¿Qué es?
========================================= */
.que-es .titulo h2 { color: #94d3f9; font-size: 2.4em; margin-bottom: 18px; }
.que-es .titulo h2 span { color: #f437d6; }
.contenido--col { display: grid; gap: 16px; max-width: 960px; }
.que-es p { color: #fff; line-height: 1.6; }
.bullets { color: #94d3f9; margin-left: 18px; display: grid; gap: 8px; }
.bullets li { list-style: "✦ "; padding-left: 6px; }

/* =========================================
   Experiencia
========================================= */
.mercados .titulo { color: #94d3f9; font-size: 2.2em; margin-bottom: 36px; }
.mercados .titulo span { color: #f437d6; }
.mercados .cards { display: grid; grid-template-columns: repeat(4, minmax(180px,1fr)); gap: 18px; }
.mercados .cards .card {
  background: #2b0b59; border-radius: 15px; min-height: 220px; padding: 22px 20px;
  color: #fff; display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1.5; transition: .3s; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.mercados .cards .card:hover { background: #f437d6; transform: translateY(-4px) scale(1.03); }
.mercados .cards .card ion-icon { font-size: 2.1em; margin-bottom: 10px; color: #94d3f9; }
.btn-link { display: inline-flex; align-items: center; gap: 6px; color: #94d3f9; text-decoration: none; font-weight: 600; border-bottom: 1px dashed rgba(148,211,249,.4); }
.btn-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }

/* =========================================
   Hotel
========================================= */
.trading .contenido { display: flex; justify-content: space-evenly; align-items: center; gap: 24px; }
.trading .contenido img { width: 460px; max-width: 46vw; }
.trading .contenido .texto { width: 520px; max-width: 52vw; }
.trading .contenido .texto .titulo h2 { color: #94d3f9; font-size: 2.6em; margin-bottom: 20px; }
.trading .contenido .texto .titulo h2 span { color: #f437d6; }
.trading .contenido .texto p { color: #94d3f9; font-size: 1.15em; line-height: 1.6; margin-bottom: 20px; }
.trading .contenido .texto p span { color: #1762da; }

/* =========================================
   Patrocinadores
========================================= */
.patrocinadores { padding-block: 40px; }
.sponsor-bar { overflow: hidden; border-block: 1px solid rgba(148,211,249,.25); background: rgba(43,11,89,.35); }
.sponsor-track { display: flex; align-items: center; gap: 64px; width: max-content; padding: 16px 0; animation: sponsorMove 30s linear infinite; }
.sponsor-track img { height: 200px; width: auto; opacity: .95; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: .2s; }
.sponsor-track img:hover { opacity: 1; transform: scale(1.05); }
@keyframes sponsorMove { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* =========================================
   Soporte
========================================= */
.soporte .titulo h2 { color: #94d3f9; font-size: 2.2em; text-align: center; margin-bottom: 28px; }
.soporte .titulo h2 span { color: #f437d6; }
.cards--support { display: grid; grid-template-columns: repeat(3, minmax(220px,1fr)); gap: 18px; }
.cards--support .card {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px;
  background: rgba(43,11,89,.55); border: 1px solid rgba(148,211,249,.25);
  border-radius: 14px; padding: 16px 18px; color: #fff; align-items: center;
}
.cards--support .card__icon { font-size: 2.2rem; color: #94d3f9; align-self: start; }
.cards--support .texto h3 { margin-bottom: 6px; color: #94d3f9; }
.cards--support .texto p { margin-bottom: 8px; color: #fff; line-height: 1.55; }
.cards--support .btn-link { display: inline-flex; align-items: center; gap: 6px; color: #94d3f9; text-decoration: none; font-weight: 600; border-bottom: 1px dashed rgba(148,211,249,.4); }
.cards--support .btn-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }

/* Tablet → 2 columnas */
@media (max-width: 1024px){
  .cards--support { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
}
/* Móvil → 1 columna + icono arriba */
@media (max-width: 680px){
  .cards--support { grid-template-columns: 1fr; gap: 12px; }
  .cards--support .card {
    grid-template-columns: 1fr; grid-template-rows: auto auto;
    align-items: start; padding: 14px;
  }
  .cards--support .card__icon { font-size: 2rem; margin-bottom: 6px; }
  .cards--support .texto h3 { margin-bottom: 6px; line-height: 1.25; }
  .cards--support .texto p { margin-bottom: 8px; line-height: 1.55; overflow-wrap:anywhere; }
}

/* =========================================
   FAQ
========================================= */
.faq .titulo h2 { color: #94d3f9; font-size: 2.2em; margin-bottom: 22px; }
.faq .titulo h2 span { color: #f437d6; }
.faq-list { max-width: 960px; display: grid; gap: 10px; }
.faq-list details {
  background: rgba(43,11,89,.45); border: 1px solid rgba(148,211,249,.25);
  border-radius: 12px; padding: 14px 16px; color: #fff;
}
.faq-list summary { cursor: pointer; font-weight: 700; color: #94d3f9; }

/* =========================================
   Modal de Video
========================================= */
.modal { position: fixed; inset: 0; background: rgba(10,2,45,.85); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 100000; }
.modal.show { display: flex; }
.modal__dialog { position: relative; width: min(900px,92vw); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: linear-gradient(180deg,#2b0b59 0%,#0a022d 100%); padding: 12px; border: 1px solid rgba(148,211,249,.25); }
.modal__frame { width: 100%; aspect-ratio: 16/9; background: #0a022d; border-radius: 12px; overflow: hidden; }
.modal__frame iframe { width: 100%; height: 100%; display: block; }
.modal__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 999px; border: none; cursor: pointer; font-size: 24px; color: #fff;
  background: radial-gradient(70% 70% at 30% 30%,#f437d6 0%,#1762da 100%); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .15s; }
.modal__close:hover { transform: scale(1.06); }
body.modal-open { overflow: hidden; }

/* =========================================
   Footer
========================================= */
footer { display: flex; flex-direction: column; padding: 80px 80px 100px; }
footer .col { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
footer .col .enlaces h4 { color: #94d3f9; margin-bottom: 10px; }
footer .col .enlaces ul { list-style: none; }
footer .col .enlaces ul li a { color: #f437d6; text-decoration: none; }
footer .col .enlaces ul li a:hover { color: #94d3f9; }
footer .col .redesSociales .logo { color: #94d3f9; font-size: 1.5em; font-weight: 700; text-transform: uppercase; text-decoration: none; }
footer .col .redesSociales ul { display: flex; list-style: none; margin-top: 10px; gap: 20px; }
footer .col .redesSociales ul li a { color: #f437d6; font-size: 1.2em; }
footer .col .redesSociales ul li a:hover { color: #94d3f9; }
footer .copyright { text-align: center; margin-top: 20px; color: #94d3f9; font-weight: 500; }

/* =========================================
   Responsivo general
========================================= */
@media (max-width: 1200px) {
  .inicio .contenido { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
  .inicio .contenido { grid-template-columns: 1fr; gap: 22px; text-align: center !important; justify-items: center; }
  .imgBox { order: -1; }
  .mercados .cards { grid-template-columns: repeat(2,1fr); }
  .trading .contenido { flex-direction: column; text-align: center !important; }
  .trading .contenido .texto, .trading .contenido img { max-width: 100% !important; }
  .sponsor-track img { height: 150px; }
}
@media (max-width: 767px) {
  .inicio header{ padding:0; height:0; background:transparent!important; box-shadow:none!important; }
  .inicio header .nav.centered{ display:none!important; }
  .inicio header .nav.active{
    position:fixed; top:0; left:0; width:100%; height:100%;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:24px 20px; gap:10px; background:rgba(43,11,89,.96); z-index:10000;
    list-style:none; /* 🔥 quita viñetas */
    padding-left:0;
    margin-left:0;
  }
  .inicio header .nav.active li{
    list-style:none; /* 🔥 asegura que no aparezcan puntos */
  }
  .btn-reserva{ position:relative !important; left:auto !important; top:auto !important; margin:12px auto 0; display:inline-flex; z-index:10001; padding:10px 14px; font-size:.85rem; border-radius:12px; }
  .menuToggle{
    position:fixed; right:14px; top:calc(10px + env(safe-area-inset-top));
    width:44px; height:44px; z-index:10002; background:url('/assets/menu.png') center/26px 26px no-repeat; cursor:pointer;
  }
  .menuToggle.active{ background:none; }
  .menuToggle.active::before, .menuToggle.active::after{ content:""; position:absolute; left:10px; top:50%; width:24px; height:3px; background:#fff; border-radius:2px; }
  .menuToggle.active::before{ transform:rotate(45deg); }
  .menuToggle.active::after{ transform:rotate(-45deg); }

  .mercados .cards{ grid-template-columns:1fr; }
  .trading .contenido img{ width:300px; }
  .sponsor-track img{ height:150px !important; }

  /* Unificación de estilo del menú hamburguesa */
  .inicio header .nav.active li a{
    color:#94d3f9;
    font-size:1.1rem;
    font-weight:600;
    text-decoration:none;
    padding:14px 18px;
    border-radius:10px;
    transition:.3s;
  }
  .inicio header .nav.active li a:hover{
    color:#fff;
    background:rgba(148,211,249,.12);
  }

  /* Countdown móvil */
  .countdown{
    grid-template-columns: repeat(2, minmax(120px,1fr)) !important;
    justify-items: stretch; margin-left: auto; margin-right: auto; max-width: 520px;
  }
}

/* Muy pequeñas (≤360px) */
@media (max-width: 360px){
  .countdown{ grid-template-columns: 1fr !important; }
}

/* Scroll Reveal */
[data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .6s, transform .6s; }
[data-reveal].show{ opacity:1; transform:translateY(0); }

/* Modal: scroll lock suave en iOS */
@supports (-webkit-touch-callout: none){
  body.modal-open{ position: fixed; width: 100%; }
}
