@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #090b0a;
  --paper: #eceee7;
  --red: #e23b32;
  --green: #7cffb2;
  --line: rgba(236, 238, 231, 0.18);
  --mono: "DM Mono", monospace;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 900;
}
.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}
.desktop-nav {
  margin-left: auto;
  margin-right: 4vw;
  display: flex;
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}
.desktop-nav a { opacity: .7; transition: opacity .2s; }
.desktop-nav a:hover { opacity: 1; }
.buy-coin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 17px;
  background: #65e8a0;
  color: #092b1b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .2s, background .2s;
}
.buy-coin-button { margin-right: 8px; }
.buy-coin-button:hover { background: #86f9b9; transform: translateY(-2px); }
.pump-mark {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 13px;
  border: 2px solid #0b3e29;
  border-radius: 999px;
  overflow: hidden;
  transform: rotate(-35deg);
  flex: 0 0 auto;
  background: white;
}
.pump-mark i {
  position: absolute;
  inset: 50% 0 0;
  display: block;
  background: #22b968;
  border-top: 1px solid #0b3e29;
}
.header-cta {
  background: var(--paper);
  color: var(--ink);
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.header-cta span { color: var(--red); margin-left: 12px; }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/poker-room-hero.png");
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,8,8,.94) 0%, rgba(7,8,8,.56) 40%, rgba(7,8,8,.08) 72%), linear-gradient(0deg, rgba(7,8,8,.64), transparent 35%);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 76% 45%, transparent 0 22%, rgba(0,0,0,.3) 75%);
}
.hero-content {
  z-index: 3;
  position: relative;
  width: min(720px, 60vw);
  margin-left: 8vw;
  padding-top: 86px;
}
.eyebrow, .kicker {
  margin: 0 0 26px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .08em;
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}
h1, h2 { letter-spacing: 0; }
h1 {
  margin: 0;
  font-size: clamp(64px, 8.2vw, 132px);
  line-height: .8;
  font-weight: 900;
}
h1 span, h2 em { color: var(--red); font-style: normal; }
.hero-copy {
  width: min(480px, 90%);
  margin: 36px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 180px;
  padding: 17px 18px;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform .2s, background .2s;
}
.primary-button:hover { transform: translateY(-3px); background: #f24c42; }
.text-link {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 10px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 7px;
}
.hero-status {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 45px;
  display: grid;
  grid-template-columns: 10px auto;
  gap: 4px 8px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 9px;
}
.hero-status strong { grid-column: 2; font-size: 10px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.5s infinite; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 4vw;
  bottom: 45px;
  font-family: var(--mono);
  font-size: 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: .65;
}
.scroll-cue span { display: inline-block; width: 1px; height: 40px; background: white; margin-top: 10px; }

.reveal { opacity: 0; transform: translateY(20px); animation: reveal .8s forwards .15s; }
.delay-1 { animation-delay: .3s; }
.delay-2 { animation-delay: .45s; }
.delay-3 { animation-delay: .6s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.manifesto {
  background: var(--paper);
  color: var(--ink);
  padding: 110px 8vw 120px;
  display: grid;
  grid-template-columns: 1fr 2.4fr 1.5fr;
  gap: 5vw;
}
.section-index { font-family: var(--mono); font-size: 9px; opacity: .52; text-transform: uppercase; }
.manifesto-copy h2, .room-copy h2, .settlement h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(45px, 5.4vw, 84px);
  line-height: .93;
  font-weight: 900;
}
.body-copy, .room-copy > p {
  width: min(500px, 100%);
  color: rgba(9,11,10,.6);
  line-height: 1.7;
  font-size: 15px;
  margin: 36px 0 0;
}
.protocol-lines { border-top: 1px solid rgba(0,0,0,.18); }
.protocol-lines article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.protocol-lines article > span { font-family: var(--mono); font-size: 9px; color: var(--red); }
.protocol-lines h3 { margin: 0 0 8px; font-size: 15px; text-transform: uppercase; }
.protocol-lines p { margin: 0; font-size: 12px; line-height: 1.5; opacity: .58; }

.room-section {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: #111411;
  overflow: hidden;
}
.room-visual {
  min-height: 700px;
  position: relative;
  background: radial-gradient(circle at center, #242b24, #0b0d0c 66%);
  perspective: 900px;
}
.solana-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(124,255,178,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(124,255,178,.25) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(62deg) scale(1.6);
}
.room-orbit { position: absolute; border: 1px solid rgba(124,255,178,.25); border-radius: 50%; animation: orbit 14s linear infinite; }
.orbit-one { width: 480px; height: 480px; left: calc(50% - 240px); top: calc(50% - 240px); }
.orbit-two { width: 650px; height: 250px; left: calc(50% - 325px); top: calc(50% - 125px); transform: rotate(25deg); animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.floating-card {
  position: absolute;
  width: 145px;
  height: 205px;
  border-radius: 8px;
  background: #e8e9e3;
  color: #080a09;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  padding: 16px;
  font-size: 34px;
  font-weight: 800;
}
.floating-card b { font-size: 62px; align-self: center; margin-top: 20px; }
.card-a { left: 31%; top: 27%; transform: rotate(-12deg) translateZ(50px); animation: float-a 5s ease-in-out infinite; }
.card-k { right: 29%; top: 36%; color: var(--red); transform: rotate(13deg); animation: float-k 5.5s ease-in-out infinite; }
@keyframes float-a { 50% { transform: rotate(-8deg) translateY(-16px); } }
@keyframes float-k { 50% { transform: rotate(8deg) translateY(12px); } }
.chip-stack { position: absolute; left: 48%; top: 62%; width: 90px; transform: rotate(-6deg); }
.chip-stack i {
  display: block;
  height: 17px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--red);
  border: 4px dashed #faf3e9;
  box-shadow: 0 4px 7px rgba(0,0,0,.45);
}
.room-copy {
  padding: 120px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.room-copy .section-index, .room-copy > p { color: rgba(255,255,255,.55); }
.room-copy h2 { margin-bottom: 0; }
.room-copy .dark-button { margin-top: 38px; align-self: flex-start; }

.settlement { padding: 110px 8vw; background: #e2e4dc; color: var(--ink); }
.settlement-heading { display: flex; justify-content: space-between; align-items: flex-end; margin: 50px 0 90px; }
.settlement-heading .kicker { align-self: flex-start; }
.transaction-flow { display: flex; align-items: center; }
.flow-node { min-width: 170px; display: grid; gap: 7px; }
.flow-node span { font: 9px var(--mono); color: var(--red); }
.flow-node strong { text-transform: uppercase; font-size: 14px; }
.flow-node small { font: 10px var(--mono); opacity: .5; }
.flow-node.active strong { color: var(--red); }
.flow-line { height: 1px; flex: 1; background: rgba(0,0,0,.2); margin: 0 3vw; position: relative; overflow: hidden; }
.flow-line i { display: block; width: 25%; height: 1px; background: var(--red); animation: transact 2.3s infinite; }
@keyframes transact { from { transform: translateX(-100%); } to { transform: translateX(500%); } }

.final-cta {
  min-height: 590px;
  padding: 90px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--red);
  color: var(--ink);
}
.final-cta .eyebrow::before { background: var(--ink); }
.final-cta h2 span { color: var(--paper); }
.circle-cta {
  width: 230px;
  height: 230px;
  border: 1px solid rgba(0,0,0,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  font: 700 12px var(--mono);
  transition: background .3s, color .3s, transform .3s;
}
.circle-cta b { position: absolute; right: 42px; top: 42px; font-size: 20px; }
.circle-cta:hover { background: var(--ink); color: white; transform: scale(1.04); }

footer {
  padding: 70px 4vw 28px;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 30px;
  align-items: start;
}
footer p { margin: 0; opacity: .5; font-size: 13px; }
footer > div { display: flex; flex-direction: column; gap: 10px; font: 10px var(--mono); text-transform: uppercase; }
footer small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; font: 8px var(--mono); opacity: .5; }

@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .buy-coin-button { margin-left: auto; margin-right: 12px; min-height: 38px; padding: 0 12px; font-size: 9px; }
  .menu-toggle {
    display: grid;
    gap: 6px;
    background: none;
    border: 0;
    margin-left: 0;
    padding: 12px 0 12px 12px;
  }
  .menu-toggle span { display: block; width: 24px; height: 1px; background: white; }
  .desktop-nav.open {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 28px 4vw;
    flex-direction: column;
    background: #090b0a;
  }
  .hero { background-position: 58% center; align-items: flex-end; padding-bottom: 125px; }
  .hero-content { margin-left: 7vw; width: 86vw; padding-top: 120px; }
  h1 { font-size: clamp(54px, 17vw, 86px); }
  .hero-copy { font-size: 14px; }
  .scroll-cue { display: none; }
  .hero-status { bottom: 28px; }
  .manifesto { grid-template-columns: 1fr; padding: 80px 7vw; }
  .manifesto-copy h2, .room-copy h2, .settlement h2, .final-cta h2 { font-size: clamp(43px, 13vw, 70px); }
  .protocol-lines { margin-top: 30px; }
  .room-section { grid-template-columns: 1fr; }
  .room-visual { min-height: 540px; }
  .room-copy { padding: 80px 7vw; }
  .settlement { padding: 80px 7vw; }
  .settlement-heading { display: block; margin: 40px 0 70px; }
  .transaction-flow { align-items: flex-start; flex-direction: column; gap: 25px; }
  .flow-line { flex: none; width: 1px; height: 45px; margin: 0 0 0 5px; }
  .flow-line i { width: 1px; height: 25%; animation: transact-mobile 2s infinite; }
  @keyframes transact-mobile { from { transform: translateY(-100%); } to { transform: translateY(500%); } }
  .final-cta { flex-direction: column; align-items: flex-start; gap: 60px; }
  .circle-cta { align-self: flex-end; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .brand-logo { width: 34px; height: 34px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-status { left: 7vw; right: auto; }
  .floating-card { width: 112px; height: 160px; font-size: 25px; }
  .floating-card b { font-size: 45px; }
  .card-a { left: 23%; }
  .card-k { right: 20%; }
  .room-visual { min-height: 470px; }
  .circle-cta { width: 190px; height: 190px; }
}

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