:root {
  --bg-main: #080c14;
  --bg-deep: #050709;
  --bg-panel: #0f172a;
  --card: #111827;
  --line: rgba(124, 58, 237, 0.28);
  --accent: #7c3aed;
  --accent-2: #3b82f6;
  --text: #eef2ff;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.48);
  --glow: 0 0 28px rgba(124, 58, 237, 0.35);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.18), transparent 24%),
    linear-gradient(180deg, #080c14 0%, #0b1120 42%, #050709 100%);
}
a { color: inherit; }
img { max-width: 100%; display: block; object-fit: contain; }
.page-shell { position: relative; overflow: hidden; }
.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(14px);
}
.page-shell::before {
  top: 10%;
  left: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 68%);
  animation: cloudPulse 8s ease-in-out infinite;
}
.page-shell::after {
  right: -8%;
  top: 25%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 72%);
  animation: cloudPulse 10s ease-in-out infinite reverse;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 20, 0.82);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 14px rgba(124, 58, 237, 0.55));
}
.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-symbol { font-size: 1.2rem; line-height: 1; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.site-nav a {
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--soft);
  padding: 12px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.site-nav a:hover,
.site-nav a.current {
  color: var(--text);
  background: rgba(124, 58, 237, 0.14);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.22), 0 0 20px rgba(124, 58, 237, 0.15);
  transform: translateY(-1px);
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
section { margin: 32px 0; }
.hero,
.page-hero,
.storm-cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  box-shadow: var(--shadow);
}
.hero {
  margin-top: 26px;
  padding: 86px 56px 70px;
  background:
    radial-gradient(circle at 18% 24%, rgba(124, 58, 237, 0.26), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(59, 130, 246, 0.2), transparent 24%),
    radial-gradient(circle at 55% 115%, rgba(224, 231, 255, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(8, 12, 20, 0.98));
}
.page-hero,
.storm-cta {
  padding: 56px 44px;
  background:
    radial-gradient(circle at 18% 20%, rgba(124, 58, 237, 0.22), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(59, 130, 246, 0.18), transparent 22%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(8, 12, 20, 0.98));
}
.hero::after,
.page-hero::after,
.storm-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(224, 231, 255, 0.18) 49%, transparent 57%);
  opacity: 0;
  animation: lightningFlash 10s ease-in-out infinite;
}
.hero > *,
.page-hero > *,
.storm-cta > * {
  position: relative;
  z-index: 1;
}

.hero-grid,
.intro-grid,
.detail-grid,
.guide-grid,
.cta-grid,
.media-grid,
.feature-grid,
.review-grid,
.steps-grid,
.article-grid,
.how-grid,
.mistake-grid,
.color-grid,
.legal-grid,
.faq-list {
  display: grid;
  gap: 20px;
}
.hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); align-items: center; gap: 28px; }
.intro-grid { grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr); gap: 28px; }
.detail-grid,
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.cta-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-grid,
.how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mistake-grid,
.color-grid,
.legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c4b5fd;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0), rgba(124, 58, 237, 0.95));
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.headline-glow {
  background: linear-gradient(90deg, #eef2ff 0%, #c4b5fd 48%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
}
.hero-actions,
.play-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.cta-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 28px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.cta-button {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 38px rgba(59, 130, 246, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cta-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(24deg) translateX(-180%);
  transition: transform 0.4s ease;
}
.cta-button:hover::after { transform: rotate(24deg) translateX(420%); }
.cta-button:hover,
.text-button:hover { transform: translateY(-2px); box-shadow: 0 22px 42px rgba(124, 58, 237, 0.22); }
.text-button {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel,
.page-panel,
.card,
.step-card,
.review-card,
.faq-item,
.legal-card,
.table-card,
.feature-card,
.mistake-card,
.how-step,
.media-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(10, 15, 28, 0.96));
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  border-left: 1px solid rgba(124, 58, 237, 0.15);
  border-right: 1px solid rgba(124, 58, 237, 0.08);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
  box-shadow: var(--shadow);
}
.hero-panel,
.page-panel,
.card,
.step-card,
.review-card,
.faq-trigger,
.legal-card,
.feature-card,
.mistake-card,
.how-step { padding: 28px; }
.hero-panel img {
  width: 100%;
  max-height: 540px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(59, 130, 246, 0.2));
}
.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat-block {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.stat-block strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}
.stat-block span { color: var(--soft); font-size: 0.9rem; }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
}
.section-title p,
.page-panel p,
.card p,
.feature-card p,
.review-card p,
.step-card p,
.faq-content p,
.legal-card p,
.mistake-card p,
.guide-block p,
.board-list li,
.legal-card li,
.media-card p,
.how-step p {
  color: var(--muted);
  line-height: 1.8;
}
.section-title p { max-width: 620px; margin: 0; }
.game-note {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(124, 58, 237, 0.14));
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.highlight-list,
.board-list,
.legal-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.highlight-list li,
.board-list li,
.legal-card li {
  position: relative;
  margin: 12px 0;
  padding-left: 18px;
}
.highlight-list li::before,
.board-list li::before,
.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.45);
}

.media-card { overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.media-card:hover,
.feature-card:hover,
.review-card:hover,
.step-card:hover,
.card:hover,
.mistake-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(124, 58, 237, 0.22), var(--glow);
}
.media-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 18px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(124, 58, 237, 0.08));
}
.caption { padding: 18px 20px 22px; }
.media-card strong { display: block; margin-bottom: 8px; font-family: "Sora", sans-serif; }

.realm-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.realm-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.24);
  background: #0f172a;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.realm-card::before,
.realm-card::after {
  content: "";
  position: absolute;
  inset: 0;
}
.realm-card::before {
  z-index: -1;
  background: radial-gradient(circle at 22% 18%, rgba(124, 58, 237, 0.32), transparent 34%);
}
.realm-card::after {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.04) 20%, rgba(8, 12, 20, 0.82) 100%);
}
.realm-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.realm-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.realm-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
}
.realm-caption h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.feature-icon,
.step-index,
.review-stars,
.guide-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-icon,
.step-index {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(59, 130, 246, 0.26));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 14px 30px rgba(59, 130, 246, 0.1);
}
.step-index {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1rem;
}
.review-stars {
  margin-bottom: 14px;
  color: #fde68a;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.tip-card-label,
.guide-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tip-card-label {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.12);
}
.guide-chip {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.1);
}
.play-badge {
  display: inline-flex;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.play-badge img { height: 56px; }

.table-card { padding: 0; overflow: hidden; }
.table-head,
.table-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
}
.table-head {
  background: rgba(255, 255, 255, 0.04);
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}
.table-row + .table-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.swatch { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.faq-list { gap: 16px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.16);
  color: #ddd6fe;
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.faq-item.open .faq-content { grid-template-rows: 1fr; }
.faq-content > div { overflow: hidden; }
.faq-content-inner { padding: 0 28px 24px; }
.legal-card.full { grid-column: 1 / -1; }
footer a:hover { color: var(--text) !important; }

footer > img:first-child {
  margin-left: auto;
  margin-right: auto;
}

@keyframes cloudPulse {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.78; }
  50% { transform: scale(1.08) translate3d(1.5%, -1.5%, 0); opacity: 1; }
}
@keyframes lightningFlash {
  0%, 78%, 100% { opacity: 0; }
  79% { opacity: 0.08; }
  80% { opacity: 0.55; }
  81% { opacity: 0.12; }
  82% { opacity: 0.42; }
  84% { opacity: 0; }
}

@media (max-width: 1040px) {
  .hero-grid,
  .intro-grid,
  .detail-grid,
  .guide-grid,
  .cta-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid,
  .article-grid,
  .how-grid,
  .media-grid,
  .realm-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .nav-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0;
  }
  .site-nav { justify-content: flex-start; }
  .hero,
  .page-hero,
  .storm-cta { padding: 42px 24px; }
  .feature-grid,
  .review-grid,
  .steps-grid,
  .article-grid,
  .how-grid,
  .mistake-grid,
  .color-grid,
  .legal-grid { grid-template-columns: 1fr; }
  .hero-stats,
  .media-grid,
  .realm-showcase,
  .table-head,
  .table-row { grid-template-columns: 1fr; }
  .realm-card { min-height: 280px; }
}
@media (max-width: 480px) {
  main,
  .nav-wrap { width: min(var(--max), calc(100% - 20px)); }
  .site-nav a { padding: 10px 12px; font-size: 0.7rem; }
  h1 { font-size: 2.2rem; }
  .lead { font-size: 1rem; }
  .media-grid { grid-template-columns: 1fr; }
  .play-badge img { height: 48px; }
}
