/* ============================================================
   GoonOS page (goonos.html). Uses the site's design tokens from style.css.
   Every class is prefixed gx- so nothing here can affect other pages.
   ============================================================ */

.gx { padding: 28px 0 60px; display: flex; flex-direction: column; gap: 64px; }
.gx[hidden], .gx [hidden] { display: none !important; }

.gx-preview {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 5;
  align-self: center; max-width: 100%;
  background: rgba(252, 211, 77, .12); border: 1px solid rgba(252, 211, 77, .4); color: var(--pill-artist);
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; text-align: center;
  backdrop-filter: blur(8px);
}

/* ---------- hero ---------- */
.gx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.gx-hero-text { display: flex; flex-direction: column; gap: 16px; }
.gx-brand { display: flex; align-items: center; gap: 14px; }
.gx-brand img { border-radius: 16px; box-shadow: 0 10px 40px rgba(236, 72, 153, .45); }
.gx-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.gx-title {
  font-family: var(--font-display); font-size: clamp(46px, 7vw, 86px); line-height: .95; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 30%, #ff9ccf 70%, #b98cff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gx-tagline { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: var(--text); }
.gx-lead { color: var(--text-2); font-size: 15.5px; line-height: 1.7; max-width: 58ch; }
.gx-buy { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gx-price { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #fff; }
.gx-price-note { color: var(--text-2); font-size: 14px; }
.gx-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gx-actions .btn, .gx-cta .btn { padding: 13px 26px; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.gx-small { color: var(--text-3); font-size: 12.5px; }

.gx-hero-media { min-width: 0; }
.gx-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #000;
  border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(255, 45, 111, .22), 0 0 0 1px rgba(255, 255, 255, .03);
}
.gx-player img, .gx-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ---------- sections ---------- */
.gx-section { display: flex; flex-direction: column; gap: 22px; }
.gx-h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.gx-sub { color: var(--text-2); margin-top: -12px; }

.gx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gx-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.gx-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.gx-card img { width: 52px; height: 52px; }
.gx-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.gx-card p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

.gx-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.gx-video { display: flex; flex-direction: column; gap: 8px; }
.gx-video .gx-player { box-shadow: none; border-radius: var(--r-lg); }
.gx-video b { font-size: 14px; }

.gx-themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gx-themes figure { display: flex; flex-direction: column; gap: 8px; }
.gx-themes img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line-2); }
.gx-themes figcaption { font-size: 13px; color: var(--text-2); font-weight: 700; }

.gx-steps { list-style: none; counter-reset: gx; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gx-steps li {
  counter-increment: gx; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 20px 20px 70px; position: relative; display: flex; flex-direction: column; gap: 6px;
}
.gx-steps li::before {
  content: counter(gx); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display);
}
.gx-steps b { font-size: 15.5px; }
.gx-steps span { color: var(--text-2); font-size: 14px; }

.gx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.gx-two > div { display: flex; flex-direction: column; gap: 14px; }
.gx-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gx-list li { padding-left: 26px; position: relative; color: var(--text-2); }
.gx-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.gx-faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.gx-faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.gx-faq[open] summary::after { content: "–"; }
.gx-faq p { color: var(--text-2); font-size: 14px; margin-top: 8px; line-height: 1.6; }

.gx-cta {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 44px 20px; border-radius: var(--r-xl); border: 1px solid var(--accent-line);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 0, 102, .22), transparent 60%), var(--surface);
}
.gx-cta h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); }
.gx-cta img { border-radius: 18px; box-shadow: 0 10px 40px rgba(236, 72, 153, .45); }

.gx-soon { text-align: center; padding: 100px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gx-soon img { border-radius: 18px; }
.gx-soon h1 { font-family: var(--font-display); font-size: 40px; }
.gx-soon p { color: var(--text-2); }

/* ---------- tablet / phone ---------- */
@media (max-width: 1000px) {
  .gx-hero { grid-template-columns: minmax(0, 1fr); }
  .gx-hero-media { order: -1; }
  .gx-themes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .gx-themes figure { scroll-snap-align: start; }
  .gx-steps { grid-template-columns: minmax(0, 1fr); }
  .gx-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .gx { gap: 44px; padding-top: 16px; }
  .gx-grid, .gx-video-grid { grid-template-columns: minmax(0, 1fr); }
  .gx-actions .btn { flex: 1 1 100%; justify-content: center; }
  .gx-price { font-size: 34px; }
  .gx-themes { grid-auto-columns: 85%; }
  .gx-preview { border-radius: var(--r); }
}
