:root {
  --bg: #0E121E; --panel: #161D30; --panel-2: #1B2540;
  --blue: #3B82F6; --orange: #F59E0B; --text: #F4F7FC;
  --muted: #929DB2; --line: rgba(148,163,184,.16);
  --green: #36D399; --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.ambient { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(120px); opacity: .12; pointer-events: none; z-index: -1; }
.ambient-blue { background: var(--blue); top: 100px; left: -250px; }
.ambient-orange { background: var(--orange); top: 350px; right: -300px; opacity: .08; }
.topbar { height: 76px; max-width: 1200px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.brand > span:nth-child(2) > span { color: var(--blue); }
.brand small { color: var(--orange); font-size: 9px; letter-spacing: .2em; margin-left: 5px; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: var(--blue); color: white; font-size: 17px; font-weight: 900; }
.top-nav { display: flex; align-items: center; gap: 30px; color: #AAB4C7; font-size: 12px; }
.top-nav a:hover, .back-link:hover { color: white; }
.nav-status { color: white !important; }
.nav-status i, .live-indicator i, .hero-meta i, .status-chip i { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 12px rgba(54,211,153,.6); }
.back-link { color: #AAB4C7; font-size: 11px; }
.back-link span { color: var(--orange); margin-left: 5px; }
.shell { max-width: 1200px; margin: auto; padding: 0 28px; }
.hero { min-height: 530px; padding: 85px 0 78px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.eyebrow, .section-kicker, .mode-tag { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .19em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 23px; height: 2px; background: var(--orange); }
.eyebrow-pill { color: #7F8BA2; border: 1px solid var(--line); padding: 5px 8px; border-radius: 5px; font-size: 8px; letter-spacing: .12em; margin-left: 5px; }
h1 { font-size: clamp(54px, 7vw, 88px); line-height: .91; letter-spacing: -.075em; margin: 25px 0 22px; font-weight: 950; }
h1 > span:first-child { color: var(--blue); }
.period { color: var(--orange); }
.hero-description { max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.button { min-height: 45px; border: 1px solid transparent; border-radius: 9px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-size: 11px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button span { font-size: 16px; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 8px 25px rgba(59,130,246,.18); }
.button-primary:hover:not(:disabled) { background: #2563EB; }
.button-ghost { color: #D2D9E6; background: transparent; border-color: var(--line); }
.button-outline { color: var(--orange); background: rgba(245,158,11,.04); border-color: rgba(245,158,11,.5); }
.button:disabled { opacity: .48; cursor: not-allowed; }
.hero-meta { display: flex; align-items: center; gap: 13px; margin-top: 32px; color: #8390A7; font-size: 10px; }
.hero-meta .dot { margin: 0 6px 0 0; }
.dot-green { background: var(--green); }
.meta-separator { width: 3px; height: 3px; background: #58647A; border-radius: 50%; }
.hero-art { position: relative; padding: 22px; border: 1px solid rgba(113,139,183,.2); border-radius: 19px; background: linear-gradient(145deg, rgba(27,37,64,.95), rgba(17,24,41,.96)); box-shadow: 0 25px 80px rgba(0,0,0,.25); transform: perspective(1000px) rotateY(-4deg); }
.art-topline, .art-footer { display: flex; justify-content: space-between; color: #687790; font-size: 8px; letter-spacing: .16em; font-weight: 800; }
.score-row { display: flex; justify-content: center; align-items: center; gap: 58px; padding: 30px 0 23px; }
.score-row div { display: grid; gap: 3px; }
.score-row small { color: #7F8CA5; font-size: 8px; letter-spacing: .15em; }
.score-row strong { font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.score-row > b { color: #59677F; font-size: 20px; }
.score-right { text-align: right; }
.score-right strong { color: var(--orange); }
.court { position: relative; height: 210px; overflow: hidden; border: 1px solid rgba(148,163,184,.13); border-radius: 8px; background: #0B101C; }
.court-center, .mini-center { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed rgba(112,132,164,.32); }
.paddle { position: absolute; width: 7px; height: 47px; top: 82px; border-radius: 5px; }
.paddle-left { left: 17px; background: var(--blue); box-shadow: 0 0 18px rgba(59,130,246,.5); }
.paddle-right { right: 17px; background: var(--orange); box-shadow: 0 0 18px rgba(245,158,11,.4); }
.ball { position: absolute; width: 9px; height: 9px; top: 90px; left: 57%; background: white; border-radius: 50%; box-shadow: 0 0 15px rgba(255,255,255,.6); }
.court-label { position: absolute; bottom: 12px; color: #3B4962; font-size: 8px; letter-spacing: .15em; }
.court-label-left { left: 17px; }.court-label-right { right: 17px; }
.art-footer { margin-top: 15px; }
.live-indicator { color: var(--green); }
.live-indicator i { width: 6px; height: 6px; }
.section { padding: 35px 0; }
.modes-section { padding-top: 15px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 23px; }
.section-heading h2, .how-copy h2, .roadmap h2 { margin: 9px 0 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.045em; }
.section-index { color: #66748C; font-size: 10px; letter-spacing: .15em; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.mode-card { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.mode-card:after { content: ""; position: absolute; width: 170px; height: 170px; right: -95px; top: -95px; border-radius: 50%; background: var(--blue); opacity: .08; filter: blur(2px); }
.mode-online:after { background: var(--orange); }
.mode-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: #8CB8FF; background: rgba(59,130,246,.13); font-size: 28px; }
.online-icon { color: var(--orange); background: rgba(245,158,11,.12); }
.mode-tag { display: block; margin-top: 21px; color: #7F9FD4; font-size: 9px; }
.mode-online .mode-tag { color: var(--orange); }
.mode-card h3 { margin: 8px 0; font-size: 23px; letter-spacing: -.04em; }
.mode-card p { max-width: 440px; min-height: 47px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.mode-card ul { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 20px 0 23px; list-style: none; color: #A9B4C8; font-size: 10px; }
.mode-card li:before { content: "✓"; color: var(--green); margin-right: 6px; }
.mode-button { min-width: 185px; }
.play-panel { margin: 55px 0 30px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(22,29,48,.72); }
.text-button { color: #9AA8BF; background: none; border: 0; font-size: 11px; }
.text-button:hover { color: white; }
.panel-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-top: 15px; }
.panel-info h3 { margin: 17px 0 8px; font-size: 23px; }
.panel-info p { max-width: 510px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.status-chip { display: inline-flex; align-items: center; color: #8CB8FF; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.status-chip i { width: 6px; height: 6px; }
.status-orange { color: var(--orange); }.status-orange i { background: var(--orange); box-shadow: 0 0 10px rgba(245,158,11,.5); }
.field-label { display: block; margin: 18px 0 7px; color: #AAB5C8; font-size: 10px; }
.field-control { width: 100%; max-width: 250px; height: 42px; padding: 0 12px; color: white; border: 1px solid var(--line); border-radius: 8px; background: #101729; outline: none; }
.panel-info > .button { display: flex; width: fit-content; margin-top: 14px; }
.mini-court, .online-preview { min-height: 190px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0D1423; color: #71809A; font-size: 9px; letter-spacing: .18em; }
.mini-center { border-color: #35425A; }.mini-court span { z-index: 1; padding: 7px 10px; border: 1px solid var(--line); border-radius: 5px; background: #0D1423; }
.room-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.join-row { display: flex; gap: 7px; }
.join-row .field-control { width: 145px; }
.fine-print { color: #71809A !important; font-size: 10px !important; }
.online-preview { gap: 8px; align-content: center; }
.online-preview-icon { color: var(--orange); font-size: 35px; }
.online-preview strong { color: white; font-size: 21px; letter-spacing: .08em; }
.online-preview > span { color: #75839A; font-size: 8px; }
.preview-players { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #AAB5C8; font-size: 8px; }
.preview-players i { width: 34px; border-top: 1px dashed var(--blue); }
.how-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 80px 0; }
.how-copy h2 { line-height: 1.2; }.how-copy h2 span { color: var(--blue); }
.how-copy p { max-width: 390px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.controls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.control-card { min-height: 82px; padding: 14px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; background: rgba(22,29,48,.65); }
.control-card kbd { min-width: 26px; height: 27px; display: grid; place-items: center; padding: 0 6px; border: 1px solid #3B4A66; border-radius: 6px; color: #DCE5F4; background: #202B43; font-size: 10px; box-shadow: 0 2px 0 #0A0F1B; }
.control-card span { width: 100%; color: #8492AA; font-size: 9px; }
.roadmap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px; margin-bottom: 70px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(110deg, rgba(22,29,48,.9), rgba(17,24,40,.7)); }
.roadmap h2 { font-size: 20px; }
.roadmap-steps { display: flex; gap: 24px; }
.roadmap-step { display: grid; gap: 5px; min-width: 90px; }
.roadmap-step b { color: #66748C; font-size: 10px; }
.roadmap-step span { color: #AAB5C8; font-size: 10px; font-weight: 700; }
.roadmap-step small { color: #687790; font-size: 8px; }
.roadmap-step.active b, .roadmap-step.active span { color: var(--blue); }
.footer { max-width: 1200px; min-height: 75px; margin: auto; padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #6F7D94; font-size: 9px; }
.footer-brand { color: white; transform: scale(.85); transform-origin: left center; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 65px 0; }
  .hero-art { max-width: 560px; width: 100%; margin: auto; transform: none; }
  .how-section { grid-template-columns: 1fr; gap: 22px; padding: 60px 0; }
  .roadmap { align-items: flex-start; flex-direction: column; }
  .roadmap-steps { width: 100%; justify-content: space-between; }
}
@media (max-width: 560px) {
  .topbar { height: 65px; padding: 0 17px; }
  .top-nav { display: none; }
  .back-link { font-size: 10px; }
  .shell { padding: 0 17px; }
  .hero { min-height: auto; padding: 57px 0 58px; }
  h1 { font-size: 59px; }
  .hero-meta { flex-wrap: wrap; gap: 9px; }
  .hero-art { padding: 15px; }
  .court { height: 175px; }
  .paddle { top: 65px; }
  .ball { top: 74px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { padding: 22px; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading h2 { font-size: 26px; }
  .panel-content { grid-template-columns: 1fr; }
  .play-panel { padding: 19px; }
  .room-actions { flex-direction: column; align-items: flex-start; }
  .roadmap { padding: 21px; }
  .roadmap-steps { gap: 10px; }
  .roadmap-step { min-width: 0; }
  .footer { padding: 18px 17px; gap: 12px; flex-wrap: wrap; }
}
