/* ============================================================
   GHOSTSWEAT — GLOBAL THEME v2.1
   Universal Colors, Typography, Symbols, Glow Rules, Components
   ============================================================ */

:root {
  /* CORE BACKGROUND */
  --gs-bg: #050510;
  --gs-surface: #0b0b16;
  --gs-panel: #111827;

  /* TEXT COLORS */
  --gs-text-main: #f9fafb;
  --gs-text-soft: #d1d5db;
  --gs-text-muted: #9ca3af;
  --gs-text-faint: #6b7280;  /* for footer + micro copy */

  /* BRAND COLORS (FINAL) */
  --gs-sweat: #38bdf8;    /* cyan entry currency */
  --gs-soul:  #facc15;    /* gold prize currency */
  --gs-shard: #c95bff;    /* magenta shards */
  --gs-echo:  #a855ff;    /* violet echos */
  --gs-var:   #22d3ee;    /* ice blue variance arrows */

  /* SHADOWS / GLOWS */
  --gs-glow-cyan: 0 0 12px rgba(56,189,248,0.65), 0 0 30px rgba(56,189,248,0.45);
  --gs-glow-gold: 0 0 16px rgba(250,204,21,0.75), 0 0 40px rgba(255,200,100,0.45);
  --gs-glow-magenta: 0 0 18px rgba(201,91,255,0.7), 0 0 34px rgba(201,91,255,0.45);

  /* RADII + TRANSITIONS (aliases kept for older pages) */
  --gs-pill: 999px;
  --gs-radius: 18px;
  --gs-radius-pill: 999px;
  --gs-fast: 120ms ease-out;
  --gs-med: 220ms ease-out;
  --gs-trans-fast: 120ms ease-out;
}

/* ===============================
   GLOBAL RESETS
================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #1e1b4b 0, #020617 50%, #000);
  color: var(--gs-text-main);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

/* ===============================
   UNIVERSAL TYPOGRAPHY HELPERS
================================== */

.text-soft   { color: var(--gs-text-soft); }
.text-muted  { color: var(--gs-text-muted); }
.text-gold   { color: var(--gs-soul);  text-shadow: var(--gs-glow-gold); }
.text-cyan   { color: var(--gs-sweat); text-shadow: var(--gs-glow-cyan); }
.text-magenta{ color: var(--gs-shard); text-shadow: var(--gs-glow-magenta); }

/* ===============================
   CURRENCY SYMBOLS (◦ & ⦿)
================================== */

/* SWEAT SYMBOL – ◦ (blue, light) */
.gs-sweat-symbol {
  display: inline-block;
  font-weight: 900;
  transform: translateY(-1px);
  color: var(--gs-sweat);
  text-shadow: var(--gs-glow-cyan);
  margin-right: 0.18rem;
}
.gs-sweat-symbol::before {
  content: "◦";
}

/* SOULS SYMBOL – ⦿ (gold, heavy core) */
.gs-soul-symbol {
  display: inline-block;
  font-weight: 900;
  transform: translateY(-1px);
  color: var(--gs-soul);
  text-shadow: var(--gs-glow-gold);
  margin-right: 0.18rem;
}
.gs-soul-symbol::before {
  content: "⦿";
}

/* Optional inline helpers if you ever want just colored text */
.sweat-color {
  color: var(--gs-sweat);
  font-weight: 700;
  text-shadow: var(--gs-glow-cyan);
}

.soul-color {
  color: var(--gs-soul);
  font-weight: 700;
  text-shadow: var(--gs-glow-gold);
}

.shard-color {
  color: var(--gs-shard);
  font-weight: 700;
  text-shadow: var(--gs-glow-magenta);
}

/* Legacy utility classes (if you still use .sweat / .soul anywhere) */
.sweat {
  color: var(--gs-sweat);
  text-shadow: var(--gs-glow-cyan);
  font-weight: 900;
  display: inline-block;
  transform: translateY(-1px);
}
.soul {
  color: var(--gs-soul);
  text-shadow: var(--gs-glow-gold);
  font-weight: 900;
  display: inline-block;
  transform: translateY(-1px);
}

/* ===============================
   FLOATING “SWEAT / FREE” HERO TEXT
================================== */

.gs-sweatfree-stage {
  position: relative;
  pointer-events: none;
  overflow: visible;
  margin: 1.5rem 0;
}

.sweatfree-orbit {
  position: relative;
  margin: 0 auto;
  width: min(520px, 90vw);
  display: flex;
  gap: 1.3rem;
  justify-content: center;
  align-items: center;
}

.sweatfree-word {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  letter-spacing: 0.32em;
  opacity: 0.35;
  font-weight: 900;
}

.sweat-word {
  color: var(--gs-sweat);
  text-shadow: var(--gs-glow-cyan);
  animation:
    sweatDrift 12s ease-in-out infinite alternate,
    wordShimmer 6s ease-in-out infinite,
    wordFlicker 12s steps(2, end) infinite;
}

.free-word {
  color: var(--gs-soul);
  text-shadow: var(--gs-glow-gold);
  animation:
    freeDrift 14s ease-in-out infinite alternate,
    wordShimmer 7s ease-in-out infinite,
    wordFlicker 14s steps(3, end) infinite;
}

@keyframes sweatDrift {
  0%   { transform: translate(-20px, 10px); opacity: 0.22; }
  50%  { transform: translate(-5px, -5px);  opacity: 0.30; }
  100% { transform: translate(-12px, 7px);  opacity: 0.24; }
}

@keyframes freeDrift {
  0%   { transform: translate(20px, 4px);   opacity: 0.22; }
  50%  { transform: translate(7px, -6px);   opacity: 0.29; }
  100% { transform: translate(12px, 8px);   opacity: 0.24; }
}

@keyframes wordShimmer {
  0%   { filter: brightness(1);   }
  50%  { filter: brightness(1.7); }
  100% { filter: brightness(1);   }
}

@keyframes wordFlicker {
  0%, 6%, 100% {
    text-shadow:
      0 0 20px rgba(255,255,255,0.7),
      0 0 40px currentColor;
  }
  3% {
    text-shadow:
      0 0 4px rgba(0,0,0,0.4),
      0 0 2px rgba(0,0,0,0.6);
  }
}

/* ===============================
   UNIVERSAL CARDS (Pill, Hero, Panel)
================================== */

.gs-card {
  background: var(--gs-panel);
  border: 1px solid rgba(148,163,184,0.45);
  border-radius: var(--gs-radius);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 22px 45px rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  transition: transform var(--gs-fast), box-shadow var(--gs-fast);
}

.gs-card:hover {
  transform: translateY(-4px) rotateX(4deg);
  box-shadow:
    0 26px 60px rgba(0,0,0,0.95),
    0 0 32px rgba(168,85,255,0.85);
  border-color: rgba(210,160,255,0.75);
}

/* Pill-shaped cards */
.gs-pill-card {
  border-radius: var(--gs-pill);
  padding: 1rem 1.4rem;
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), #020014);
  border: 1px solid rgba(148,163,184,0.55);
  backdrop-filter: blur(12px);
}

/* ===============================
   CTA BUTTONS
================================== */

.gs-button {
  display: inline-block;
  padding: 1rem 2.7rem;
  border-radius: var(--gs-pill);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 0 22px rgba(168,85,255,0.85);
  transition: transform var(--gs-fast), box-shadow var(--gs-fast);
}

.gs-button:hover {
  transform: translateY(-2px) perspective(1000px) rotateX(5deg);
  box-shadow:
    0 0 34px rgba(168,85,255,1),
    0 16px 40px rgba(0,0,0,0.9);
}

/* ===============================
   UNIVERSAL HEADER
================================== */

.gs-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: radial-gradient(circle at top, rgba(38,16,89,0.98), rgba(5,1,18,0.9));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(154,129,255,0.6);
  box-shadow: 0 0 26px rgba(129,92,246,0.8);
}

.gs-site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===============================
   UNIVERSAL FOOTER
================================== */

.gs-footer {
  border-top: 1px solid rgba(148,163,184,0.35);
  background: #020617;
  padding: 16px 0;
  text-align: center;
  color: var(--gs-text-muted);
  font-size: 0.85rem;
}

.gs-footer a {
  color: #a5b4ff;
  text-decoration: underline;
  margin: 0 8px;
}

/* === SMALL INLINE GOLD YOUTUBE BUTTON (CARD HEADER) === */

.card-watch-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111;
  border: 1px solid rgba(250, 204, 21, 0.9);

  box-shadow:
    0 0 12px rgba(250, 204, 21, 0.9),
    0 0 22px rgba(248, 250, 252, 0.3);

  transition: transform .15s ease, box-shadow .15s ease;
}

.card-watch-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 18px rgba(250, 204, 21, 1),
    0 0 34px rgba(248, 250, 252, 0.45);
  background: linear-gradient(135deg, #fde047, #fbbf24);
}

/* Keep header cards clean on mobile */
@media (max-width: 640px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
