/* ==========================================================================
   DrasticOldGame — shared site styles
   ========================================================================== */

:root {
  --navy-950: #0b0a1a;
  --navy-900: #12102a;
  --navy-800: #1b1a3a;
  --navy-700: #241f4d;
  --purple-500: #7341ca;
  --purple-400: #8a5cf0;
  --purple-300: #a888ff;
  --gold-400: #ffd60a;
  --gold-300: #fff1a8;
  --pink-500: #ff2d55;
  --pink-600: #d91a42;
  --text-0: #ffffff;
  --text-1: #d8d3ee;
  --text-2: #a7a0c4;
  --line: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 20px 45px rgba(5, 4, 20, 0.55);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-w: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: radial-gradient(120% 120% at 15% -10%, #241f4d 0%, var(--navy-950) 55%) fixed;
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--text-0);
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------------------------------- NAV ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 26, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-0);
  font-size: 18px;
  font-family: "Poppins", sans-serif;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(115, 65, 202, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
}

.nav-links a:hover {
  color: var(--gold-400);
}

.nav-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), #ffb200);
  color: #211500;
  box-shadow: 0 12px 28px rgba(255, 214, 10, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(255, 214, 10, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-0);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

/* --------------------------------- HERO ---------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      180deg,
      rgba(11, 10, 26, 0.65) 0%,
      rgba(11, 10, 26, 0.88) 60%,
      var(--navy-950) 100%
    ),
    url("hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.9;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--gold-400);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-1);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-badge .store-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #b9b9c4;
}

.store-badge .store-text strong {
  font-size: 16px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-2);
}

.hero-meta strong {
  color: var(--text-0);
  font-size: 20px;
  display: block;
  font-family: "Poppins", sans-serif;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art .glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(138, 92, 240, 0.55), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 260px;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* -------------------------------- SECTIONS -------------------------------- */

section {
  padding: 84px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-head p {
  color: var(--text-2);
  font-size: 16px;
}

/* Features */

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

.feature-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 214, 10, 0.35);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
  box-shadow: 0 10px 22px rgba(115, 65, 202, 0.4);
}

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

.feature-card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0;
}

/* Platforms */

.platforms-section {
  background: linear-gradient(180deg, transparent, rgba(115, 65, 202, 0.08), transparent);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.platform-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.platform-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 10, 0.4);
  background: rgba(255, 214, 10, 0.06);
}

.platform-chip .abbr {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--gold-300);
  font-size: 15px;
  margin-bottom: 6px;
}

.platform-chip .full {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.35;
}

.platforms-footnote {
  text-align: center;
  color: var(--text-2);
  font-size: 13.5px;
  margin-top: 26px;
}

/* Showcase / visual band */

.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.showcase-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.showcase-visual img {
  width: 100%;
}

.showcase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.showcase-list .dot {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.35);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.showcase-list h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text-0);
}

.showcase-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

/* FAQ */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text-0);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gold-400);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 14.5px;
}

/* CTA band */

.cta-band {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--purple-500), #4b2ba0 60%, var(--navy-900));
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 214, 10, 0.25), transparent 55%);
}

.cta-band h2 {
  position: relative;
  font-size: 32px;
}

.cta-band p {
  position: relative;
  color: var(--text-1);
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-band .hero-cta-row {
  position: relative;
  justify-content: center;
}

/* --------------------------------- FOOTER --------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  color: var(--text-2);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 340px;
  font-size: 13.5px;
}

.footer-col h4 {
  font-size: 14px;
  color: var(--text-0);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.pkg-tag {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 6px;
}

/* --------------------------- LEGAL / PRIVACY PAGE -------------------------- */

.legal-hero {
  padding: 64px 0 20px;
  text-align: center;
}

.legal-hero .eyebrow {
  margin-bottom: 18px;
}

.legal-updated {
  color: var(--text-2);
  font-size: 14px;
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 90px;
}

.legal-body h2 {
  font-size: 22px;
  margin-top: 46px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-of-type {
  border-top: none;
  margin-top: 20px;
}

.legal-body h3 {
  font-size: 17px;
  margin-top: 26px;
  color: var(--gold-300);
}

.legal-body p,
.legal-body li {
  color: var(--text-1);
  font-size: 15px;
}

.legal-body ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-toc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 40px;
}

.legal-toc h4 {
  color: var(--text-0);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  font-size: 14px;
}

.legal-toc a {
  color: var(--text-2);
}

.legal-toc a:hover {
  color: var(--gold-400);
}

.contact-card {
  background: linear-gradient(160deg, rgba(255, 214, 10, 0.1), rgba(115, 65, 202, 0.08));
  border: 1px solid rgba(255, 214, 10, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-top: 36px;
}

.contact-card a {
  color: var(--gold-400);
  font-weight: 700;
}

/* --------------------------------- MOBILE ---------------------------------- */

.nav-toggle {
  display: none;
}

@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-visual {
    order: -1;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-row,
  .hero-meta {
    justify-content: center;
  }
  .hero-art {
    margin-top: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 34px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 60px 0;
  }
  .cta-band {
    padding: 44px 24px;
  }
  .legal-toc ol {
    columns: 1;
  }
}
