:root {
  color-scheme: dark;
  --bg: #080a08;
  --panel: #101410;
  --panel-soft: rgba(16, 20, 16, 0.88);
  --text: #f3f6ef;
  --muted: #929b8f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.21);
  --lime: #b8ff3d;
  --green: #5fe08b;
  --cyan: #61d9e8;
  --ink: #0a1006;
  --page: min(1360px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

.background { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.background-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.7) 45%, transparent 88%); }
.signal { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 20px 5px rgba(184,255,61,.25); animation: drift 12s ease-in-out infinite; }
.signal-one { top: 19%; right: 12%; }
.signal-two { top: 67%; left: 8%; animation-delay: -6s; background: var(--cyan); box-shadow: 0 0 20px 5px rgba(97,217,232,.2); }

.site-header { width: var(--page); height: 84px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { width: max-content; display: inline-flex; }
.brand img, .site-footer img { display: block; }
.main-nav { display: flex; gap: 32px; color: var(--muted); font-size: 13px; }
.main-nav a { transition: color 160ms ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.language-switch { justify-self: end; display: flex; height: 34px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.025); }
.language-button { width: 42px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.language-button.is-active { background: var(--lime); color: var(--ink); }

.hero { width: var(--page); min-height: calc(100svh - 112px); margin: 0 auto; padding: 70px 0 80px; display: grid; grid-template-columns: minmax(0,.92fr) minmax(500px,1.08fr); align-items: center; gap: clamp(56px,7vw,112px); }
.eyebrow { margin: 0 0 22px; color: var(--lime); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(64px,6.2vw,108px); font-weight: 770; line-height: .91; }
.hero h1 span { display: block; }
.accent-text { color: var(--lime); }
.hero-lead { max-width: 620px; margin: 32px 0 0; color: #c4cac0; font-size: 18px; line-height: 1.7; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.primary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 4px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease; }
.primary-action:hover, .primary-action:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(184,255,61,.15); }
.text-action { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.text-action:hover, .text-action:focus-visible { color: var(--text); }

.workspace-model { min-height: 530px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel-soft); box-shadow: 0 34px 90px rgba(0,0,0,.34); backdrop-filter: blur(18px); }
.model-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.model-header div { display: grid; gap: 4px; }
.model-header span { color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; font-weight: 700; }
.model-header strong { font-size: 20px; }
.model-header .access-label { color: var(--lime); }
.sports-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 18px; }
.sports-list article { min-width: 0; min-height: 112px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 16px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.13); }
.sports-list img { width: 46px; height: 46px; object-fit: contain; }
.sports-list article div { min-width: 0; display: grid; gap: 5px; }
.sports-list strong { font-size: 15px; }
.sports-list span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.model-foot { min-height: 54px; display: flex; align-items: center; margin-top: 18px; padding: 0 16px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.model-foot::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(95,224,139,.45); }

.data-strip { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 16px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.16); color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.data-strip i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); }

.product-section { width: var(--page); margin: 0 auto; padding: 132px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(64px,9vw,140px); }
.section-heading h2, .teams-copy h2, .contact-section h2, .legal-section h2 { margin: 0; font-size: clamp(42px,4.2vw,68px); line-height: 1.04; }
.section-heading > p:last-child { max-width: 580px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.principles { border-top: 1px solid var(--line-strong); }
.principles article { min-height: 190px; display: grid; grid-template-columns: 52px 1fr; gap: 22px; align-content: center; border-bottom: 1px solid var(--line-strong); }
.principles article > span { color: var(--lime); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.principles h3 { margin: 0; font-size: 26px; }
.principles p { grid-column: 2; max-width: 580px; margin: -54px 0 0; padding-top: 45px; color: var(--muted); font-size: 15px; }

.teams-section { min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.context-map { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 52px 52px; }
.context-map::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(184,255,61,.16); border-radius: 50%; }
.context-map img { width: min(29vw,310px); height: auto; filter: drop-shadow(0 20px 55px rgba(184,255,61,.14)); animation: float 8s ease-in-out infinite; }
.context-map span { position: absolute; max-width: 140px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 3px; background: rgba(16,20,16,.96); color: var(--lime); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; font-weight: 700; text-align: center; }
.context-map span:nth-of-type(1) { left: 8%; top: 14%; }.context-map span:nth-of-type(2) { right: 9%; top: 16%; }.context-map span:nth-of-type(3) { left: 7%; bottom: 14%; }.context-map span:nth-of-type(4) { right: 7%; bottom: 15%; }
.context-map span:nth-of-type(5) { left: 30%; top: 7%; }.context-map span:nth-of-type(6) { right: 28%; top: 8%; }.context-map span:nth-of-type(7) { left: 3%; top: 33%; }.context-map span:nth-of-type(8) { right: 3%; top: 35%; }
.context-map span:nth-of-type(9) { left: 3%; top: 53%; }.context-map span:nth-of-type(10) { right: 3%; top: 54%; }.context-map span:nth-of-type(11) { left: 27%; bottom: 7%; }.context-map span:nth-of-type(12) { right: 27%; bottom: 8%; }
.context-map span:nth-of-type(13) { left: 24%; top: 23%; }.context-map span:nth-of-type(14) { right: 24%; top: 24%; }.context-map span:nth-of-type(15) { left: 22%; bottom: 23%; }.context-map span:nth-of-type(16) { right: 21%; bottom: 22%; }
.context-map span:nth-of-type(17) { left: 4%; bottom: 31%; }.context-map span:nth-of-type(18) { right: 5%; bottom: 31%; }
.teams-copy { width: min(650px,calc(100% - 80px)); margin: auto; padding: 80px 0; }
.teams-intro { max-width: 570px; margin: 34px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.club-view-section { width: var(--page); margin: 0 auto; padding: 126px 0 138px; }
.club-view-heading { max-width: 880px; }
.club-view-heading h2 { margin: 0; font-size: clamp(52px,5.8vw,88px); line-height: .98; }
.club-roles { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 70px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.club-roles article { min-width: 0; min-height: 250px; padding: 28px 22px 34px; border-right: 1px solid var(--line); }
.club-roles article:last-child { border-right: 0; }
.club-roles article > span { color: var(--lime); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 800; }
.club-roles h3 { margin: 72px 0 14px; font-size: 20px; line-height: 1.2; }
.club-roles p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.contact-section { width: var(--page); min-height: 500px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.contact-link { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 5px; background: var(--lime); color: var(--ink); transition: transform 160ms ease; }
.contact-link:hover, .contact-link:focus-visible { transform: translateY(-4px); }
.contact-link span { font-size: 13px; font-weight: 700; }.contact-link strong { overflow-wrap: anywhere; font-size: 22px; }

.legal-section { width: var(--page); margin: 0 auto; padding: 86px 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px,9vw,140px); align-items: end; border-top: 1px solid var(--line-strong); }
.legal-section > * { min-width: 0; }
.legal-facts { border-top: 1px solid var(--line-strong); }
.legal-facts > div { display: grid; grid-template-columns: minmax(150px,.72fr) minmax(0,1.28fr); gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.legal-facts span { color: var(--lime); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 800; }
.legal-facts address, .legal-facts strong { color: #c7cec3; font-size: 17px; font-style: normal; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.loading-line { display: block; width: min(340px,70%); height: 42px; background: rgba(255,255,255,.07); animation: pulse 1.4s ease-in-out infinite; }.loading-line.short { width: 90%; height: 48px; }.loading-line.tiny { width: 130px; height: 26px; }
.legal-error { max-width: 540px; margin: 24px 0 0; color: var(--muted); }

.site-footer { width: var(--page); min-height: 104px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }.site-footer > div { justify-self: end; display: flex; align-items: center; gap: 24px; }.site-footer > div a:last-child { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.privacy-main { width: min(820px,calc(100vw - 40px)); margin: 0 auto; padding: 90px 0 130px; }
.privacy-main h1 { margin: 0; font-size: clamp(48px,7vw,78px); }.privacy-main h2 { margin: 54px 0 14px; font-size: 24px; }.privacy-main p, .privacy-main li { color: #c4cac0; line-height: 1.75; }.privacy-main a { color: var(--lime); }
.utility-header { grid-template-columns: 1fr auto; }
.utility-back { color: var(--muted); font-size: 13px; }
.utility-back:hover, .utility-back:focus-visible { color: var(--text); }
.terms-operator { margin-top: 62px; padding-top: 4px; border-top: 1px solid var(--line-strong); }
.terms-operator .loading-line { margin: 8px 0; }
.error-main { width: var(--page); min-height: calc(100svh - 84px); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px 0; }
.error-main h1 { max-width: 900px; margin: 0; font-size: clamp(58px,9vw,126px); line-height: .92; }
.error-main > p:not(.eyebrow) { max-width: 560px; margin: 30px 0 38px; color: var(--muted); font-size: 17px; }

@keyframes drift { 50% { transform: translate3d(34px,-22px,0); } }
@keyframes float { 50% { transform: translateY(-13px); } }
@keyframes pulse { 50% { opacity: .45; } }

@media (max-width: 1040px) {
  :root { --page: min(100% - 32px,920px); }
  .site-header { grid-template-columns: 1fr auto; }.main-nav { display: none; }
  .hero, .product-section { grid-template-columns: 1fr; }.hero { padding-top: 72px; }.hero-copy { max-width: 760px; }
  .teams-section { grid-template-columns: 1fr; }.context-map { border-right: 0; border-bottom: 1px solid var(--line); }
  .club-roles { grid-template-columns: repeat(2,minmax(0,1fr)); }.club-roles article { border-bottom: 1px solid var(--line); }.club-roles article:nth-child(2n) { border-right: 0; }.club-roles article:last-child { border-bottom: 0; }
  .contact-section, .legal-section { grid-template-columns: 1fr; }.contact-section { gap: 48px; padding: 100px 0; }
}

@media (max-width: 680px) {
  :root { --page: calc(100% - 28px); }
  .site-header { height: 72px; }.brand img { width: 132px; }
  .hero { padding: 54px 0 58px; gap: 50px; }.hero h1 { font-size: 52px; }.hero-lead { font-size: 16px; }.hero-actions { align-items: stretch; flex-direction: column; }.primary-action { width: 100%; }.text-action { justify-content: center; }
  .workspace-model { padding: 15px; }.sports-list { grid-template-columns: 1fr; }.sports-list article { min-height: 84px; }.sports-list img { width: 40px; height: 40px; }
  .data-strip { justify-content: flex-start; }
  .product-section { padding: 92px 0; }.section-heading h2, .teams-copy h2, .contact-section h2, .legal-section h2 { font-size: 38px; }.principles article { min-height: 175px; }
  .context-map { min-height: 470px; }.context-map::before { width: 300px; height: 300px; }.context-map img { width: 210px; }.context-map span { max-width: 100px; padding: 5px 6px; font-size: 7px; }
  .teams-copy { width: calc(100% - 28px); padding: 72px 0; }
  .club-view-section { padding: 88px 0; }.club-view-heading h2 { font-size: 44px; }.club-roles { grid-template-columns: 1fr; margin-top: 48px; }.club-roles article, .club-roles article:nth-child(2n) { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }.club-roles h3 { margin-top: 44px; }.club-roles article:last-child { border-bottom: 0; }
  .contact-section { min-height: auto; }.contact-link { min-height: 150px; }
  .legal-section { padding: 70px 0; }.legal-facts > div { grid-template-columns: 1fr; gap: 10px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 22px; padding: 28px 0; }.site-footer p { grid-column: 1/-1; grid-row: 2; }.site-footer > div { grid-column: 2; grid-row: 1; }
  html[lang="ka"] .hero h1 { font-size: 43px; line-height: 1.02; } html[lang="ka"] .section-heading h2, html[lang="ka"] .teams-copy h2, html[lang="ka"] .contact-section h2 { font-size: 34px; } html[lang="ka"] .club-view-heading h2 { font-size: 39px; line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
