/* rallis.club home page: a members' club at night. Floating glass nav; thin oversized headlines;
   halftone (dot) artwork drawn on canvas; glass panels with real app content over it;
   a bento of features, each with its own visual. Single dark look, on purpose. */
:root {
  --ink: #050B18;
  --navy: #0A1A36;
  --panel: rgba(16, 38, 77, 0.55);
  --panel-solid: #0E2145;
  --edge: rgba(174, 190, 221, 0.16);
  --edge-hi: rgba(174, 190, 221, 0.32);
  --text: #EEF2FA;
  --text-2: #A7B6D3;
  --text-3: #6F82A8;
  --ball: #D4F23F;
  --blue: #6E9BFF;
  --orange: #FF8A52;
  --amber: #FFB84D;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --brand: 'Archivo', 'Arial Narrow', sans-serif;
  --max: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--text); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.label b { color: var(--ball); font-weight: 500; }
.kicker { display: flex; align-items: baseline; gap: 10px; }
.kicker-items { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.kicker-items span { white-space: nowrap; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.035em; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 23px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--white { background: var(--text); color: var(--ink); }
.btn--white:hover { background: #fff; box-shadow: 0 0 0 6px rgba(238, 242, 250, 0.08); }
.btn--glass { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--edge-hi); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.08); }
.btn--ball { background: var(--ball); color: var(--ink); }
.glass { background: var(--panel); border: 1px solid var(--edge); border-radius: 22px; backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.logo { font-family: var(--brand); font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 24px; letter-spacing: -0.5px; display: inline-flex; align-items: baseline; gap: 3px; }
.logo i { width: 7px; height: 7px; border-radius: 50%; background: var(--ball); display: inline-block; }

.nav { position: fixed; z-index: 20; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; transform: translateX(-50%); width: min(var(--max), calc(100% - 32px)); height: 58px; padding: 0 8px 0 22px; display: flex; align-items: center; gap: 26px; border-radius: 29px; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { font-size: 14px; color: var(--text-2); padding: 7px 12px; border-radius: 16px; }
.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav .act { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav .act a:first-child { font-size: 14px; color: var(--text-2); padding: 0 14px; }
.nav .act a:first-child:hover { color: var(--text); }
.nav .btn { height: 42px; font-size: 14px; }
@media (max-width: 820px) { .nav nav { display: none; } }

.hero { position: relative; min-height: 720px; padding-top: 150px; padding-bottom: 80px; overflow: hidden; }
.hero canvas#ball { position: absolute; right: max(-140px, calc(50% - 760px)); top: 40px; width: 760px; height: 760px; pointer-events: none; }
.hero .glow { position: absolute; right: 8%; top: 120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 242, 63, 0.12), transparent); pointer-events: none; }
.hero .copy { position: relative; max-width: 640px; }
.hero h1 { font-size: clamp(48px, 6vw, 88px); line-height: 0.98; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--ball); }
.hero p.sub { margin: 26px 0 0; font-size: 18px; color: var(--text-2); max-width: 44ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero .meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ticket { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 70px; width: min(400px, calc(100% - 32px)); padding: 18px; display: grid; gap: 12px; }
.ticket .top { display: flex; justify-content: space-between; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 13px; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--edge); color: var(--text-2); white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; }
.ticket h4 { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.ticket .when { font-size: 13px; color: var(--text-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--edge); padding-top: 12px; }
.facts div { display: grid; gap: 2px; }
.facts div + div { padding-left: 14px; border-left: 1px solid var(--edge); }
.facts b { font-weight: 400; font-size: 18px; font-variant-numeric: tabular-nums; }
.facts span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.floater { position: absolute; padding: 9px 13px; border-radius: 14px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 1180px) { .floater { display: none; } }
@media (max-width: 980px) {
  .hero { padding-bottom: 40px; }
  .hero canvas#ball { opacity: 0.16; right: -320px; top: 120px; }
  .ticket { position: relative; right: auto; bottom: auto; margin: 44px auto 0; }
  .floater { display: none; }
}

.sec { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.sec-head { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; }
.sec-head p { margin: 18px 0 0; color: var(--text-2); font-size: 17px; max-width: 54ch; }
@media (max-width: 760px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cell { position: relative; border-radius: 24px; border: 1px solid var(--edge); background: linear-gradient(180deg, rgba(16, 38, 77, 0.55), rgba(10, 26, 54, 0.35)); overflow: hidden; display: flex; flex-direction: column; min-height: 360px; }
.cell .art { position: relative; flex: 1; min-height: 190px; }
.cell .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cell .txt { position: relative; padding: 0 24px 24px; display: grid; gap: 6px; }
.cell h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.cell p { margin: 0; color: var(--text-2); font-size: 14.5px; max-width: 44ch; }
.c4 { grid-column: span 4; } .c2 { grid-column: span 2; } .c3 { grid-column: span 3; }
@media (max-width: 980px) { .c4, .c2, .c3 { grid-column: span 6; } }
.inset { position: absolute; padding: 14px 16px; border-radius: 16px; font-size: 13px; }
.rowx { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.rowx + .rowx { margin-top: 8px; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.scale { display: grid; gap: 30px; padding: 44px 24px 0; }
.scale .bar { position: relative; height: 6px; border-radius: 3px; background: rgba(174, 190, 221, 0.12); }
.scale .bar span { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.scale .bar em { position: absolute; top: -22px; left: 0; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--text-2); }

.founding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.big { font-size: clamp(120px, 16vw, 220px); font-weight: 200; letter-spacing: -0.06em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.big small { display: block; margin-top: 14px; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; line-height: 1.2; color: var(--text-2); font-weight: 300; }
.seat-wrap { position: relative; aspect-ratio: 25 / 20; max-width: 100%; }
.seat-wrap canvas { width: 100%; height: 100%; display: block; }
.founding .note { font-size: 12px; color: var(--text-3); margin-top: 14px; }
@media (max-width: 900px) { .founding { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 26px; border-radius: 22px; border: 1px solid var(--edge); display: grid; gap: 14px; align-content: start; }
.step h3 { font-size: 22px; font-weight: 400; }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.close { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--edge); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(212, 242, 63, 0.10), transparent 70%), var(--panel-solid); }
.close canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }
.close h2 { position: relative; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; }
.close p { position: relative; margin: 18px auto 0; color: var(--text-2); max-width: 46ch; }
.close .ctas { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.stores { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.store { height: 44px; padding: 0 14px 0 12px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 1px var(--edge-hi); display: inline-flex; align-items: center; gap: 9px; cursor: default; }
.store span { display: grid; line-height: 1.05; text-align: left; }
.store small { font-size: 9.5px; color: var(--text-2); }
.store strong { font-size: 15px; font-weight: 600; }

footer { padding-block: 40px 52px; border-top: 1px solid var(--edge); margin-top: 24px; color: var(--text-3); font-size: 13.5px; }
.foot { display: flex; align-items: baseline; gap: 16px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a:hover { color: var(--text); }
footer .logo { color: var(--text); }
footer .mail { margin-left: auto; user-select: all; font-family: var(--mono); font-size: 12.5px; }
/* Phones: logo, links, email, then the copyright as the last, smallest line. */
@media (max-width: 760px) {
  .foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-links { order: 2; gap: 10px 22px; color: var(--text-2); font-size: 14px; }
  footer .mail { order: 3; margin-left: 0; }
  .foot-copy { order: 4; font-size: 12.5px; }
}

/* Cookie banner */
.consent { position: fixed; z-index: 30; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); width: min(720px, calc(100% - 32px)); padding: 16px 16px 16px 22px; border-radius: 20px; display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 14px; color: var(--text-2); }
.consent p strong { color: var(--text); font-weight: 600; }
.consent a { color: var(--ball); }
.consent-actions { display: flex; gap: 8px; }
.consent .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
