:root{
  --pitch: #0B1F17;
  --pitch-line: #1E4130;
  --chalk: #EDE7D9;
  --amber: #E3A857;
  --court: #C6532B;
  --grey: #8A9990;
  --ink: #0A0F0D;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--ink);
  color:var(--chalk);
  font-family:'Inter',sans-serif;
  line-height:1.5;
  overflow-x:hidden;
}
h1,h2,h3, .display{
  font-family:'Anton',sans-serif;
  font-weight:400;
  letter-spacing:0.5px;
  text-transform:uppercase;
  line-height:0.95;
}

/* NAV */
nav{
  position:sticky; top:0; z-index:50;
  background:var(--ink);
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 5vw;
  flex-wrap:wrap; gap:12px;
  border-bottom:1px solid rgba(237,231,217,0.08);
}
nav .logo{font-family:'Anton',sans-serif; font-size:1.3rem; letter-spacing:1px; color:var(--chalk); text-decoration:none;}
nav .nav-links{display:flex; align-items:center; flex-wrap:wrap; gap:0;}
nav a{color:var(--chalk); text-decoration:none; font-size:0.95rem; margin-left:28px;}
.lang-switch{margin-left:28px; display:flex; gap:2px;}
.lang-switch button{
  background:transparent; border:1px solid rgba(237,231,217,0.4); color:var(--chalk);
  font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600;
  padding:5px 9px; cursor:pointer; letter-spacing:0.5px;
}
.lang-switch button.active{background:var(--amber); border-color:var(--amber); color:var(--ink);}

/* HERO */
.hero{
  min-height:90vh;
  display:flex; flex-direction:column; justify-content:center;
  position:relative;
  padding:0 5vw;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(237,231,217,0.035) 80px),
    radial-gradient(ellipse at 70% 20%, rgba(227,168,87,0.10), transparent 55%),
    var(--pitch);
  border-bottom:1px solid var(--pitch-line);
}
.hero .kicker{
  font-size:0.95rem; color:var(--amber); font-weight:600;
  margin-bottom:18px;
}
.hero h1{
  font-size:clamp(2.6rem, 9vw, 7.5rem);
  max-width:18ch;
}
.hero p{
  max-width:46ch; font-size:1.15rem; color:var(--grey);
  margin-top:26px;
}
.hero .cta-row{margin-top:40px; display:flex; gap:16px; flex-wrap:wrap;}
.btn{
  font-family:'Inter',sans-serif; font-weight:600; font-size:1rem;
  padding:15px 30px; border-radius:2px; text-decoration:none;
  display:inline-block; cursor:pointer; border:1px solid transparent;
  transition:transform 0.15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--amber); color:var(--ink);}
.btn-ghost{border-color:var(--grey); color:var(--chalk);}

/* FEATURES */
.features{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgba(237,231,217,0.1);
  border-bottom:1px solid rgba(237,231,217,0.1);
}
@media (max-width:800px){ .features{grid-template-columns:1fr;} }
.feature{ background:var(--ink); padding:48px 5vw; }
.feature .num{
  display:block; font-family:'Anton',sans-serif; font-size:1.3rem;
  text-transform:uppercase; margin-bottom:14px; color:var(--amber);
}
.feature-icon{
  width:44px; height:44px; display:block; margin-bottom:18px;
}
.feature p{color:var(--grey); max-width:36ch;}

/* SPORT PICKER (links, not JS toggles) */
.sports{
  display:grid; grid-template-columns:1fr 1fr;
  min-height:70vh;
}
@media (max-width:800px){ .sports{grid-template-columns:1fr;} }
.sport-panel{
  position:relative; padding:70px 6vw;
  display:flex; flex-direction:column; justify-content:flex-end;
  min-height:60vh;
  text-decoration:none; overflow:hidden;
  border-top:1px solid rgba(237,231,217,0.1);
}
.sport-panel.football{
  background:
    repeating-linear-gradient(90deg, #0E2B1E 0 46px, #153824 46px 92px);
  border-right:1px solid rgba(237,231,217,0.1);
}
.sport-panel.basketball{
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(0deg, #3A1C10 0 34px, #4A2716 34px 68px);
}
.sport-panel h2{font-size:clamp(2.2rem,5vw,4rem); margin-bottom:14px; color:var(--chalk);}
.sport-panel .tag{color:var(--grey); max-width:40ch; margin-bottom:20px;}
.sport-panel .open{font-weight:600; color:var(--amber);}
.sport-panel.basketball .open{color:#F2A97E;}

/* BOARD PAGE */
.board-hero{
  padding:60px 5vw 20px;
}
.back-link{
  display:inline-block; color:var(--amber); text-decoration:none;
  font-size:0.9rem; font-weight:600; margin-bottom:20px;
}
.back-link:hover{ text-decoration:underline; }
.board-hero h1{font-size:clamp(2rem,5vw,3.4rem); margin-bottom:10px;}
.board-hero .sub{color:var(--grey); max-width:60ch;}
.board-section{ padding:40px 5vw 100px; }
.board-wrap{
  display:flex; gap:30px; flex-wrap:wrap; align-items:flex-start;
}
canvas{
  border:1px solid rgba(237,231,217,0.15);
  border-radius:3px;
  cursor:crosshair;
  max-width:100%;
  touch-action:none;
}
.board-controls{
  display:flex; flex-direction:column; gap:12px; min-width:220px;
}
.board-controls button{
  font-family:'Inter',sans-serif; font-size:0.9rem; font-weight:600;
  background:transparent; border:1px solid var(--grey); color:var(--chalk);
  padding:12px 16px; border-radius:2px; cursor:pointer; text-align:left;
}
.board-controls button:hover{border-color:var(--amber); color:var(--amber);}
.board-controls .hint{font-size:0.85rem; color:var(--grey); margin-top:8px;}

/* HOW IT WORKS */
.how{ padding:100px 5vw; background:var(--ink); }
.how h2{font-size:clamp(2rem,5vw,3.2rem); margin-bottom:50px;}
.how-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
@media (max-width:800px){ .how-steps{grid-template-columns:1fr;} }
.step-n{
  font-family:'Anton',sans-serif; font-size:2.6rem; color:var(--amber);
  display:block; margin-bottom:10px;
}
.how-step h3{font-family:'Inter',sans-serif; text-transform:none; font-size:1.15rem; font-weight:700; margin-bottom:10px; letter-spacing:0;}
.how-step p{color:var(--grey); max-width:34ch;}

/* PRICING */
.pricing{
  padding:110px 5vw;
  background:var(--pitch);
  border-top:1px solid var(--pitch-line);
}
.pricing h2{font-size:clamp(2rem,5vw,3.2rem); max-width:22ch; margin-bottom:30px;}
.free-banner{ max-width:700px; border-left:3px solid var(--amber); padding-left:24px; }
.free-banner p{color:var(--grey); font-size:1.1rem; max-width:56ch;}

footer{
  padding:50px 5vw; color:var(--grey); font-size:0.9rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  border-top:1px solid rgba(237,231,217,0.1);
}
footer a{color:var(--grey);}

/* ANDROID BETA */
.android-beta{
  padding:90px 5vw;
  background:var(--ink);
  border-top:1px solid rgba(237,231,217,0.1);
}
.android-beta h2{font-size:clamp(1.8rem,4.5vw,2.8rem); margin-bottom:16px;}
.android-beta .sub{color:var(--grey); max-width:56ch; margin-bottom:26px;}
.android-beta .hint{color:var(--grey); font-size:0.85rem; margin-top:16px;}
