:root {
  --bg-dark: #0c0d12;
  --bg-panel: #15171f;
  --bg-panel-2: #1c1f2a;
  --gold: #f5c451;
  --gold-2: #e0a73a;
  --gold-grad: linear-gradient(135deg, #f7d676 0%, #e0a73a 100%);
  --text: #e8e9ee;
  --text-muted: #9aa0ad;
  --border: rgba(255, 255, 255, 0.08);
}

* { font-family: 'Kanit', system-ui, sans-serif; }

body {
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; }
.text-gold { color: var(--gold) !important; }
.text-muted-light { color: var(--text-muted) !important; }

/* ===== Buttons ===== */
.btn-gold {
  background: var(--gold-grad);
  border: none;
  color: #1a1300;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(224, 167, 58, .3);
}
.btn-gold:hover { color: #1a1300; filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 500;
  background: transparent;
}
.btn-outline-gold:hover { background: var(--gold); color: #1a1300; }
.btn { transition: all .2s ease; border-radius: 10px; }

/* ===== Topbar ===== */
.topbar {
  background: #08090d;
  padding: 7px 0;
  font-size: .82rem;
  border-bottom: 1px solid var(--border);
}
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--gold); }

/* ===== Navbar ===== */
.main-nav {
  background: rgba(12, 13, 18, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
}
.brand-text { font-weight: 700; font-size: 1.25rem; letter-spacing: .5px; color: #fff; }
.main-nav .nav-link { color: var(--text-muted); font-weight: 500; padding: .5rem 1rem; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--gold); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(245, 196, 81, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(245, 196, 81, .06), transparent 60%),
    var(--bg-dark);
}
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.15; }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; margin: 1.2rem 0 1.8rem; max-width: 480px; }
.hero-img { filter: drop-shadow(0 20px 50px rgba(245, 196, 81, .2)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-stats { margin-top: 1.5rem; }
.stat-num { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: .82rem; color: var(--text-muted); }

.badge-gold {
  background: rgba(245, 196, 81, .14);
  color: var(--gold);
  border: 1px solid rgba(245, 196, 81, .35);
  padding: .5rem .9rem;
  border-radius: 30px;
  font-weight: 500;
}

/* ===== Section headings ===== */
.section-title { font-weight: 700; font-size: 2rem; position: relative; display: inline-block; }
.section-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--gold-grad); margin: .6rem auto 0; border-radius: 3px;
}
.section-sub { color: var(--text-muted); margin-top: .8rem; }

/* ===== Category strip ===== */
.category-strip { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.2rem .5rem; border-radius: 14px; color: var(--text);
  background: var(--bg-panel-2); border: 1px solid var(--border); transition: all .25s;
}
.cat-card i { font-size: 1.8rem; color: var(--gold); }
.cat-card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--gold); }

/* ===== Game cards ===== */
.game-card {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--bg-panel); border: 1px solid var(--border);
  transition: all .25s;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.game-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.game-card .game-info { padding: .7rem .8rem; }
.game-card .game-name { font-weight: 500; font-size: .9rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card .game-tag { font-size: .72rem; color: var(--gold); }
.game-card .play-overlay {
  position: absolute; inset: 0; background: rgba(12,13,18,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.game-card:hover .play-overlay { opacity: 1; }
.play-overlay .btn { border-radius: 30px; }
.hot-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: #e3463a; color: #fff; font-size: .68rem; font-weight: 600;
  padding: .15rem .5rem; border-radius: 6px;
}

/* ===== Promo ===== */
.promo-bg { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.promo-card {
  background: var(--bg-panel-2); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.8rem 1.5rem; text-align: center; transition: all .25s;
}
.promo-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.promo-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 196, 81, .14); color: var(--gold); font-size: 1.6rem;
}
.promo-card h5 { font-weight: 600; }
.promo-card p { color: var(--text-muted); font-size: .9rem; }

/* ===== Providers ===== */
.provider-chip {
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem; text-align: center; transition: all .25s;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%;
}
.provider-chip i { font-size: 1.8rem; color: var(--gold); }
.provider-chip span { font-size: .8rem; color: var(--text-muted); }
.provider-chip:hover { border-color: var(--gold); transform: translateY(-3px); }

/* ===== Steps ===== */
.steps-bg { background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-dark) 100%); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-grad); color: #1a1300; font-weight: 700; font-size: 1.4rem;
}

/* ===== FAQ ===== */
.faq-accordion .accordion-item { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px !important; margin-bottom: .7rem; overflow: hidden; }
.faq-accordion .accordion-button { background: var(--bg-panel); color: var(--text); font-weight: 500; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--bg-panel-2); color: var(--gold); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { filter: invert(.7); }
.faq-accordion .accordion-body { color: var(--text-muted); }

/* ===== Footer ===== */
.footer { background: #08090d; border-top: 1px solid var(--border); }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--text-muted); font-size: .9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-divider { border-color: var(--border); margin: 2rem 0 1.2rem; }
.footer .form-control { background: var(--bg-panel-2); border: 1px solid var(--border); color: var(--text); }
.footer .form-control::placeholder { color: var(--text-muted); }
.pay-chip { background: var(--bg-panel-2); border: 1px solid var(--border); border-radius: 8px; padding: .35rem .6rem; font-size: .8rem; color: var(--text-muted); }

/* ===== Float contact ===== */
.float-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-grad); color: #1a1300; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(224, 167, 58, .4); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,196,81,.5); } 70% { box-shadow: 0 0 0 14px rgba(245,196,81,0); } 100% { box-shadow: 0 0 0 0 rgba(245,196,81,0); } }
