@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=General+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #030711;
  --bg-accent: radial-gradient(circle at 20% 20%, rgba(98, 149, 255, 0.18), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(255, 156, 241, 0.2), transparent 55%),
                linear-gradient(180deg, #030711 0%, #050d1f 60%, #04060e 100%);
  --surface: rgba(10, 16, 33, 0.85);
  --surface-soft: rgba(20, 24, 44, 0.65);
  --surface-card: rgba(12, 19, 43, 0.7);
  --surface-glow: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --primary: #7bf2ff;
  --primary-strong: #01ffd8;
  --secondary: #ff8fb1;
  --highlight: #ffd766;
  --muted: rgba(226, 233, 255, 0.78);
  --muted-strong: rgba(249, 252, 255, 0.92);
  --text: #f8f9ff;
  --shadow-lg: 0 40px 80px rgba(2, 5, 18, 0.75);
  --shadow-md: 0 30px 60px rgba(3, 7, 28, 0.55);
  --shadow-sm: 0 18px 38px rgba(3, 7, 24, 0.45);
  --radius-xl: 48px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --gradient-accent: linear-gradient(120deg, #7bf2ff, #ff8fb1 45%, #ffd766);
  --gradient-soft: linear-gradient(135deg, rgba(123, 242, 255, 0.08), rgba(255, 143, 177, 0.08));
  --blur: backdrop-filter: blur(14px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "General Sans", "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  background: var(--bg-accent);
  color: var(--text);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.45;
  z-index: -1;
}

body::before {
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 143, 177, 0.5), transparent 65%);
}

body::after {
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(123, 242, 255, 0.45), transparent 60%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--highlight);
}

::selection {
  background: rgba(123, 242, 255, 0.35);
  color: #010203;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -200%);
  background: #fff;
  color: #040513;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translate(-50%, 1rem);
}

.container {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.surface {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.surface::before {
  content: "";
  position: absolute;
  inset: 15% auto auto 5%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 143, 177, 0.25), transparent 60%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.6;
}

.surface::after {
  content: "";
  position: absolute;
  inset: auto 8% 10% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(123, 242, 255, 0.2), transparent 60%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.6;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  inset: 0;
  z-index: 200;
  background: rgba(4, 7, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 40px rgba(2, 4, 14, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7bf2ff, #ff8fb1);
  box-shadow: var(--shadow-sm);
  color: #051024;
  font-size: 1.4rem;
}

.brand-text {
  display: grid;
  gap: 0.2rem;
}

.brand-line {
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-tag {
  color: var(--highlight);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--gradient-accent);
  color: #050812;
  box-shadow: 0 25px 45px rgba(255, 143, 177, 0.35);
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-3px);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
}

.button.glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 6rem) 0;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  top: -120px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 143, 177, 0.45), transparent 60%);
}

.hero::after {
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(123, 242, 255, 0.45), transparent 60%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted-strong);
  margin: 0;
  max-width: 48ch;
}

.eyebrow,
.section-eyebrow {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--primary);
  margin: 0;
}

.disclaimer {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.hero-visual {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  border-radius: calc(var(--radius-xl) - 12px);
  box-shadow: var(--shadow-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-grid,
.community-intro,
.story-grid,
.resource-grid,
.contact-panels,
.deck-citrus_0aa,
.community-moments {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.experience-copy,
.community-copy,
.story-copy,
.section-header {
  display: grid;
  gap: 1rem;
}

.pill-list,
.checklist,
.contact-lines,
.contact-tips,
.story-pillars,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.pill,
.badge-kite_91e {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge-kite_91e {
  margin-top: 0.6rem;
}

.experience-card,
.community-card,
.pillar,
.story-panel,
.resource-card,
.contact-panel,
.card-lyra_77c,
.panel-orchid_ba92,
.table-body,
.scoreboard,
.hand,
.table-wrapper,
.callout,
.info-grid > div,
.table-banner,
.bordered-panel {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.8rem;
}

.experience-card h3,
.community-card h3,
.story-panel h3,
.resource-card h3,
.contact-panel h3,
.card-lyra_77c h3,
.table-banner h3,
.scoreboard h2,
.hand__header h3 {
  margin: 0;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted-strong);
}

.community-quote blockquote {
  margin: 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
}

.community-quote cite {
  letter-spacing: 0.24em;
  font-style: normal;
  text-transform: uppercase;
  color: var(--secondary);
}

.section-header h2,
.story-copy h2,
.resources h2,
.contact-section h2,
.table-grid h2,
.info-grid h2,
.story-panel h2,
.vessel-nyx_7d5a h2,
.playbook-celestia_f24b h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.section-lead,
.story-copy p,
.resource-card p,
.contact-panel p,
.community-card p,
.community-copy p,
.experience-copy p,
.playbook-celestia_f24b p,
.vessel-nyx_7d5a p {
  color: var(--muted);
  margin: 0;
}

.ordered-list {
  counter-reset: order;
  display: grid;
  gap: 1.1rem;
}

.ordered-list li {
  counter-increment: order;
  padding-left: 3rem;
  position: relative;
}

.ordered-list li::before {
  content: counter(order);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: #050812;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.1em;
}

.checklist li {
  position: relative;
  padding-left: 1.8rem;
}

.checklist li::before {
  content: "✺";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--primary-strong);
}

.table-wrapper {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.table-wrapper::before,
.table-wrapper::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -30%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.35;
  pointer-events: none;
}

.table-wrapper::after {
  inset: auto -35% -40% auto;
  background: radial-gradient(circle, rgba(255, 143, 177, 0.28), transparent 70%);
}

.table-wrapper::before {
  background: radial-gradient(circle, rgba(123, 242, 255, 0.28), transparent 70%);
}

.payout-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
  color: var(--text);
}

.payout-table th,
.payout-table td {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.payout-table th:first-child,
.payout-table td:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.payout-table th:last-child,
.payout-table td:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.table-footnote {
  margin-top: 1rem;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 3rem);
  align-items: start;
}

.table-body {
  padding: clamp(2rem, 5vw, 3rem);
}

.table-banner {
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

.table-name {
  letter-spacing: 0.38em;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.status-bar {
  background: rgba(123, 242, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(123, 242, 255, 0.2);
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scoreboard {
  gap: 1.4rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat span {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat strong {
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: var(--text);
}

.bet-control {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.6rem;
}

.bet-control input[type="range"] {
  width: 100%;
  accent-color: var(--secondary);
}

.table-body h3 {
  margin: 0;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

.hands {
  display: grid;
  gap: 1.5rem;
}

.hand__cards {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.card {
  width: 96px;
  height: 140px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(150deg, rgba(123, 242, 255, 0.2), rgba(255, 143, 177, 0.2));
  display: grid;
  place-items: center;
  color: #070b1f;
  font-size: 1.7rem;
  font-weight: 700;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.card__corner {
  position: absolute;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.card__corner--top {
  top: 12px;
  left: 12px;
}

.card__corner--bottom {
  bottom: 12px;
  right: 12px;
  transform: rotate(180deg);
}

.controls {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.callout {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.contact-lines li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(123, 242, 255, 0.2);
  color: var(--primary);
  font-size: 1.3rem;
}

.story-panel a,
.contact-panel a {
  color: var(--primary);
}

.story-panel .muted,
.contact-note {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.resource-card {
  min-height: 100%;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
}

.story-copy ul li,
.story-copy li strong {
  color: var(--primary);
}

.site-footer {
  background: rgba(2, 4, 12, 0.95);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
}

.footer-brand {
  margin: 0.5rem 0;
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  color: var(--muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.footer-badges {
  margin: 2rem 0;
  text-align: center;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  opacity: 0.75;
}

/* Custom sections introduced for SEO update */
.vessel-nyx_7d5a {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.grid-aurora_3c1 {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel-orchid_ba92 {
  background: rgba(255, 255, 255, 0.03);
}

.eyebrow-cosmos_9f1 {
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--secondary);
  margin: 0;
}

.title-sunrise_b112 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.copy-lilt_51ac {
  color: var(--muted);
  margin: 0;
}

.playbook-celestia_f24b {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.deck-citrus_0aa {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-lyra_77c {
  background: rgba(255, 255, 255, 0.03);
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .site-nav {
    justify-content: center;
  }

  .header-inner {
    flex-direction: column;
    padding: 1rem 0;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .button {
    width: 100%;
  }

  .ordered-list li {
    padding-left: 2.5rem;
  }

  .card {
    width: 78px;
    height: 120px;
  }

  .footer-bottom {
    text-align: center;
  }
}
