:root {
  --black: #ddd3e9;
  --black-soft: #d4c5e3;
  --purple: #6631d7;
  --purple-dark: #35196a;
  --purple-soft: #8d63dd;
  --gold: #ad780d;
  --gold-dark: #6f4800;
  --aqua: #137b98;
  --rose: #a53888;
  --white: #1f1232;
  --muted: #4b3c5a;
  --muted-soft: #62536e;
  --panel: rgba(235, 226, 244, 0.84);
  --panel-strong: rgba(244, 237, 228, 0.90);
  --border: rgba(63, 39, 98, 0.26);
  --border-bright: rgba(173, 120, 13, 0.34);
  --shadow: 0 22px 54px rgba(42, 24, 70, 0.22);
  --glow: 0 0 46px rgba(173, 120, 13, 0.08), 0 0 82px rgba(102, 49, 215, 0.08);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(199, 156, 45, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(82, 155, 184, 0.20), transparent 31rem),
    radial-gradient(circle at 50% 25%, rgba(128, 94, 199, 0.26), transparent 42rem),
    linear-gradient(180deg, #ddd3e9 0%, #d8cbe7 36%, #d2dde8 70%, #dfd1be 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 104px 0; position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(221, 211, 233, 0.91);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(63, 39, 98, 0.20);
  box-shadow: 0 10px 35px rgba(42, 24, 70, 0.14);
}

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4d87d, #d5a92f 45%, #ad780d);
  color: #2b1905;
  letter-spacing: -1px;
  box-shadow: 0 12px 30px rgba(111, 72, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.45);
}
.brand-text { font-size: 1rem; letter-spacing: 0.02em; color: #211337; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #412e56; font-size: 0.95rem; }
.nav-links a { transition: color 180ms ease, transform 180ms ease, background 180ms ease; }
.nav-links a:hover { color: var(--purple-dark); transform: translateY(-1px); }
.nav-cta { padding: 10px 16px; border-radius: 999px; color: #2b1905 !important; background: linear-gradient(135deg, #f4d87d, #d5a92f); font-weight: 900; box-shadow: 0 14px 28px rgba(111,72,0,0.18); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: rgba(235,226,244,0.88); border-radius: 14px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #211337; border-radius: 999px; }

.hero { position: relative; min-height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden; padding-top: 78px; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero::before { width: 460px; height: 460px; right: -150px; top: 90px; background: rgba(184, 138, 35, 0.16); filter: blur(10px); }
.hero::after { width: 360px; height: 360px; left: -120px; bottom: 40px; background: rgba(60, 128, 155, 0.15); filter: blur(10px); }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(221, 211, 233, 0.20), rgba(221, 211, 233, 0.44)),
    repeating-linear-gradient(45deg, rgba(63,39,98,0.045) 0, rgba(63,39,98,0.045) 1px, transparent 1px, transparent 22px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; z-index: 1; }
.hero-content { position: relative; }
.eyebrow { margin: 0 0 12px; color: var(--gold-dark); font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; }
h1, h2, h3 { line-height: 1.08; margin: 0; color: #1f1232; }
h1 { font-size: clamp(3.6rem, 7.6vw, 7.2rem); letter-spacing: -0.085em; }
h1 span, h2 span { color: var(--purple); text-shadow: 0 0 20px rgba(102, 49, 215, 0.12); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.95rem); letter-spacing: -0.06em; }
h3 { font-size: 1.42rem; }
.hero-subtitle { max-width: 700px; color: #423250; font-size: clamp(1.08rem, 2vw, 1.28rem); margin: 24px 0 0; }
.hero-actions, .realm-card-actions, .tip-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center-actions { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 999px; font-weight: 900; border: 1px solid transparent; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: #ffffff; background: linear-gradient(135deg, #5426bd, #7e55d4); box-shadow: 0 18px 36px rgba(63, 39, 98, 0.24); }
.button.primary:hover { box-shadow: 0 24px 46px rgba(63, 39, 98, 0.30); }
.button.secondary { background: rgba(235,226,244,0.82); border-color: rgba(63,39,98,0.30); color: #211337; }
.button.secondary:hover { border-color: rgba(111,72,0,0.42); background: rgba(244,237,228,0.90); }
.button.gold { background: linear-gradient(135deg, #f4d87d, #d5a92f, #ad780d); color: #2b1905; box-shadow: 0 18px 36px rgba(111, 72, 0, 0.18); }

.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quick-links a { padding: 9px 13px; border-radius: 999px; color: #352205; background: rgba(213, 169, 47, 0.30); border: 1px solid rgba(111, 72, 0, 0.26); font-weight: 800; font-size: 0.88rem; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.quick-links a:hover { transform: translateY(-2px); background: rgba(213, 169, 47, 0.40); border-color: rgba(111, 72, 0, 0.40); }

.stat-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; overflow: hidden; border: 1px solid var(--border-bright); border-radius: 20px; background: rgba(111, 72, 0, 0.18); box-shadow: var(--shadow), var(--glow); }
.stat-card > div { padding: 18px; background: rgba(235,226,244,0.78); backdrop-filter: blur(12px); }
.stat-label { display: block; color: #5d5068; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
.stat-card strong { display: block; margin-top: 4px; color: #1f1232; }
.hero-preview { position: relative; }
.server-image { width: 100%; min-height: 320px; object-fit: cover; border: 1px solid rgba(63,39,98,0.28); border-radius: var(--radius); box-shadow: 0 24px 58px rgba(42, 24, 70, 0.22), 0 0 52px rgba(111, 72, 0, 0.10); }
.hero-image { min-height: 480px; transform: rotate(1.2deg); }
.image-stack::before { content: ""; position: absolute; inset: 22px -14px -18px 18px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(213,169,47,0.26), rgba(78,143,168,0.20)); z-index: -1; }
.floating-badge { position: absolute; right: 24px; bottom: 24px; width: min(285px, calc(100% - 48px)); padding: 18px; background: rgba(235, 226, 244, 0.88); border: 1px solid rgba(111,72,0,0.30); border-radius: 20px; backdrop-filter: blur(14px); box-shadow: 0 18px 44px rgba(42, 24, 70, 0.20); }
.floating-badge strong, .floating-badge span { display: block; color: #1f1232; }
.floating-badge span { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

.section-heading { max-width: 840px; margin-bottom: 40px; }
.centered-heading { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p, .text-panel p, .feature-card p, .realm-card p, .cta-panel p, .shop-trust-note { color: var(--muted); }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.text-panel, .feature-card, .cta-panel, .shop-error-card, .shop-shell { background: rgba(235,226,244,0.82); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.text-panel p:first-child, .feature-card p:first-child { margin-top: 0; }
.text-panel p:last-child, .feature-card p:last-child { margin-bottom: 0; }
.bright-split { padding: 34px; border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, rgba(213,169,47,0.18), rgba(196,180,222,0.50), rgba(136,193,215,0.22)); border: 1px solid rgba(63,39,98,0.18); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 100%; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(111,72,0,0.34); background: rgba(244,237,228,0.86); }
.icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 17px; background: rgba(213,169,47,0.32); color: #422b00; border: 1px solid rgba(111,72,0,0.28); font-weight: 900; margin-bottom: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.30); }

.realms-section { background: linear-gradient(180deg, rgba(221,211,233,0.10), rgba(213,169,47,0.11), rgba(221,211,233,0.16)); }
.realm-grid { display: grid; grid-template-columns: 1.25fr 0.875fr 0.875fr; gap: 20px; }
.realm-grid.single-realm { grid-template-columns: minmax(0, 780px); justify-content: center; }
.realm-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(235,226,244,0.82); box-shadow: var(--shadow); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.realm-card:hover { transform: translateY(-6px); border-color: rgba(111,72,0,0.38); box-shadow: 0 24px 66px rgba(42, 24, 70, 0.24), var(--glow); }
.realm-card img { width: 100%; height: 292px; object-fit: cover; }
.single-realm .realm-card img { height: 340px; }
.featured-realm { border-color: rgba(111,72,0,0.32); }
.realm-card-content { padding: 26px; }
.realm-placeholder { min-height: 292px; display: grid; place-items: center; font-size: 4.4rem; font-weight: 900; color: #35196a; background: radial-gradient(circle at 35% 30%, rgba(213,169,47,0.38), transparent 14rem), linear-gradient(135deg, rgba(196,180,222,0.86), rgba(147,199,218,0.58)); }
.status-pill { display: inline-flex; margin-top: 18px; padding: 8px 12px; border: 1px solid rgba(111,72,0,0.26); border-radius: 999px; color: #352205; background: rgba(213,169,47,0.24); font-weight: 800; }

.page-hero { padding-top: 120px; }
.page-hero-panel { position: relative; padding: 48px; border: 1px solid var(--border-bright); border-radius: var(--radius); background: linear-gradient(135deg, rgba(196,180,222,0.86), rgba(213,184,101,0.42), rgba(235,226,244,0.78)); box-shadow: var(--shadow), var(--glow); overflow: hidden; }
.page-hero-panel p { color: var(--muted); max-width: 780px; }
.realm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shop-trust-note { margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(111,72,0,0.28); border-radius: 18px; background: rgba(213,169,47,0.18); }
.stripe-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.stripe-product-slot { min-height: 250px; border-radius: 18px; overflow: hidden; }
.polls-status, .shop-status { color: var(--muted); }

.cta-panel { text-align: center; border-color: rgba(111,72,0,0.28); background: radial-gradient(circle at top, rgba(213,169,47,0.22), transparent 22rem), rgba(235,226,244,0.84); }
.footer { border-top: 1px solid var(--border); padding: 44px 0 24px; background: rgba(221, 211, 233, 0.84); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.footer p { color: var(--muted); max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); }
.footer-links a:hover { color: var(--gold-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; inset: 76px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: rgba(221,211,233,0.98); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.active { display: flex; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .realm-grid, .feature-grid, .stripe-shop-grid, .realm-gallery { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero { min-height: auto; padding-top: 84px; }
  .hero-image { min-height: 340px; transform: none; }
  .stat-card { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .bright-split { padding: 20px; }
}
