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

:root {
  --bg: #030511;
  --bg-alt: #0b0f25;
  --surface: rgba(10, 16, 34, 0.82);
  --surface-soft: rgba(16, 24, 48, 0.64);
  --surface-glass: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.12);
  --primary: #ffd95a;
  --primary-dark: #f7b03d;
  --accent: #7ce7ff;
  --highlight: #ff8adb;
  --muted: rgba(218, 226, 255, 0.76);
  --muted-strong: rgba(236, 242, 255, 0.92);
  --foreground: #fdfcff;
  --shadow-xl: 0 45px 120px rgba(3, 4, 24, 0.65);
  --shadow-lg: 0 30px 85px rgba(3, 4, 24, 0.52);
  --shadow-md: 0 20px 60px rgba(3, 4, 24, 0.4);
  --radius-lg: 42px;
  --radius-md: 26px;
  --radius-sm: 16px;
  --gradient-sky: linear-gradient(120deg, #ffd95a 0%, #ff8adb 48%, #7ce7ff 100%);
  --gradient-mist: linear-gradient(145deg, rgba(255, 217, 90, 0.15), rgba(124, 231, 255, 0.08));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(65% 80% at 15% 10%, rgba(255, 138, 219, 0.25), transparent 60%),
              radial-gradient(60% 60% at 85% 15%, rgba(124, 231, 255, 0.18), transparent 65%),
              linear-gradient(160deg, #02030a 0%, #050a1b 55%, #0d142f 100%);
  font-family: "Space Grotesk", "Inter", "Segoe UI", "Roboto", system-ui, sans-serif;
  line-height: 1.7;
  color: var(--foreground);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: radial-gradient(circle at 20% 30%, rgba(255, 217, 90, 0.12), transparent 55%),
              radial-gradient(circle at 82% 12%, rgba(255, 138, 219, 0.18), transparent 60%);
  opacity: 0.9;
}

body::after {
  background: radial-gradient(circle at 50% 80%, rgba(124, 231, 255, 0.14), transparent 65%);
  opacity: 0.6;
  filter: blur(40px);
}

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

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

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

p {
  margin: 0 0 1rem;
}

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

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

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -150%);
  background: var(--foreground);
  color: #040414;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  z-index: 200;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

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

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}

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

.surface:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0 clamp(0.75rem, 2vw, 1.5rem);
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  opacity: 0.9;
  filter: drop-shadow(var(--shadow-md));
}

.surface:not(.hero) > .container {
  position: relative;
  z-index: 2;
}

.section-header {
  display: grid;
  gap: 0.7rem;
  max-width: 720px;
}

.section-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: 0.75rem;
  color: var(--accent);
}

.section-header h2,
.surface h2,
.story-copy h2,
.contact-panel h3,
.callout h2,
.page-body h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-sky);
  -webkit-background-clip: text;
  color: transparent;
}

.section-lead,
.lead {
  color: var(--muted-strong);
  max-width: 60ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 7, 22, 0.75);
  box-shadow: 0 25px 70px rgba(2, 3, 12, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(16px);
}

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

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

.brand-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--gradient-sky);
  box-shadow: var(--shadow-md);
  padding: 10px;
}

.brand-text {
  display: grid;
  gap: 0.15rem;
  font-weight: 600;
}

.brand-line {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.58em;
  color: var(--accent);
}

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

.nav-link {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.65rem;
  color: var(--muted);
  border: 1px solid transparent;
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--foreground);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--foreground);
}

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

.button.primary {
  background: var(--gradient-sky);
  color: #12061a;
  box-shadow: 0 20px 50px rgba(255, 138, 219, 0.3);
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(124, 231, 255, 0.4);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--foreground);
}

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

.button.ghost:hover,
.button.glass:hover,
.button.ghost:focus-visible,
.button.glass:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(3, 4, 24, 0.45);
}

.hero {
  padding: clamp(5rem, 10vw, 7rem) 0;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 217, 90, 0.08), rgba(124, 231, 255, 0.08));
}

.hero::after {
  content: "";
  position: absolute;
  inset: -30% -10% 10% -20%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 217, 90, 0.35), transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(124, 231, 255, 0.35), transparent 60%);
  filter: blur(80px);
}

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

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

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

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.lead {
  font-size: 1.18rem;
}

.disclaimer {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

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

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

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

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.85rem;
}

.pill strong {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--accent);
  margin-right: 0.35rem;
}

.experience-cards {
  display: grid;
  gap: 1.2rem;
}

.experience-card {
  background: rgba(7, 11, 28, 0.82);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.8rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: var(--shadow-md);
}

.experience-card h3 {
  margin: 0;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
}

.community {
  padding-top: clamp(4rem, 9vw, 6rem);
  padding-bottom: clamp(4rem, 9vw, 6rem);
}

.community-intro {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.community-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.pillar {
  background: rgba(9, 13, 30, 0.86);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.4rem;
}

.pillar-title {
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--primary);
}

.community-moments {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.community-card {
  background: rgba(5, 9, 25, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.8rem;
}

.community-card h3 {
  margin: 0;
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--accent);
}

.community-quote {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.community-quote blockquote {
  margin: 0;
  padding: clamp(2rem, 6vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 30, 0.9);
  box-shadow: var(--shadow-lg);
}

.community-quote cite {
  display: block;
  margin-top: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}

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

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

.story-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.story-pillars li {
  background: rgba(5, 9, 24, 0.9);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 1.2rem;
}

.story-pillars strong {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--primary);
}

.story-panel {
  background: rgba(9, 13, 34, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(2rem, 5vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1rem;
}

.resources {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.resource-grid {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resource-card {
  background: rgba(6, 9, 24, 0.92);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: var(--shadow-md);
}

.resource-icon {
  font-size: 2rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.resource-links {
  display: grid;
  gap: 0.6rem;
}

.callout {
  background: rgba(6, 9, 24, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.contact-section {
  padding-bottom: clamp(4rem, 9vw, 6rem);
}

.contact-panels {
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-panel {
  background: rgba(7, 11, 30, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(2rem, 5vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.1rem;
  height: 100%;
}

.contact-panel--secondary {
  background: rgba(4, 6, 20, 0.88);
}

.contact-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}

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

.contact-actions--secondary {
  justify-items: start;
}

.contact-note {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-tips a {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.page-intro {
  display: grid;
  gap: 1rem;
  padding: clamp(3rem, 6vw, 4rem) 0;
}

.page-body {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(4rem, 8vw, 5.5rem);
}

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

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

.checklist li::before {
  content: "✺";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
}

.ordered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
  display: grid;
  gap: 1.25rem;
}

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

.ordered-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--gradient-sky);
  color: #050312;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.table-wrapper {
  background: rgba(5, 9, 24, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted-strong);
}

.table-wrapper th,
.table-wrapper td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-wrapper th {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
}

.table-footnote {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-grid,
.contact-grid,
.danger-grid,
.feature-stack,
.resource-grid,
.game-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.game-card,
.danger-card {
  background: rgba(6, 9, 24, 0.92);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.game-card img {
  width: 100%;
  height: auto;
}

.game-card-body,
.danger-card {
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.site-footer {
  background: #02040b;
  padding: clamp(3rem, 6vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: clamp(3rem, 7vw, 5rem);
}

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

.footer-eyebrow {
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--accent);
}

.footer-brand {
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

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

.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.legal,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.footer-badges {
  margin-top: 2rem;
}

.badge-note {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}

.badge-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
}

/* Unique ambient themes */
.nova-halo-82 {
  background: linear-gradient(125deg, rgba(255, 217, 90, 0.08), rgba(7, 10, 28, 0.7));
}

.quartz-weave-44 {
  gap: clamp(2.75rem, 7vw, 5rem);
}

.plume-copy-91 h1 {
  text-shadow: 0 0 55px rgba(255, 217, 90, 0.25);
}

.prism-frame-58 img {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

.gilded-grid-57 {
  background: linear-gradient(140deg, rgba(255, 217, 90, 0.08), rgba(6, 10, 24, 0.88));
}

.velvet-parlour-19 {
  background: linear-gradient(155deg, rgba(255, 138, 219, 0.06), rgba(5, 6, 20, 0.92));
}

.emerald-chronicle-73 {
  background: linear-gradient(145deg, rgba(124, 231, 255, 0.08), rgba(5, 9, 24, 0.88));
}

.atlas-cabinet-61 {
  background: linear-gradient(145deg, rgba(255, 217, 90, 0.05), rgba(3, 5, 14, 0.9));
}

.constellation-brief-88 .callout {
  background: linear-gradient(150deg, rgba(5, 9, 24, 0.92), rgba(10, 12, 32, 0.82));
}

.orchid-lobby-27 .contact-panel {
  background: rgba(5, 9, 23, 0.92);
}

.velvet-copy-23 p {
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link {
    flex: 1 0 auto;
    text-align: center;
  }

  .surface:not(.hero)::before {
    inset: 0 0;
    border-radius: 0;
  }
}
