:root {
  --bg: #0b0713;
  --bg-alt: #130a1f;
  --bg-soft: #1b1030;
  --panel: rgba(22, 14, 38, 0.82);
  --panel-strong: rgba(30, 18, 52, 0.96);
  --panel-border: rgba(181, 106, 255, 0.22);

  --text: #f8f4ff;
  --text-soft: #cfc2e8;
  --text-muted: #a897c7;

  --purple: #a855f7;
  --purple-2: #7c3aed;
  --purple-3: #c084fc;
  --gold: #ffd54a;
  --gold-2: #ffb800;
  --pink: #ff4fd8;

  --success: #7dffbf;
  --danger: #ff6b8a;

  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --glow-purple: 0 0 0 1px rgba(168, 85, 247, 0.3), 0 0 30px rgba(168, 85, 247, 0.18);
  --glow-gold: 0 0 0 1px rgba(255, 213, 74, 0.24), 0 0 28px rgba(255, 213, 74, 0.14);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;

  --container: 1240px;
  --header-height: 82px;

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 213, 74, 0.08), transparent 24%),
    linear-gradient(180deg, #09060f 0%, #10081a 35%, #120a1d 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.hero-copy h1,
.cta-copy h2 {
  margin: 0 0 1rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p,
.hero-copy p,
.cta-copy p,
.footer-col p,
.platform-card p,
.feature-card p {
  margin: 0;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

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

.btn-primary {
  color: #12071f;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  box-shadow: var(--glow-gold);
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 213, 74, 0.38),
    0 0 38px rgba(255, 213, 74, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-purple);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background:
    linear-gradient(180deg, rgba(7, 5, 11, 0.92) 0%, rgba(7, 5, 11, 0.72) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  background:
    linear-gradient(180deg, rgba(9, 6, 15, 0.98) 0%, rgba(12, 8, 20, 0.96) 100%);
  border-bottom-color: rgba(168, 85, 247, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--glow-purple);
  flex-shrink: 0;
}

.brand-text {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-nav a {
  position: relative;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.main-nav a.active {
  color: var(--gold);
  background: rgba(255, 213, 74, 0.08);
}

.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 5, 11, 0.84) 0%, rgba(11, 7, 19, 0.68) 28%, rgba(11, 7, 19, 0.54) 50%, rgba(11, 7, 19, 0.72) 74%, rgba(11, 7, 19, 0.9) 100%),
    linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(9, 6, 15, 0.36) 55%, rgba(9, 6, 15, 0.9) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background:
    linear-gradient(180deg, rgba(9, 6, 15, 0) 0%, rgba(9, 6, 15, 0.86) 55%, rgba(9, 6, 15, 1) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-top: 5rem;
  padding-bottom: 6rem;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5.4vw, 5.25rem);
  text-shadow:
    0 0 12px rgba(168, 85, 247, 0.4),
    0 0 24px rgba(168, 85, 247, 0.2),
    0 10px 36px rgba(0, 0, 0, 0.4);
}

.hero-copy p {
  max-width: 620px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  margin-bottom: 2rem;
}

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

/* Platform quicklinks */
.platform-quicklinks {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.platform-button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.platform-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 96px;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(22, 13, 36, 0.95) 0%, rgba(17, 10, 28, 0.98) 100%);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.platform-button:hover {
  transform: translateY(-5px);
}

.platform-button.youtube:hover {
  border-color: rgba(255, 70, 70, 0.4);
  box-shadow: var(--shadow-md), 0 0 28px rgba(255, 70, 70, 0.18);
}

.platform-button.tiktok:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-md), 0 0 28px rgba(255, 255, 255, 0.12);
}

.platform-button.twitch:hover {
  border-color: rgba(145, 70, 255, 0.45);
  box-shadow: var(--shadow-md), 0 0 28px rgba(145, 70, 255, 0.2);
}

.platform-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.platform-button.youtube .platform-button-icon {
  color: #ff4b4b;
}

.platform-button.tiktok .platform-button-icon {
  color: #ffffff;
}

.platform-button.twitch .platform-button-icon {
  color: #a970ff;
}

.platform-button-icon svg {
  width: 28px;
  height: 28px;
}

.platform-button-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.platform-button-text strong {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.platform-button-text small {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* Latest content */
.latest-content {
  padding-top: 2rem;
}

.latest-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

/* Card base */
.content-embed-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.2rem;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22, 13, 36, 0.95) 0%, rgba(17, 10, 28, 0.98) 100%);
  box-shadow: var(--shadow-sm);
}

/* Header */
.content-embed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

/* YouTube (keeps normal aspect) */
.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ?? TikTok FIX */
.tiktok-embed-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 420px;
  padding: 1rem 0;
}

/* force TikTok to behave */
.tiktok-embed-wrap blockquote.tiktok-embed {
  width: 100% !important;
  max-width: 320px !important;
  height: 520px !important;
  overflow: hidden !important;
  margin: 0 auto !important;
}

/* Mobile */
@media (max-width: 900px) {
  .latest-content-grid {
    grid-template-columns: 1fr;
  }

  .tiktok-embed-wrap blockquote.tiktok-embed {
    height: 480px !important;
  }
}

/* Home intro cards */
.home-intro {
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  min-height: 230px;
  padding: 1px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.34), rgba(255, 213, 74, 0.16));
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--glow-purple);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 213, 74, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.18), transparent 42%);
  pointer-events: none;
}

.feature-card-content {
  position: relative;
  height: 100%;
  padding: 2rem;
  border-radius: calc(var(--radius) - 1px);
  background:
    linear-gradient(180deg, rgba(24, 15, 40, 0.96) 0%, rgba(18, 11, 30, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 213, 74, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
}

.feature-card p {
  max-width: 40ch;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--purple-3);
  font-weight: 800;
}

/* Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.platform-card {
  position: relative;
  min-height: 250px;
  padding: 2rem;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22, 13, 36, 0.95) 0%, rgba(17, 10, 28, 0.98) 100%);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 213, 74, 0.28);
  box-shadow: var(--shadow-md), var(--glow-gold);
}

.platform-card::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 1.5rem auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(255, 213, 74, 0.14));
  opacity: 0.9;
}

.platform-label {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.platform-card p {
  position: relative;
  z-index: 1;
}

/* Link strip */
.links-strip {
  padding-top: 2rem;
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.pill-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.pill-links a:hover {
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.42);
  box-shadow: var(--glow-purple);
}

.support-note {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 1.6rem;
  color: var(--text-muted);
}

.support-note p {
  margin: 0;
}

/* CTA */
.cta-band {
  padding-top: 2.5rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem;
  border: 1px solid rgba(255, 213, 74, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(36, 19, 62, 0.95) 0%, rgba(18, 11, 31, 0.98) 58%, rgba(29, 14, 41, 0.98) 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 66%);
  pointer-events: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -130px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.14), transparent 68%);
  pointer-events: none;
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 680px;
}

.cta-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

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

/* Footer */
.site-footer {
  margin-top: 5rem;
  padding-top: 3.5rem;
  background:
    linear-gradient(180deg, rgba(9, 6, 15, 0.2) 0%, rgba(7, 5, 11, 0.94) 18%, rgba(7, 5, 11, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h3 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.75rem;
}

.footer-col a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Utility polish */
.platform-quicklinks,
.latest-content,
.home-intro,
.platforms,
.links-strip,
.cta-band {
  position: relative;
}

.platform-quicklinks::before,
.latest-content::before,
.home-intro::before,
.platforms::before,
.links-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(168, 85, 247, 0.05), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(255, 213, 74, 0.04), transparent 26%);
}

/* Responsive */
@media (max-width: 1100px) {
  .platform-button-grid,
  .latest-content-grid,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .latest-content-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .mobile-menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 1101;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background:
      linear-gradient(180deg, rgba(10, 7, 16, 0.98) 0%, rgba(14, 9, 24, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 1rem;
    border-radius: 14px;
  }

  .feature-card {
    grid-column: span 6;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 4rem;
    padding-bottom: 5rem;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4.5rem 0;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand-text {
    font-size: 1rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 5, 13, 0.8) 0%, rgba(8, 5, 13, 0.55) 20%, rgba(8, 5, 13, 0.8) 60%, rgba(8, 5, 13, 0.95) 100%),
      linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(9, 6, 15, 0.88) 100%);
  }

  .hero-bg img {
    object-position: center;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .hero-copy p {
    margin-bottom: 1.5rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .platform-button-grid,
  .latest-content-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: auto;
  }

  .feature-card-content,
  .platform-card,
  .content-embed-card,
  .cta-panel {
    padding: 1.4rem;
  }

  .content-embed-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-button {
    min-height: 84px;
  }

  .tiktok-embed-wrap {
    min-height: 360px;
  }

  .tiktok-embed-wrap blockquote.tiktok-embed {
    max-width: 320px !important;
  }

  .support-note {
    flex-direction: column;
    gap: 0.6rem;
  }
}