:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --line:#312509;
  --gold:#FFD700;
  --gold2:#D4AF37;
  --gold-dark:#8A6100;
  --gold-light:#FFF0A0;
  --text:#ffffff;
  --muted:#bdbdbd;
  --green:#25ee73;
  --max:1180px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Montserrat,system-ui,sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font:inherit;
}

/* =========================
   HEADER
========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:30;
  height:76px;
  display:flex;
  align-items:center;
  gap:26px;
  padding:0 max(22px,calc((100vw - var(--max))/2));
  background:rgba(3,3,3,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #1c1c1c;
}

.brand{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:max-content;
}

.brand b{
  font-family:'Playfair Display',serif;
  font-size:28px;
  letter-spacing:1px;
  color:var(--gold);
}

.brand small{
  display:block;
  font-size:8px;
  letter-spacing:2.8px;
  color:#ddd;
}

.trident{
  font-size:31px;
  color:var(--gold);
}

.nav{
  display:flex;
  gap:24px;
  margin-left:auto;
}

.nav a{
  font-size:13px;
  font-weight:700;
  color:#c9c9c9;
}

.nav a:hover,
.nav a.active{
  color:var(--gold);
}

.header-actions{
  display:flex;
  gap:10px;
}

.menu-btn{
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:28px;
}

/* =========================
   BOTONES
========================= */

.btn{
  border:0;
  border-radius:11px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
  transition:.2s transform,.2s filter,.2s box-shadow;
}

.btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
}

.btn-gold{
  color:#100d05;
  background:
    linear-gradient(
      135deg,
      #8A6100 0%,
      #D4AF37 18%,
      #FFD700 38%,
      #FFF0A0 50%,
      #FFD700 62%,
      #D4AF37 80%,
      #8A6100 100%
    );
  border:1px solid #FFD700;
  box-shadow:
    0 8px 28px rgba(255,215,0,.18),
    inset 0 1px rgba(255,255,255,.35);
}

.btn-ghost{
  background:transparent;
  color:#fff;
  border:1px solid #80642d;
}

.btn-dark{
  background:rgba(4,4,4,.90);
  color:#fff;
  border:1px solid var(--gold2);
}

.btn-large{
  min-width:175px;
  padding:13px 20px;
}

.btn-wide{
  width:100%;
  margin-top:10px;
}

/* =========================
   HERO / PORTADA
========================= */

.hero{
  min-height:980px;
  position:relative;
  background-image:url('hero.jpeg');
  background-size:contain;
  background-position:center top;
  background-repeat:no-repeat;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.05) 0%,
      rgba(0,0,0,.04) 42%,
      rgba(0,0,0,.38) 64%,
      rgba(0,0,0,.90) 90%,
      #050505 100%
    );
}

.hero-content{
  position:relative;
  z-index:2;
  width:min(var(--max),calc(100% - 44px));
  margin:0 auto;
  padding:300px 0 48px;
}

.hero-copy{
  max-width:650px;
  margin:0 auto;
  text-align:center;
}

/* Oculta ISB · IDAEL SPORT BET encima del título */
.hero-copy > .eyebrow{
  display:none;
}

.hero h1{
  font-size:clamp(42px,6vw,68px);
  line-height:.98;
  margin:0 0 18px;
  letter-spacing:-2px;
  text-shadow:
    0 3px 12px rgba(0,0,0,.95),
    0 0 22px rgba(0,0,0,.8);
}

.hero h1 span{
  color:var(--gold);
}

.mission{
  margin:0 auto 16px;
  color:var(--gold);
  font-size:15px;
  font-weight:700;
  letter-spacing:1.4px;
  text-transform:uppercase;
  text-shadow:0 2px 10px #000;
}

.lead{
  font-size:17px;
  line-height:1.6;
  color:#f1f1f1;
  max-width:620px;
  margin:0 auto;
  text-shadow:0 2px 10px #000;
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin:28px 0 16px;
}

.private-note{
  font-size:12px;
  color:#ddd;
  max-width:620px;
  margin:0 auto;
  text-align:center;
  line-height:1.5;
  text-shadow:0 2px 8px #000;
}

/* =========================
   COBERTURA DEPORTIVA
========================= */

.sports-strip{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  max-width:var(--max);
  margin:0 auto;
  padding:64px 20px 42px;
  border-top:1px solid #2d240f;
  border-bottom:1px solid #2d240f;
}

.sports-strip::before{
  content:"COBERTURA DEPORTIVA";
  position:absolute;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  color:var(--gold);
  font-size:13px;
  font-weight:900;
  letter-spacing:2.5px;
  white-space:nowrap;
}

.sports-strip div{
  min-height:125px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:32px;
  border:1px solid #3b2f16;
  border-radius:16px;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,215,0,.10),transparent 58%),
    linear-gradient(180deg,#101010,#080808);
}

.sports-strip span{
  display:block;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.4px;
  margin-top:10px;
  color:#f0f0f0;
}

/* =========================
   SECCIONES
========================= */

.section{
  padding:82px max(22px,calc((100vw - var(--max))/2));
}

.section-dark{
  background:linear-gradient(180deg,#070707,#0d0d0d);
}

.section-head{
  text-align:center;
  margin-bottom:36px;
}

.eyebrow{
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:2.1px;
  text-transform:uppercase;
}

.section h2{
  font-size:clamp(34px,5vw,56px);
  margin:8px 0 16px;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}

.card{
  border:1px solid #2a2a2a;
  background:linear-gradient(180deg,#111,#0a0a0a);
  border-radius:16px;
  padding:28px;
}

.step span{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:#181818;
  color:var(--gold);
  font-weight:900;
  border:1px solid #3a3020;
}

.step h3{
  font-size:18px;
  margin:20px 0 8px;
}

.step p,
.section p{
  color:#bdbdbd;
  line-height:1.65;
}

/* =========================
   RESULTADOS
========================= */

.statement{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:30px;
  align-items:center;
  background:
    radial-gradient(circle at 15% 50%,#2a1c09 0,transparent 35%),
    #050505;
}

.quote{
  font-family:'Playfair Display',serif;
  font-size:clamp(40px,6vw,74px);
  line-height:1.08!important;
  color:#fff!important;
  margin:0;
}

.quote-sign{
  color:var(--gold)!important;
  font-weight:800;
}

.result-card{
  padding:36px;
  border:1px solid #31291b;
  border-radius:18px;
  background:rgba(16,16,16,.8);
}

.result-card h3{
  font-size:28px;
  margin:8px 0;
}

/* =========================
   SOPORTE
========================= */

.support-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.support-actions{
  display:grid;
  gap:14px;
}

.contact-card{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  border-radius:14px;
  border:1px solid #2d2d2d;
  background:#111;
}

.contact-card b{
  color:var(--gold);
}

.contact-card span{
  color:#c8c8c8;
  font-size:13px;
  word-break:break-word;
}

/* =========================
   CTA
========================= */

.cta{
  text-align:center;
  background:
    linear-gradient(rgba(0,0,0,.72),rgba(0,0,0,.96)),
    url('hero.jpeg') center 75%/cover;
}

.cta p{
  max-width:680px;
  margin:0 auto 24px;
}

.cta h2{
  max-width:760px;
  margin:10px auto 16px;
}

/* =========================
   FOOTER
========================= */

footer{
  padding:34px max(22px,calc((100vw - var(--max))/2)) 52px;
  border-top:1px solid #1b1b1b;
  color:#999;
  background:#030303;
}

.footer-brand{
  margin-bottom:16px;
}

.fineprint{
  font-size:11px;
  max-width:700px;
  line-height:1.5;
}

/* =========================
   MODALES
========================= */

.modal{
  border:0;
  padding:0;
  background:transparent;
  color:white;
}

.modal::backdrop{
  background:rgba(0,0,0,.84);
  backdrop-filter:blur(8px);
}

.modal-card{
  width:min(92vw,440px);
  background:#0d0d0d;
  border:1px solid #3a3020;
  border-radius:18px;
  padding:30px;
  box-shadow:0 30px 90px rgba(0,0,0,.65);
  position:relative;
}

.modal-card h2{
  font-size:34px;
  margin:4px 0 22px;
}

.modal-card label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#ddd;
  margin:14px 0;
}

.modal-card input{
  width:100%;
  margin-top:8px;
  background:#070707;
  border:1px solid #323232;
  border-radius:10px;
  color:#fff;
  padding:14px;
  outline:none;
}

.modal-card input:focus{
  border-color:var(--gold2);
}

.close{
  position:absolute;
  right:17px;
  top:14px;
  background:none;
  border:0;
  color:#bbb;
  font-size:28px;
  cursor:pointer;
}

.form-note{
  font-size:11px;
  color:#858585!important;
  text-align:center;
  margin-bottom:0;
}

/* =========================
   TABLET
========================= */

@media(max-width:900px){

  .nav{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    padding:18px 22px;
    background:#070707;
    border-bottom:1px solid #222;
    flex-direction:column;
  }

  .nav.open{
    display:flex;
  }

  .header-actions{
    display:none;
  }

  .menu-btn{
    display:block;
    margin-left:auto;
  }

  .hero{
    min-height:900px;
    background-position:center top;
  }

  .hero-content{
    padding:520px 0 60px;
  }

  .sports-strip{
    grid-template-columns:repeat(3,1fr);
  }

  .steps{
    grid-template-columns:1fr 1fr;
  }

  .statement,
  .support-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   IPHONE / MÓVIL
========================= */

@media(max-width:560px){

  .topbar{
    height:68px;
    padding-left:16px;
    padding-right:16px;
  }

  .brand b{
    font-size:23px;
  }

  .brand small{
    font-size:8px;
  }

  .trident{
    font-size:26px;
  }

  .nav{
    top:68px;
  }

  .hero{
    min-height:980px;
    background-image:url('hero.jpeg') !important;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
  }

  .hero-overlay{
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.02) 0%,
        rgba(0,0,0,.02) 43%,
        rgba(0,0,0,.32) 60%,
        rgba(0,0,0,.88) 82%,
        #050505 100%
      );
  }

.hero-content{
  position:absolute !important;
  z-index:2;
  top:550px !important;
  left:14px;
  right:14px;
  width:auto;
  margin:0;
  padding:0;
  text-align:center;
}

  .hero-copy{
    max-width:520px;
    margin:0 auto;
  }

  .hero h1{
    font-size:35px;
    line-height:.98;
    letter-spacing:-1px;
    margin-bottom:18px;
  }

  .mission{
    font-size:13px;
    letter-spacing:1px;
    color:var(--gold);
  }

  .lead{
    font-size:14px;
    line-height:1.55;
    max-width:430px;
  }

  .hero-actions{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:nowrap;
    margin-top:24px;
  }

  .btn-large{
    width:auto;
    min-width:145px;
    padding:12px 14px;
    font-size:14px;
  }

  .private-note{
    font-size:11px;
    max-width:390px;
  }

  .sports-strip{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:62px 14px 34px;
  }

  .sports-strip div{
    min-height:115px;
  }

  .steps{
    grid-template-columns:1fr;
  }

  .section{
    padding:64px 16px;
  }

  .contact-card{
    flex-direction:column;
  }

  .quote{
    font-size:42px;
  }
}
@media(max-width:560px){

  .hero-content{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    transform:translateY(-200px) !important;
    padding:0 14px 40px !important;
    margin:0 auto !important;
  }

}
@media(max-width:560px){

  .sports-strip{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:12px !important;
    padding:18px 14px 28px !important;
  }

  .sport{
    min-width:0 !important;
    padding:18px 6px !important;
    text-align:center !important;
  }

  .sport .icon,
  .sport-icon{
    font-size:34px !important;
    margin-bottom:8px !important;
  }

  .sport b,
  .sport-name{
    font-size:14px !important;
  }

}
@media(max-width:560px){

  .sports-strip{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:10px !important;
    padding:58px 12px 24px !important;
  }

  .sports-strip div{
    min-height:105px !important;
    padding:14px 6px !important;
    font-size:30px !important;
    border-radius:14px !important;
  }

  .sports-strip span{
    font-size:11px !important;
    margin-top:7px !important;
    letter-spacing:.8px !important;
  }

}
@media(max-width:560px){

  .steps{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:12px !important;
  }

  .card.step{
    padding:18px 14px !important;
    min-height:170px !important;
    border-radius:14px !important;
  }

  .step span{
    width:38px !important;
    height:38px !important;
    font-size:13px !important;
  }

  .step h3{
    font-size:16px !important;
    margin:14px 0 6px !important;
  }

  .step p{
    font-size:12px !important;
    line-height:1.45 !important;
    margin:0 !important;
  }

}
@media(max-width:560px){

  .hero{
    min-height:900px !important;
    height:900px !important;
  }

  .hero-content{
    transform:translateY(-150px) !important;
    padding-bottom:0 !important;
  }

  .sports-strip{
    margin-top:-115px !important;
    padding-top:62px !important;
  }

}
/* ===== CÓMO FUNCIONA - COMPACTO MÓVIL ===== */
@media (max-width: 700px){

  #como{
    padding:32px 16px !important;
  }

  #como .section-heading{
    margin-bottom:20px !important;
  }

  #como .section-heading span{
    font-size:11px !important;
    letter-spacing:3px !important;
  }

  #como .section-heading h3{
    font-size:32px !important;
    margin:7px 0 0 !important;
  }

  #como .steps{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
  }

  #como .steps article{
    width:100% !important;
    min-height:0 !important;
    padding:12px 15px !important;
    border:1px solid rgba(255,215,0,.35) !important;
    border-radius:10px !important;
    background:#0b0b0b !important;
  }

  #como .steps article b{
    display:inline-block !important;
    font-size:14px !important;
    color:#FFD700 !important;
    margin:0 8px 3px 0 !important;
  }

  #como .steps article h4{
    display:inline !important;
    font-size:16px !important;
    line-height:1.2 !important;
    margin:0 !important;
  }

  #como .steps article p{
    font-size:12px !important;
    line-height:1.4 !important;
    margin:5px 0 0 !important;
    color:#bdbdbd !important;
  }
}
/* ===== SOPORTE DIRECTO ===== */

.support-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:28px;
}

.contact-card{
  width:100%;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px;
  min-height:105px;
  background:#0d0d0d;
  border:1px solid rgba(255,215,0,.35);
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  position:relative;
}

.contact-icon{
  flex:0 0 62px;
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,215,0,.55);
  border-radius:14px;
  color:#FFD700;
  font-size:30px;
  box-shadow:0 0 18px rgba(255,215,0,.08);
}

.contact-card > span:nth-child(2){
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.contact-card strong{
  display:block;
  color:#FFD700;
  font-size:20px;
  line-height:1.1;
}

.contact-card small{
  display:flex;
  align-items:center;
  gap:7px;
  color:#d1d1d1;
  font-size:15px;
  line-height:1.25;
  word-break:break-word;
}

.contact-arrow{
  margin-left:auto;
  color:#FFD700;
  font-size:32px;
  line-height:1;
}

.verified{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  min-width:19px;
  border-radius:50%;
  background:#1d9bf0;
  color:#fff;
  font-size:12px;
  font-style:normal;
  font-weight:900;
}

/* móvil */
@media (max-width:700px){

  #soporte{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .support-actions{
    gap:10px;
  }

  .contact-card{
    padding:13px 14px;
    min-height:88px;
    border-radius:15px;
    gap:13px;
  }

  .contact-icon{
    flex-basis:52px;
    width:52px;
    height:52px;
    font-size:25px;
    border-radius:12px;
  }

  .contact-card strong{
    font-size:17px;
  }

  .contact-card small{
    font-size:13px;
  }

  .contact-arrow{
    font-size:27px;
  }
}
/* ===== SOPORTE COMPACTO FINAL ===== */
@media (max-width:700px){

  #soporte .support-actions{
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
    margin-top:22px !important;
  }

  #soporte .contact-card{
    width:100% !important;
    min-height:82px !important;
    padding:10px 13px !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    text-align:left !important;
    gap:12px !important;
    border:1px solid rgba(255,215,0,.45) !important;
    border-radius:14px !important;
  }

  #soporte .contact-icon{
    width:54px !important;
    height:54px !important;
    flex:0 0 54px !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:26px !important;
    color:#FFD700 !important;
    border:1px solid rgba(255,215,0,.55) !important;
    border-radius:12px !important;
  }

  #soporte .contact-card > span:nth-child(2){
    flex:1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:4px !important;
  }

  #soporte .contact-card strong{
    font-size:17px !important;
    color:#FFD700 !important;
    line-height:1.1 !important;
  }

  #soporte .contact-card small{
    font-size:13px !important;
    line-height:1.2 !important;
    color:#ddd !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
  }

  #soporte .contact-arrow{
    margin-left:auto !important;
    font-size:28px !important;
    color:#FFD700 !important;
  }

  #soporte .verified{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    background:#1d9bf0 !important;
    color:#fff !important;
    border-radius:50% !important;
  }
}
/* ===== ICONOS SOPORTE - CORRECCIÓN FINAL ===== */

#soporte .contact-icon svg{
  display:block !important;
  width:32px !important;
  height:32px !important;
  overflow:visible !important;
}

/* WhatsApp */
#soporte .contact-card:nth-child(1) .contact-icon svg path{
  fill:#FFD700 !important;
  stroke:none !important;
}

/* Instagram */
#soporte .contact-card:nth-child(2) .contact-icon svg{
  fill:none !important;
  stroke:#FFD700 !important;
}

#soporte .contact-card:nth-child(2) .contact-icon svg rect,
#soporte .contact-card:nth-child(2) .contact-icon svg circle{
  stroke:#FFD700 !important;
}

#soporte .contact-card:nth-child(2) .contact-icon svg circle:last-child{
  fill:#FFD700 !important;
  stroke:none !important;
}

/* Correo */
#soporte .contact-card:nth-child(3) .contact-icon svg rect,
#soporte .contact-card:nth-child(3) .contact-icon svg path{
  stroke:#FFD700 !important;
  fill:none !important;
}
/* ===== RESULTADOS COMPACTO + SIN ESPACIOS ===== */
@media (max-width:700px){

  #resultados{
    padding:22px 16px !important;
    min-height:0 !important;
    height:auto !important;
    gap:0 !important;
  }

  #resultados > div:first-child{
    display:none !important;
  }

  #resultados .result-card{
    width:100% !important;
    margin:0 !important;
    padding:22px 20px !important;
    min-height:0 !important;
    border-radius:16px !important;
  }

  #resultados .result-card .eyebrow{
    font-size:11px !important;
    letter-spacing:2px !important;
    margin:0 0 8px !important;
  }

  #resultados .result-card h3{
    font-size:23px !important;
    line-height:1.08 !important;
    margin:0 0 10px !important;
  }

  #resultados .result-card p{
    font-size:13px !important;
    line-height:1.45 !important;
    margin:0 !important;
  }

  #soporte{
    margin-top:0 !important;
    padding-top:28px !important;
    min-height:0 !important;
  }
}
/* ===== REGISTRO COMPACTO MÓVIL ===== */
@media (max-width:700px){

  #registerModal{
    padding:12px !important;
  }

  #registerModal .modal-card{
    width:100% !important;
    max-width:430px !important;
    max-height:88dvh !important;
    overflow-y:auto !important;
    padding:22px 18px !important;
    border-radius:18px !important;
    margin:auto !important;
  }

  #registerModal .eyebrow{
    font-size:11px !important;
    margin:0 0 5px !important;
  }

  #registerModal h2{
    font-size:32px !important;
    margin:0 0 18px !important;
  }

  #registerModal label{
    font-size:14px !important;
    margin-bottom:11px !important;
  }

  #registerModal input:not([type="checkbox"]){
    height:50px !important;
    padding:0 14px !important;
    margin-top:6px !important;
    font-size:15px !important;
    border-radius:11px !important;
  }

  #registerModal .terms-check{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
    gap:9px !important;
    margin-top:8px !important;
  }

  #registerModal .terms-check input{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    margin:2px 0 0 !important;
  }

  #registerModal .terms-check span,
  #registerModal .privacy-note{
    font-size:12px !important;
    line-height:1.4 !important;
  }

  #registerModal .privacy-note{
    color:#aaa !important;
    margin:10px 0 !important;
  }

  #registerModal .btn-wide{
    min-height:50px !important;
    margin-top:6px !important;
  }

  #registerModal .login-switch{
    font-size:13px !important;
    text-align:center !important;
    margin:12px 0 0 !important;
  }

  #registerModal .close{
    position:sticky !important;
    top:0 !important;
    float:right !important;
    z-index:5 !important;
  }
}
