/* ====================================================
   Gamble theme — Glorion-like
   ==================================================== */

:root {
  --g-bg: #0a0e1a;
  --g-bg-2: #0d1426;
  --g-bg-3: #131c33;
  --g-text: #f0f3f8;
  --g-muted: #9ba6bd;
  --g-border: rgba(255, 255, 255, 0.08);
  --g-red: #e63946;
  --g-red-2: #ff3737;
  --g-red-glow: rgba(230, 57, 70, 0.35);
  --g-blue: #2a4a8c;
  --g-blue-2: #3a5fa8;
  --g-radius: 8px;
  --g-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

.g-body {
  background: var(--g-bg);
  color: var(--g-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--g-text); text-decoration: none; }
a:hover { color: var(--g-red-2); }

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

/* ============== TOPBAR ============== */
.g-topbar {
  background: var(--g-bg-2);
  border-bottom: 1px solid var(--g-border);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.g-topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.g-topbar__brand { display: inline-flex; align-items: center; }

.g-topbar__logo {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 1px;
  font-style: italic;
  text-transform: uppercase;
  user-select: none;
}
.g-topbar__logo-1 {
  background: linear-gradient(180deg, #f4f6fb 0%, #b9c0d2 60%, #8a93a8 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.g-topbar__logo-2 {
  background: linear-gradient(180deg, #ff6262, #d62631);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.g-topbar__nav {
  display: flex;
  gap: 36px;
  justify-content: center;
}

.g-topbar__link {
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  padding: 4px 0;
  position: relative;
  transition: color 0.18s ease;
}
.g-topbar__link::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: var(--g-red);
  transition: width 0.2s ease, left 0.2s ease;
}
.g-topbar__link:hover::after { width: 100%; left: 0; }

.g-topbar__cta { display: flex; gap: 12px; }

/* ============== BUTTONS ============== */
.g-btn,
.g-btn:link,
.g-btn:visited,
.g-btn:hover,
.g-btn:active {
  color: #ffffff;            /* всегда белый текст */
  text-decoration: none;     /* никаких подчёркиваний от a:link */
}

.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  padding: 11px 28px;
  border: 1px solid transparent;
  border-radius: 10px;       /* более скруглённые, чем у Glorion */
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    background 0.25s ease,
    border-color 0.2s ease;
}

/* PLAY — холодный синий gradient, под чуть другим углом, чем у Glorion */
.g-btn--play {
  background: linear-gradient(135deg, #1f3a6b 0%, #345e9e 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 18px rgba(40, 75, 160, 0.28);
}
.g-btn--play:hover {
  background: linear-gradient(135deg, #2a4d8a 0%, #4a78c2 100%);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 9px 24px rgba(40, 75, 160, 0.45);
}

/* REGISTER — красный gradient, чуть теплее и менее «холодный», чем оригинал */
.g-btn--register {
  background: linear-gradient(135deg, #c92231 0%, #ff4a4a 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 22px var(--g-red-glow);
}
.g-btn--register:hover {
  background: linear-gradient(135deg, #d4303f 0%, #ff6262 100%);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 9px 28px rgba(230, 57, 70, 0.55);
}

/* ============== HEXAGONAL CTA (Get Bonus) ============== */
.g-cta-hex {
  --hex-bg: linear-gradient(180deg, #ff5252, #c1232f);
  display: inline-block;
  padding: 18px 50px;
  background: var(--hex-bg);
  color: #fff;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  position: relative;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  box-shadow: 0 6px 30px var(--g-red-glow);
  transition: transform 0.18s ease, filter 0.2s ease;
}
.g-cta-hex:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.g-cta-hex--lg { padding: 24px 80px; font-size: 1.7rem; }

/* ============== HERO ============== */
.g-hero {
  background: linear-gradient(180deg, var(--g-bg-2) 0%, var(--g-bg) 100%);
  padding: 70px 24px 60px;
  position: relative;
  overflow: hidden;
}
.g-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(230,57,70,0.10), transparent 60%);
  pointer-events: none;
}
.g-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.g-hero__copy { z-index: 2; }
.g-hero__eyebrow {
  display: inline-block;
  font-family: Oswald, Impact, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.g-hero__amount {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 30px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe6e6 0%, #ff8585 60%, #ff5252 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: 0 4px 30px rgba(230, 57, 70, 0.25);
}
.g-hero__art {
  filter: grayscale(0.4) brightness(0.85);
  max-width: 100%;
  display: flex;
  justify-content: center;
}
.g-hero__art img {
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* ============== SECTIONS ============== */
.g-section { padding: 60px 24px; }
.g-section__inner { max-width: 1100px; margin: 0 auto; }

.g-h1 {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}
.g-h2 {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.g-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--g-muted);
  margin: 0;
}

.g-intro { background: var(--g-bg-2); }

/* ============== QUICK FACTS ============== */
.g-quickfacts__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.g-quickfacts__grid li {
  background: var(--g-bg-3);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.g-qf__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--g-muted);
}
.g-qf__value { font-weight: 700; color: var(--g-text); }

/* ============== HITS & MISSES ============== */
.g-hitsmisses { background: var(--g-bg-2); }
.g-hm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.g-hm__col {
  background: var(--g-bg-3);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 24px;
}
.g-hm__col--pros { border-left: 4px solid #23d5ab; }
.g-hm__col--cons { border-left: 4px solid var(--g-red); }
.g-hm__title {
  font-family: Oswald, Impact, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.g-hm__list {
  margin: 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============== TOC + BODY ============== */
.g-toc {
  background: var(--g-bg-3);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 22px 26px;
  margin: 0 0 32px;
}
.g-toc ul { list-style: none; margin: 0; padding: 0; columns: 2; gap: 16px; }
.g-toc li { padding: 4px 0; break-inside: avoid; }
.g-toc a { color: var(--g-muted); }
.g-toc a:hover { color: var(--g-red-2); }

.g-body :is(h2, h3, h4) {
  font-family: Oswald, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.g-body h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.g-body h3 { font-size: 1.3rem; margin: 26px 0 10px; }
.g-body p { color: var(--g-muted); margin: 0 0 14px; line-height: 1.75; }
.g-body a { color: var(--g-red-2); text-decoration: underline; }
.g-body ul, .g-body ol { color: var(--g-muted); padding-left: 22px; }
.g-body img { border-radius: var(--g-radius); margin: 14px 0; }
.g-body table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.g-body td, .g-body th {
  padding: 10px 14px;
  border: 1px solid var(--g-border);
  text-align: left;
}
.g-body th { background: var(--g-bg-3); font-weight: 700; }

/* ============== FAQ ============== */
.g-faq { background: var(--g-bg-2); }
.g-faq__list { display: flex; flex-direction: column; gap: 12px; }
.g-faq__item {
  background: var(--g-bg-3);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  overflow: hidden;
}
.g-faq__item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  user-select: none;
}
.g-faq__item summary::-webkit-details-marker { display: none; }
.g-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--g-red-2);
  transition: transform 0.2s ease;
}
.g-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.g-faq__answer {
  padding: 0 22px 18px;
  color: var(--g-muted);
  line-height: 1.7;
}

/* ============== BIG CTA SECTION ============== */
.g-cta-section {
  background: linear-gradient(180deg, var(--g-bg) 0%, var(--g-bg-2) 100%);
  text-align: center;
}
.g-cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.g-cta__title {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin: 0;
}

/* ============== FOOTER ============== */
.g-footer {
  background: var(--g-bg-2);
  border-top: 1px solid var(--g-border);
  padding: 48px 24px 32px;
  margin-top: auto;
}
.g-footer__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.g-footer__logo {
  font-family: Oswald, Impact, sans-serif;
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.g-footer__icons { display: flex; gap: 18px; }
.g-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
}
.g-footer__icon--age { background: #d62631; color: #fff; }
.g-footer__icon--rg {
  background: #f6a623;
  color: #1a0f00;
  font-size: 1rem;
}
.g-footer__notice { color: var(--g-muted); font-size: 0.9rem; margin: 0; max-width: 540px; }
.g-footer__copyright { color: var(--g-muted); font-size: 0.82rem; margin: 0; opacity: 0.7; }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .g-topbar__inner { grid-template-columns: 1fr auto; gap: 12px; }
  .g-topbar__nav { display: none; }
  .g-topbar__logo { font-size: 26px; }

  .g-hero { padding: 40px 18px 30px; }
  .g-hero__inner { grid-template-columns: 1fr; gap: 18px; }
  .g-hero__art { order: -1; max-height: 220px; }
  .g-hero__art img { max-height: 220px; }
  .g-hero__amount { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .g-section { padding: 38px 18px; }
  .g-hm__grid { grid-template-columns: 1fr; }
  .g-toc ul { columns: 1; }
}
@media (max-width: 480px) {
  .g-btn { padding: 8px 14px; font-size: 0.9rem; }
  .g-cta-hex { padding: 14px 32px; font-size: 1.1rem; }
  .g-cta-hex--lg { padding: 18px 50px; font-size: 1.3rem; }
}
