:root {
  --bg-main: #05070d;
  --bg-secondary: #0b1220;
  --glass: rgba(255, 255, 255, 0.06);

  --primary: #7c3aed;
  --secondary: #a855f7;
  --accent: #22d3ee;
  --gold: #facc15;

  --text-main: #f8fafc;
  --text-secondary: #cbd5f5;
  --text-muted: #94a3b8;

  --border-glass: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 30px 80px rgba(2, 6, 23, 0.7);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1280px;
}

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

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.2), transparent 40%),
              radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.15), transparent 35%),
              var(--bg-main);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-secondary);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 7, 13, 0.45);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}

header.scrolled {
  background: rgba(5, 7, 13, 0.75);
  border-bottom-color: var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 1.1rem;
  color: #ffffff;
}

nav {
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: shine 4.8s linear infinite;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--secondary), var(--accent));
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
}

.nav-cta {
  margin-left: 10px;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  background-image: url("images/photo-1518020382113-a7e8fc38eac9-hero.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.4) 0%, rgba(5, 7, 13, 0.86) 80%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  padding: 40px 0;
}

.hero-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-subtext {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.story {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.8), rgba(5, 7, 13, 0.9));
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 40px;
}

.story-block.reverse .story-image-wrap {
  order: 2;
}

.story-block.reverse .story-text {
  order: 1;
}

.story-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.story-text {
  background: var(--glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.story-text h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.story-text p {
  color: var(--text-secondary);
}

.game-section {
  background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.15), transparent 50%),
              var(--bg-main);
}

.game-container {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124, 58, 237, 0.45);
  background: rgba(8, 12, 25, 0.9);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  padding: 16px;
}

.game-container iframe {
  width: 100%;
  height: min(72vh, 760px);
  border: none;
  border-radius: 18px;
  background: #0b1220;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(34, 211, 238, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
}

.legal {
  background: var(--bg-secondary);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
}

.legal-card h3 {
  margin-bottom: 10px;
}

.legal-card p {
  color: var(--text-secondary);
}

footer {
  border-top: 1px solid var(--border-glass);
  background: #04060c;
  padding: 36px 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 18px;
  align-items: center;
}

.disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 500px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: right;
}