/* The Testicle King — dark royal / gold */
:root {
  --bg: #0a0a0c;
  --bg-elevated: #121218;
  --bg-card: #16161f;
  --gold: #d4af37;
  --gold-bright: #f0d78c;
  --gold-dim: #8a7428;
  --cream: #f5f0e6;
  --muted: #9a958a;
  --border: rgba(212, 175, 55, 0.22);
  --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.12);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(212, 175, 55, 0.06), transparent),
    var(--bg);
  color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.container {
  width: min(680px, 100% - 2rem);
  margin-inline: auto;
}

/* ——— Age gate ——— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.18), transparent 55%),
    #070709;
}

.age-gate[hidden] { display: none; }

.age-card {
  width: min(400px, 100%);
  padding: 2rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.age-card .crown {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
}

.age-card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

.age-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(165deg, var(--gold-bright), var(--gold) 45%, var(--gold-dim));
  color: #1a1408;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  color: #1a1408;
  text-decoration: none;
  box-shadow: 0 6px 32px rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(154, 149, 138, 0.35);
}

.btn-ghost:hover {
  color: var(--cream);
  border-color: var(--muted);
}

.btn-block { width: 100%; }

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ——— Site chrome ——— */
.site-header {
  padding: 1.25rem 0 0.5rem;
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-mark span[aria-hidden] { font-size: 1.1rem; letter-spacing: 0; }

/* ——— Hero ——— */
.hero {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.hero .crown-lg {
  font-size: 3.25rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.hero .tagline {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cta-price {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

.cash-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.cash-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
}

/* ——— Sections ——— */
.section {
  padding: 2rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.02em;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.card-list li {
  padding: 1.1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold-bright);
  font-size: 1rem;
}

.card-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.kingdom-copy {
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

.kingdom-copy p { margin: 0 0 1rem; }
.kingdom-copy p:last-child { margin-bottom: 0; }

.kingdom-copy em {
  color: var(--cream);
  font-style: normal;
  font-weight: 600;
}

.mid-cta {
  margin-top: 1.75rem;
  text-align: center;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.site-footer .links a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer .links a:hover { color: var(--gold-bright); }

.disclaimer {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.75rem;
  color: #6a665c;
  line-height: 1.5;
}

.disclaimer strong { color: var(--muted); font-weight: 600; }

/* Main content hidden until age confirmed */
#main-content[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
}

@media (min-width: 480px) {
  .age-actions {
    flex-direction: row;
    justify-content: center;
  }
  .age-actions .btn { min-width: 9rem; }
  .btn-block { width: auto; min-width: 16rem; }
}
