/* ============================================================
   GOLDBET CASINO — style.css
   Breakpoints: Desktop ≥1025px | Tablet 768-1024px | Mobile <768px
   ============================================================ */

:root {
  --green: #027B5B;
  --green-light: #03a378;
  --yellow: #F9DC1C;
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c2230;
  --card: #1a2035;
  --border: #2a3347;
  --divider: #1f2d40;
  --text: #e6edf3;
  --muted: #8b9ab5;
  --faint: #4d5c73;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Oswald', 'Inter', sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
a { color: var(--green-light); text-decoration: none; }
a:hover { color: var(--yellow); }
img { max-width: 100%; display: block; height: auto; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3 { line-height: 1.25; }
p, li { max-width: 72ch; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-n { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap; flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-g { color: var(--yellow); }
.logo-t { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-left: 4px; font-weight: 500; }

/* Desktop nav */
.nav {
  display: flex;
  gap: 20px;
  flex: 1;
  justify-content: center;
}
.nav a { color: var(--muted); font-size: .875rem; font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--text); }

/* Header buttons — desktop only */
.header-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* BURGER — hidden on desktop, visible on tablet & mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
  z-index: 110;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
/* Burger open state — X animation */
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile/tablet dropdown nav */
.mob-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 20px;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  flex-direction: column;
  gap: 4px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  display: block;
  padding: 11px 16px;
  color: var(--muted);
  font-size: .95rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.mob-nav a:hover { color: var(--text); background: var(--surface-2); }
.mob-nav-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.mob-nav-btns .btn { flex: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 8px 20px;
  border-radius: 6px; font-size: .875rem; font-weight: 600;
  border: 1.5px solid transparent;
  white-space: nowrap; transition: all .2s;
  cursor: pointer; text-decoration: none;
}
.btn-p { background: var(--green); color: #fff; border-color: var(--green); }
.btn-p:hover { background: var(--green-light); border-color: var(--green-light); color: #fff; box-shadow: 0 0 32px rgba(2,123,91,.25); }
.btn-g { background: transparent; color: var(--text); border-color: var(--border); }
.btn-g:hover { border-color: var(--green); color: var(--green-light); }
.btn-o { background: transparent; color: var(--green-light); border-color: var(--green); }
.btn-o:hover { background: var(--green); color: #fff; }
.btn-lg { padding: 12px 28px; font-size: 1rem; border-radius: 8px; }
.btn-b { width: 100%; }

/* ============================================================
   SITE BANNER (after header)
   ============================================================ */
.site-banner {
  margin-top: var(--header-h);
}
.site-banner-link {
  display: block;
  text-decoration: none;
}
.site-banner-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 400px;
  background: #0a0e14;
}
.site-banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-height: 400px;
}
.site-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,17,23,.88) 0%, rgba(13,17,23,.55) 50%, rgba(13,17,23,.15) 100%);
  display: flex;
  align-items: center;
}
.site-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.site-banner-text { max-width: 520px; }
.site-banner-badge {
  display: inline-block;
  background: var(--yellow);
  color: #0d1117;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.site-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 10px;
}
.site-banner-title span { color: var(--yellow); }
.site-banner-sub {
  color: rgba(230,237,243,.75);
  font-size: clamp(.85rem, .8rem + .3vw, 1rem);
  max-width: 460px;
  line-height: 1.55;
}
.site-banner-cta {
  flex-shrink: 0;
  font-size: 1rem;
  padding: 14px 32px;
  pointer-events: all;
}
.banner-disclaimer {
  text-align: center;
  font-size: .7rem;
  color: var(--faint);
  padding: 6px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 48px 0 64px; position: relative; }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(2,123,91,.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); color: var(--muted); padding: 4px 16px; border-radius: 999px; font-size: .8rem; margin-bottom: 20px; }
.hero-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 1rem + 3vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.hero-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.hero-tag svg { color: var(--green); flex-shrink: 0; }

.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; position: sticky; top: calc(var(--header-h) + 12px); }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.hero-card-label { font-size: .7rem; color: var(--faint); text-transform: uppercase; letter-spacing: .5px; }
.card-list { list-style: none; }
.card-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--divider); font-size: .875rem; }
.card-list li:last-child { border-bottom: none; }
.card-key { color: var(--muted); }
.card-val { font-weight: 600; color: var(--text); }
.card-v-g { color: var(--green-light); }
.card-v-y { color: var(--yellow); }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--green-light); }
.stat-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ============================================================
   TOC
   ============================================================ */
.toc { padding: 24px 0; }
.toc-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.toc-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 20px; color: var(--text); font-size: .95rem; font-weight: 600; }
.toc-head svg { color: var(--green); flex-shrink: 0; }
.toc-chevron { margin-left: auto; transition: transform .2s; }
.toc-head[aria-expanded="false"] .toc-chevron { transform: rotate(180deg); }
.toc-body { padding: 0 20px 20px; overflow: hidden; transition: max-height .3s; }
.toc-body.collapsed { max-height: 0!important; padding-bottom: 0; }
.toc-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.toc-list a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--muted); font-size: .875rem; border: 1px solid transparent; transition: all .2s; }
.toc-list a:hover { color: var(--green-light); background: rgba(2,123,91,.06); border-color: rgba(2,123,91,.15); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section-a { background: var(--surface); }
.section-label { display: inline-block; color: var(--green); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section h2 { font-family: var(--font-display); font-size: clamp(1.3rem, .8rem + 1.5vw, 1.8rem); font-weight: 600; margin-bottom: 16px; }
.section h3 { font-size: 1.1rem; font-weight: 600; margin: 32px 0 12px; }
.section-intro { color: var(--muted); margin-bottom: 32px; }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.steps { list-style: none; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--divider); }
.steps li:last-child { border-bottom: none; }
.step-n { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 32px; background: var(--green); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 50%; }
.steps li div { font-size: .95rem; color: var(--muted); }
.steps li div strong { color: var(--text); }

.bullets { list-style: none; margin: 12px 0; }
.bullets li { position: relative; padding: 4px 0 4px 24px; color: var(--muted); font-size: .9rem; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--green-light); font-weight: 700; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 8px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
caption { padding: 12px 16px; text-align: left; font-weight: 600; font-size: .85rem; background: var(--surface-2); }
th { padding: 10px 16px; text-align: left; font-weight: 600; color: var(--green-light); background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
td { padding: 10px 16px; border-top: 1px solid var(--divider); color: var(--muted); }
.td-g { color: var(--green-light)!important; font-weight: 600; }

/* ============================================================
   INFO BOX
   ============================================================ */
.info { display: flex; gap: 12px; padding: 16px; border-radius: 6px; margin: 20px 0; font-size: .9rem; }
.info svg { flex-shrink: 0; margin-top: 2px; }
.info-y { background: rgba(249,220,28,.06); border: 1px solid rgba(249,220,28,.15); }
.info-y svg { color: var(--yellow); }
.info p { color: var(--muted); }
.info p strong { color: var(--text); }

/* ============================================================
   BONUS CARDS
   ============================================================ */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.bonus-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; transition: border-color .2s; }
.bonus-card:hover { border-color: var(--green); }
.bonus-f { border-color: var(--green); box-shadow: 0 0 32px rgba(2,123,91,.2); }
.bonus-ribbon { display: inline-block; background: var(--yellow); color: #0d1117; padding: 4px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.bonus-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.bonus-am { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--yellow); line-height: 1; }
.bonus-sub { color: var(--muted); font-size: .9rem; margin: 8px 0 16px; }
.bonus-list { list-style: none; margin-bottom: auto; padding-bottom: 16px; }
.bonus-list li { padding: 4px 0; color: var(--muted); font-size: .875rem; }
.bonus-list li strong { color: var(--text); }

/* ============================================================
   CARDS (with optional photo)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; transition: all .2s; }
.card:hover { border-color: var(--green); transform: translateY(-2px); }
.card-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.card h3 { font-size: 1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .85rem; }

/* Cards with photos */
.card-img { padding: 0; overflow: hidden; }
.card-img .card-photo { width: 100%; height: 160px; object-fit: cover; display: block; }
.card-img .card-icon,
.card-img h3,
.card-img p { padding: 0 20px; }
.card-img .card-icon { padding-top: 16px; }
.card-img p { padding-bottom: 20px; }

/* ============================================================
   PROVIDERS
   ============================================================ */
.providers { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.provider { background: var(--surface-2); padding: 6px 14px; border-radius: 6px; font-size: .8rem; font-weight: 500; border: 1px solid var(--border); color: var(--muted); }

/* ============================================================
   SECURITY
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.sec-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.sec-icon { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.sec-item strong { display: block; margin-bottom: 8px; font-size: .95rem; }
.sec-item p { color: var(--muted); font-size: .875rem; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pros { background: rgba(2,123,91,.06); border: 1px solid rgba(2,123,91,.15); border-radius: 10px; padding: 20px; }
.cons { background: rgba(249,220,28,.04); border: 1px solid rgba(249,220,28,.12); border-radius: 10px; padding: 20px; }
.pros h4, .cons h4 { margin-bottom: 12px; font-size: .95rem; }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li { padding: 4px 0; color: var(--muted); font-size: .9rem; }

/* ============================================================
   MOBILE STEPS & SUPPORT
   ============================================================ */
.m-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.m-step { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.m-step-n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--green); display: block; margin-bottom: 8px; }
.m-step strong { display: block; margin-bottom: 8px; font-size: .95rem; }
.m-step span { color: var(--muted); font-size: .875rem; }

.s-ch { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.sc { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.sc-icon { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.sc strong { display: block; margin-bottom: 8px; font-size: .95rem; }
.sc span { color: var(--muted); font-size: .875rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--green); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--text); gap: 16px; }
.faq-q:hover { color: var(--green-light); }
.faq-plus { flex-shrink: 0; transition: transform .2s; color: var(--faint); }
.faq-item.open .faq-plus { transform: rotate(45deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a.open { max-height: 600px; }
.faq-a-i { padding: 0 20px 20px; color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ============================================================
   CTA / FOOTER
   ============================================================ */
.cta-c { padding: 48px 0; text-align: center; }
.cta-c h2 { font-family: var(--font-display); font-size: clamp(1.3rem, .8rem + 1.5vw, 1.8rem); margin-bottom: 10px; }
.cta-c p { color: var(--muted); margin-bottom: 24px; }

.footer { padding: 40px 0 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 16px 0; }
.footer-links a { color: var(--muted); font-size: .85rem; }
.footer-links a:hover { color: var(--green-light); }
.footer-l { color: var(--faint); font-size: .75rem; line-height: 1.8; }

/* ============================================================
   SCROLL TO TOP & MOBILE CTA BAR
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 20px; right: 20px;
  width: 44px; height: 44px;
  background: var(--green); color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  transition: all .2s; z-index: 50;
}
.scroll-top:hover { background: var(--green-light); transform: translateY(-2px); }
.scroll-top[hidden] { display: none; }

/* Mobile bottom sticky CTA */
.mob-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  gap: 8px;
}
.mob-cta .btn { flex: 1; font-size: .85rem; padding: 10px 16px; }

/* ============================================================
   RESPONSIVE — TABLET (768px – 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Hide desktop nav & buttons, show burger */
  .nav { display: none; }
  .header-btns { display: none; }
  .burger { display: flex; }

  /* Hero: single column */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { position: static; max-width: 480px; }

  /* Two-col → single */
  .two-col { grid-template-columns: 1fr; }

  /* Banner adjustment */
  .site-banner-content { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-banner-title { font-size: clamp(1.4rem, 1.1rem + 2vw, 2.2rem); }
  .site-banner-img-wrap { max-height: 320px; }
  .site-banner-img-wrap img { max-height: 320px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (<768px)
   ============================================================ */
@media (max-width: 767px) {
  .mob-cta { display: flex; }
  body { padding-bottom: 60px; }

  /* Hero */
  .hero { padding: 24px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; }
  .hero-tags { flex-direction: column; gap: 8px; }
  .hero-card { display: none; } /* shown above in banner / stat bar */

  /* Banner */
  .site-banner-overlay {
    background: linear-gradient(180deg, rgba(13,17,23,.6) 0%, rgba(13,17,23,.92) 100%);
    align-items: flex-end;
  }
  .site-banner-content {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 28px;
    gap: 14px;
  }
  .site-banner-title { font-size: 1.35rem; }
  .site-banner-sub { display: none; }
  .site-banner-cta { width: 100%; text-align: center; }
  .site-banner-img-wrap { max-height: 260px; }
  .site-banner-img-wrap img { max-height: 260px; }

  /* Sections */
  .section { padding: 40px 0; }
  .bonus-grid, .cards, .sec-grid, .m-steps, .s-ch { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .toc-list { grid-template-columns: 1fr; }
  .stats-grid { gap: 20px; }
  .stat-num { font-size: 1.5rem; }

  /* Cards with photo: smaller photo on mobile */
  .card-img .card-photo { height: 130px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (<480px)
   ============================================================ */
@media (max-width: 479px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.4rem; }
  .btn-lg { padding: 10px 22px; font-size: .9rem; }
  .bonus-am { font-size: 2rem; }
  th, td { padding: 8px 10px; font-size: .8rem; }
  .site-banner-title { font-size: 1.2rem; }
}
