:root {
    --navy: #16264a;
    --navy-deep: #0c1730;
    --sky: #3d6fb4;
    --red: #c31f2d;
    --red-dark: #9c1622;
    --cream: #f6efe0;
    --cream-soft: #fbf7ee;
    --white: #ffffff;
    --text: #25324a;
    --text-soft: #5c6883;
    --shadow: 0 20px 40px -15px rgba(12,23,48,0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
  h1,h2,h3,h4{
    font-family:'Fredoka', sans-serif;
    font-weight:600;
    line-height:1.15;
    color:var(--navy);
  }
  a{text-decoration:none; color:inherit;}
  img{max-width:100%; display:block;}
  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 24px;
  }
  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:'Fredoka', sans-serif;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--red);
    margin-bottom:14px;
  }
  .eyebrow::before{
    content:"";
    width:22px;
    height:3px;
    background:var(--red);
    border-radius:2px;
    display:inline-block;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:15px 32px;
    border-radius:999px;
    font-family:'Fredoka', sans-serif;
    font-weight:600;
    font-size:16px;
    letter-spacing:0.01em;
    cursor:pointer;
    border:none;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--red);
    color:var(--white);
    box-shadow:0 12px 24px -8px rgba(195,31,45,0.55);
  }
  .btn-primary:hover{
    background:var(--red-dark);
    transform:translateY(-2px);
    box-shadow:0 16px 28px -8px rgba(195,31,45,0.6);
  }
  .btn-ghost{
    background:rgba(255,255,255,0.08);
    color:var(--white);
    border:1.5px solid rgba(255,255,255,0.5);
  }
  .btn-ghost:hover{
    background:rgba(255,255,255,0.18);
    transform:translateY(-2px);
  }
  .btn-navy{
    background:var(--navy);
    color:var(--white);
    box-shadow:0 12px 24px -8px rgba(22,38,74,0.4);
  }
  .btn-navy:hover{
    background:var(--navy-deep);
    transform:translateY(-2px);
  }

  /* ===== NAV ===== */
  header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(246,239,224,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(22,38,74,0.08);
  }
  nav.wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-top:14px;
    padding-bottom:14px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .brand img{
    height:52px;
    width:auto;
  }
  .brand-word{
    font-family:'Fredoka', sans-serif;
    font-weight:700;
    font-size:19px;
    color:var(--navy);
    line-height:1.1;
  }
  .brand-word span{
    display:block;
    font-family:'Inter', sans-serif;
    font-weight:600;
    font-size:11px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--red);
  }
  .nav-links{
    display:flex;
    align-items:center;
    gap:34px;
  }
  .nav-links a{
    font-weight:600;
    font-size:15px;
    color:var(--navy);
    opacity:0.85;
    transition:opacity .15s ease;
  }
  .nav-links a:hover{opacity:1;}
  .nav-cta{display:flex; align-items:center; gap:20px;}
  .btn-small{padding:11px 24px; font-size:14px;}
  .menu-toggle{display:none;}

  /* ===== HERO ===== */
  .hero{
    position:relative;
    background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 65%, #0a1226 100%);
    color:var(--white);
    overflow:hidden;
    padding:88px 0 100px;
  }
  .hero-deco{
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0.5;
  }
  .hero-deco svg{width:100%; height:100%;}
  .hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:56px;
    align-items:center;
  }
  .hero-badge-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
  }
  .pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.22);
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.02em;
  }
  .pill.red{
    background:rgba(195,31,45,0.22);
    border-color:rgba(195,31,45,0.5);
    color:#ffd7da;
  }
  .dot{width:7px; height:7px; border-radius:50%; background:#5fe07a; box-shadow:0 0 0 4px rgba(95,224,122,0.25);}
  .hero h1{
    font-size:clamp(40px, 5.4vw, 64px);
    color:var(--white);
    margin-bottom:20px;
  }
  .hero h1 em{
    font-style:normal;
    color:#ff8b93;
    background:linear-gradient(90deg,#ff8b93,#ffd35c);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
  .hero p.lead{
    font-size:19px;
    color:rgba(255,255,255,0.82);
    max-width:520px;
    margin-bottom:34px;
  }
  .hero-facts{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:38px;
  }
  .fact{
    display:flex;
    align-items:center;
    gap:10px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.14);
    padding:12px 18px;
    border-radius:14px;
    font-size:14px;
    font-weight:500;
  }
  .fact svg{flex-shrink:0;}
  .hero-cta{display:flex; align-items:center; gap:18px; flex-wrap:wrap;}
  .hero-visual{
    position:relative;
    z-index:2;
  }
  .hero-card{
    background:var(--cream-soft);
    border-radius:28px;
    padding:20px;
    box-shadow:var(--shadow);
    transform:rotate(2deg);
  }
  .hero-card img{
    border-radius:18px;
    width:100%;
    aspect-ratio:4/3;
    object-fit:contain;
    background:radial-gradient(circle at 50% 40%, #1b2c54, #0c1730);
    padding:30px;
  }
  .hero-card-caption{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 6px 4px;
  }
  .hero-card-caption strong{
    font-family:'Fredoka', sans-serif;
    color:var(--navy);
    font-size:15px;
  }
  .hero-card-caption span{
    font-size:13px;
    color:var(--text-soft);
  }

  /* ===== SPONSOR STRIP ===== */
  .sponsor-strip{
    background:var(--white);
    border-bottom:1px solid rgba(22,38,74,0.08);
    padding:22px 0;
  }
  .sponsor-strip .wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
    text-align:center;
  }
  .sponsor-strip p{
    font-size:13px;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--text-soft);
  }

  /* ===== SECTION SHARED ===== */
  section{padding:96px 0;}
  .section-head{
    max-width:640px;
    margin:0 auto 54px;
    text-align:center;
  }
  .section-head h2{
    font-size:clamp(30px, 4vw, 42px);
    margin-bottom:16px;
  }
  .section-head p{
    color:var(--text-soft);
    font-size:17px;
  }

  /* ===== ABOUT ===== */
  .about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:64px;
    align-items:center;
  }
  .about-text .eyebrow{margin-bottom:14px;}
  .about-text h2{font-size:clamp(28px,3.6vw,38px); margin-bottom:22px;}
  .about-text p{color:var(--text-soft); font-size:17px; margin-bottom:16px;}
  .about-text .callout{
    margin-top:26px;
    padding:18px 22px;
    background:var(--cream-soft);
    border-left:4px solid var(--red);
    border-radius:10px;
    font-weight:600;
    color:var(--navy);
    font-size:15.5px;
  }
  .about-visual{
    position:relative;
  }
  .about-visual .stack{
    position:relative;
    border-radius:26px;
    overflow:hidden;
    box-shadow:var(--shadow);
    aspect-ratio:5/4;
    background:linear-gradient(150deg,var(--navy),var(--navy-deep));
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .about-visual .stack img{
    width:65%;
  }
  .about-visual .float-chip{
    position:absolute;
    bottom:-22px;
    right:-18px;
    background:var(--white);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:16px 20px;
    display:flex;
    align-items:center;
    gap:12px;
  }
  .float-chip .num{
    font-family:'Fredoka', sans-serif;
    font-size:26px;
    font-weight:700;
    color:var(--red);
  }
  .float-chip .lbl{
    font-size:12.5px;
    color:var(--text-soft);
    font-weight:600;
    max-width:110px;
  }

  /* ===== LEAGUE DETAILS ===== */
  .details{background:var(--white);}
  .detail-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
  }
  .detail-card{
    background:var(--cream-soft);
    border-radius:18px;
    padding:26px 22px;
    border:1px solid rgba(22,38,74,0.06);
    transition:transform .18s ease, box-shadow .18s ease;
  }
  .detail-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
  }
  .detail-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:var(--navy);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:16px;
  }
  .detail-card:nth-child(3n+2) .detail-icon{background:var(--red);}
  .detail-card:nth-child(3n) .detail-icon{background:var(--sky);}
  .detail-card h4{
    font-size:12.5px;
    text-transform:uppercase;
    letter-spacing:0.08em;
    color:var(--text-soft);
    margin-bottom:6px;
    font-family:'Inter',sans-serif;
    font-weight:700;
  }
  .detail-card p{
    font-family:'Fredoka', sans-serif;
    font-size:17px;
    color:var(--navy);
    font-weight:600;
  }

  /* ===== WHY JOIN ===== */
  .why{
    background:var(--navy);
    color:var(--white);
    position:relative;
    overflow:hidden;
  }
  .why .section-head h2{color:var(--white);}
  .why .section-head p{color:rgba(255,255,255,0.72);}
  .why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .why-card{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:20px;
    padding:32px 26px;
  }
  .why-card .why-icon{
    width:52px;
    height:52px;
    border-radius:14px;
    background:var(--red);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
  }
  .why-card:nth-child(2) .why-icon{background:var(--sky);}
  .why-card:nth-child(3) .why-icon{background:#e0a53c;}
  .why-card h3{
    color:var(--white);
    font-size:20px;
    margin-bottom:10px;
  }
  .why-card p{
    color:rgba(255,255,255,0.72);
    font-size:15.5px;
  }

  /* ===== HIGHLIGHTS / VIDEO ===== */
  .highlights{background:var(--cream);}
  .highlight-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:22px;
  }
  .highlight-item{
    background:var(--navy-deep);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 24px -12px rgba(22,38,74,0.18);
    border:1px solid rgba(22,38,74,0.06);
    aspect-ratio:9/16;
  }
  .highlight-item video{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:var(--navy-deep);
  }
  .highlight-item.placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--cream-soft);
    border:1.5px dashed rgba(22,38,74,0.2);
  }
  .highlight-item.placeholder span{
    color:var(--text-soft);
    font-size:13.5px;
    font-weight:600;
    text-align:center;
    padding:0 20px;
  }
  .highlight-follow{
    text-align:center;
    margin-top:40px;
    font-size:15px;
    color:var(--text-soft);
  }
  .highlight-follow a{
    color:var(--red);
    font-weight:700;
  }

  /* ===== FINAL CTA ===== */
  .final-cta{
    background:linear-gradient(135deg, var(--red), var(--red-dark));
    color:var(--white);
    text-align:center;
    padding:90px 0;
    position:relative;
    overflow:hidden;
  }
  .final-cta h2{
    color:var(--white);
    font-size:clamp(30px,4.4vw,46px);
    margin-bottom:16px;
  }
  .final-cta p{
    color:rgba(255,255,255,0.9);
    font-size:17px;
    max-width:480px;
    margin:0 auto 34px;
  }
  .final-cta .btn-navy{
    background:var(--navy);
  }
  .final-cta .btn-navy:hover{background:var(--navy-deep);}

  /* ===== FOOTER ===== */
  footer{
    background:var(--navy-deep);
    color:rgba(255,255,255,0.7);
    padding:56px 0 28px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:40px;
    padding-bottom:36px;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .footer-brand{display:flex; align-items:center; gap:12px; margin-bottom:14px;}
  .footer-brand img{height:46px;}
  .footer-brand strong{
    font-family:'Fredoka', sans-serif;
    color:var(--white);
    font-size:18px;
  }
  .footer-col h5{
    font-family:'Fredoka', sans-serif;
    color:var(--white);
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:0.08em;
    margin-bottom:16px;
  }
  .footer-col a{
    display:block;
    font-size:14.5px;
    color:rgba(255,255,255,0.7);
    margin-bottom:11px;
    transition:color .15s ease;
  }
  .footer-col a:hover{color:var(--white);}
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:24px;
    font-size:13px;
    color:rgba(255,255,255,0.45);
    flex-wrap:wrap;
    gap:10px;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px){
    .nav-links{display:none;}
    .hero-grid{grid-template-columns:1fr; text-align:center;}
    .hero p.lead{margin-left:auto; margin-right:auto;}
    .hero-facts{justify-content:center;}
    .hero-cta{justify-content:center;}
    .hero-visual{max-width:420px; margin:0 auto;}
    .about-grid{grid-template-columns:1fr;}
    .about-visual{order:-1; max-width:420px; margin:0 auto 20px;}
    .detail-grid{grid-template-columns:repeat(2,1fr);}
    .why-grid{grid-template-columns:1fr;}
    .highlight-grid{grid-template-columns:repeat(2,1fr);}
    .footer-grid{grid-template-columns:1fr; gap:28px;}
  }


  /* ===== INNER PAGES (registration, legal, thank-you) ===== */
  .page-hero{
    background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
    color:var(--white);
    padding:64px 0 120px;
    text-align:center;
  }
  .page-hero h1{color:var(--white); font-size:clamp(32px,5vw,48px); margin-bottom:14px;}
  .page-hero p{color:rgba(255,255,255,0.8); max-width:620px; margin:0 auto; font-size:17px;}
  .page-hero .pill-row{display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-bottom:20px;}
  .page-body{padding:0 0 96px;}
  .card{
    background:var(--white);
    border-radius:24px;
    box-shadow:var(--shadow);
    padding:44px;
    max-width:760px;
    margin:-80px auto 0;
    position:relative;
  }
  .card + .card{margin-top:28px;}
  .card h2{font-size:24px; margin-bottom:12px;}
  .card p{margin-bottom:14px;}

  /* form */
  .reg-form fieldset{border:0; margin:0 0 30px;}
  .reg-form legend{
    font-family:'Fredoka', sans-serif; font-weight:600; font-size:20px; color:var(--navy);
    margin-bottom:16px; padding:0;
  }
  .field-row{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
  .field{display:flex; flex-direction:column; margin-bottom:18px;}
  .field label{font-weight:600; font-size:14.5px; color:var(--navy); margin-bottom:6px;}
  .field .req{color:var(--red);}
  .field .opt{font-weight:500; color:var(--text-soft); font-size:13px;}
  .field input{
    font:inherit; font-size:16px; color:var(--text);
    padding:13px 15px; border:1.5px solid #d9d2c3; border-radius:12px; background:var(--cream-soft);
  }
  .field input:focus{outline:none; border-color:var(--sky); background:var(--white); box-shadow:0 0 0 3px rgba(61,111,180,0.18);}
  .field .hint{font-size:13px; color:var(--text-soft); margin-top:6px;}
  .field input[aria-invalid="true"]{border-color:var(--red);}
  .consent{
    display:grid; grid-template-columns:22px 1fr; gap:12px; align-items:start;
    padding:16px 18px; border:1.5px solid #e6dfd0; border-radius:14px; margin-bottom:14px; background:var(--cream-soft);
  }
  .consent input{width:20px; height:20px; margin-top:2px; accent-color:var(--red); cursor:pointer;}
  .consent label{font-size:14px; line-height:1.55; cursor:pointer;}
  .consent label strong{color:var(--navy); display:block; font-size:15px; margin-bottom:4px;}
  .consent a, .legal a, .fineprint a{color:var(--sky); text-decoration:underline;}
  .waiver{
    font-size:14px; line-height:1.6; background:var(--cream-soft); border:1.5px solid #e6dfd0;
    border-radius:14px; padding:18px 20px; margin-bottom:16px; max-height:280px; overflow-y:auto;
  }
  .waiver p{margin-bottom:10px;}
  .fineprint{font-size:13px; color:var(--text-soft); margin-top:14px;}
  .form-error{
    display:none; background:#fdecee; color:var(--red-dark); border:1.5px solid #f3c2c7;
    border-radius:12px; padding:12px 16px; margin-bottom:18px; font-size:14.5px;
  }
  .form-error.show{display:block;}
  .reg-form .btn{width:100%; font-size:17px;}
  .reg-form .btn[disabled]{opacity:0.6; cursor:wait; transform:none;}
  .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}

  /* legal pages */
  .legal h2{font-size:21px; margin:30px 0 10px;}
  .legal h2:first-child{margin-top:0;}
  .legal ul{margin:0 0 14px 22px;}
  .legal li{margin-bottom:6px;}
  .legal .updated{color:var(--text-soft); font-size:14px; margin-bottom:24px;}

  /* thank-you / support */
  .split{display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center;}
  .split img{border-radius:18px;}
  .facts{list-style:none; margin:10px 0 18px;}
  .facts li{padding:10px 0; border-bottom:1px solid #eee5d3;}
  .facts li strong{color:var(--navy); display:inline-block; min-width:96px;}
  .center{text-align:center;}
  .btn-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px;}
  .center .btn-row{justify-content:center;}
  .socials{display:flex; gap:18px; justify-content:center; margin-top:10px;}
  .socials a{color:var(--sky); font-weight:600; text-decoration:underline;}

  @media (max-width: 700px){
    .card{padding:28px 20px; border-radius:18px;}
    .field-row{grid-template-columns:1fr; gap:0;}
    .split{grid-template-columns:1fr;}
    .page-hero{padding:48px 0 110px;}
  }

  /* inner pages have only the bottom bar */
  footer .wrap > .footer-bottom:only-child{padding-top:0;}
  footer:has(.footer-bottom:only-child){padding:28px 0;}
  .footer-bottom a:hover{color:var(--white);}
