/* ============================================================
   GamblinGods — közös design-tokenek és megosztott elemek (C1)
   Ezt a fájlt MINDEN oldal betölti a saját <style> blokkja UTÁN,
   így az itt definiált tokenek az irányadók.
   ============================================================ */

:root {
  /* Alap felületek — mélyebb, kékesfekete alap */
  --bg: #0a0a10;
  --bg-soft: #10101a;
  --card: #12121d;

  /* Szöveg — pergamen-fehér */
  --ink: #edeae2;
  --ink-soft: #a8a5b0;

  /* Arany hierarchia: fő arany + fényes kiemelés + visszafogott antik bronz */
  --gold: #e7c469;
  --gold-bright: #f6dd92;
  --bronze: #a98d5a;

  /* EGY jelzőszín: smaragd — kizárólag pozitív státuszokra (nyereség, aktív) */
  --emerald: #2dd4a8;
  --rose: #ff5d73;

  /* A lila csak halvány háttér-aura maradhat, kiemelésre nem használjuk */
  --violet: #6d5cf0;
  --violet-soft: #9b8dff;

  --line: rgba(255, 255, 255, 0.08);

  --font-display: 'Cinzel', serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --radius-card: 22px;
  --radius-pill: 100px;
  --shadow-card: 0 25px 70px rgba(0, 0, 0, 0.30);
  --shadow-gold: 0 6px 28px rgba(231, 196, 105, 0.30);
}

/* ---------- C7: látható fókusz minden interaktív elemen ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- C3: minden animáció tartsa tiszteletben a reduced-motion beállítást ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- C2: „isteni odds" szignatúra — görög meander háttérminta ----------
   Kódolt SVG, nem stock kép. Nagyon halvány, egy helyre (hero) koncentrálva. */
.gg-meander {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  pointer-events: none;
  opacity: 0.10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 10 H70 V70 H30 V30 H50 V50 H40 V40' fill='none' stroke='%23e7c469' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 80px 80px;
  background-position: bottom center;
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
}

/* C2: „vésett kő" hatású fő számok — Cinzel + finom véset-árnyék */
.gg-carved {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 rgba(246, 221, 146, 0.18), 0 -1px 1px rgba(0, 0, 0, 0.65);
}

/* ---------- C4: „Elmúlt 3 hónap eredményei" sáv a hero alatt ---------- */
.gg-results-band {
  position: relative;
  z-index: 2;
  margin: 0 5vw;
  padding: 22px 28px;
  border: 1px solid rgba(231, 196, 105, 0.20);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(231, 196, 105, 0.06), rgba(255, 255, 255, 0.015));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
}
.gg-results-band .band-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.gg-results-band .band-stat { display: flex; flex-direction: column; gap: 2px; }
.gg-results-band .band-stat strong {
  font-size: 26px;
  color: var(--ink);
}
.gg-results-band .band-stat strong.positive { color: var(--emerald); }
.gg-results-band .band-stat strong.negative { color: var(--rose); }
.gg-results-band .band-stat span { font-size: 12px; color: var(--ink-soft); }
.gg-results-band .band-note { margin-left: auto; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .gg-results-band { gap: 14px 22px; padding: 18px; }
  .gg-results-band .band-stat strong { font-size: 21px; }
  .gg-results-band .band-note { margin-left: 0; }
}

/* ---------- C4: havi eredmény-idővonal (veszteséges hónap is látszik) ---------- */
.gg-timeline {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin: 26px auto 0;
  padding: 18px 20px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}
.gg-timeline .tl-month {
  flex: 1;
  min-width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}
.gg-timeline .tl-bar-wrap {
  height: 74px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gg-timeline .tl-bar {
  width: 22px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--emerald), rgba(45, 212, 168, 0.35));
  min-height: 4px;
}
.gg-timeline .tl-bar.negative {
  background: linear-gradient(180deg, rgba(255, 93, 115, 0.35), var(--rose));
  border-radius: 2px 2px 6px 6px;
}
.gg-timeline .tl-value { font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
.gg-timeline .tl-value.positive { color: var(--emerald); }
.gg-timeline .tl-value.negative { color: var(--rose); }
.gg-timeline .tl-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- C5: ragadós alsó CTA-sáv mobilon ---------- */
.gg-sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(10, 10, 16, 0.97), rgba(10, 10, 16, 0.88));
  border-top: 1px solid rgba(231, 196, 105, 0.25);
  backdrop-filter: blur(10px);
}
.gg-sticky-cta a {
  display: block;
  text-align: center;
  padding: 14px 20px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: #08080c;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
}
@media (max-width: 768px) {
  .gg-sticky-cta { display: block; }
  body.gg-has-sticky-cta { padding-bottom: 76px; }
}

/* ---------- C5: érintési célok ---------- */
@media (max-width: 768px) {
  button, .btn-primary, .btn-ghost, .nav-cta { min-height: 44px; }
}

/* ---------- B5: igazolt előfizető jelvény ---------- */
.gg-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(231, 196, 105, 0.12);
  border: 1px solid rgba(231, 196, 105, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
