/* =====================================================
   leebetts.casino — Global Styles
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #f0c040;
  --gold2:   #e0a020;
  --green:   #2ecc71;
  --dark:    #0d0d1a;
  --card-bg: rgba(255,255,255,.06);
  --card-border: rgba(255,255,255,.10);
  --radius:  12px;
  --font:    'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: #e8e8f0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── BG ─────────────────────────────────────────── */
.bg-layer {
  position: fixed; inset: 0; z-index: -1;
  background: url('background.webp') center/cover no-repeat;
  filter: brightness(.35) saturate(.7);
}

/* ─── HEADER ─────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,22,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; gap: 16px;
  height: 64px;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 44px; object-fit: contain; }

nav { display: flex; gap: 4px; margin-left: auto; }

nav a {
  color: #ccd; text-decoration: none; font-size: .9rem;
  padding: 8px 14px; border-radius: 8px;
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active {
  background: rgba(240,192,64,.12); color: var(--gold);
}

.header-actions { display: flex; gap: 10px; margin-left: 16px; }

.btn-outline {
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; padding: 8px 20px; border-radius: 8px;
  font-size: .88rem; cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(240,192,64,.15); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a0e00; padding: 8px 22px; border-radius: 8px;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  text-decoration: none; border: none;
  transition: filter .2s;
}
.btn-primary:hover { filter: brightness(1.12); }

/* ─── WINS TICKER ────────────────────────────────── */
.wins-ticker-wrap {
  background: rgba(0,0,0,.45); border-bottom: 1px solid var(--card-border);
  overflow: hidden; height: 38px;
}
.wins-ticker {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.wins-ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.win-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px; font-size: .82rem; height: 38px; color: #bbc;
}
.win-item .avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #6a3f8e, #2d6fbf);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.win-item .amount { color: var(--green); font-weight: 700; }
.win-item .sep { color: #444; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 20px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block; background: rgba(240,192,64,.15);
  border: 1px solid rgba(240,192,64,.4);
  color: var(--gold); font-size: .78rem; font-weight: 600;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
  letter-spacing: .06em; text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  background: linear-gradient(135deg, #fff 40%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero p { font-size: 1.05rem; color: #aab; line-height: 1.65; margin-bottom: 28px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-big {
  padding: 14px 36px; border-radius: 10px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  text-decoration: none; border: none;
  transition: filter .2s, transform .15s;
}
.btn-big:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-big.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a0e00;
}
.btn-big.ghost {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2); color: #dde;
}

.hero-bonus-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(240,192,64,.25);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-bonus-card::before {
  content: '';
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,192,64,.18) 0%, transparent 70%);
}
.bonus-amount {
  font-size: 3.2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #fff86a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 6px;
}
.bonus-label { font-size: 1.1rem; color: #ccd; margin-bottom: 24px; }
.bonus-features { list-style: none; text-align: left; margin-bottom: 28px; }
.bonus-features li {
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .9rem; color: #bbc; display: flex; align-items: center; gap: 10px;
}
.bonus-features li:last-child { border: none; }
.bonus-features li span.ico { color: var(--green); font-size: 1rem; }

/* ─── FEATURES STRIP ─────────────────────────────── */
.features {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: rgba(240,192,64,.4); transform: translateY(-3px); }
.feat-card .ico { font-size: 2rem; margin-bottom: 12px; }
.feat-card h3 { font-size: .92rem; font-weight: 700; margin-bottom: 6px; color: #dde; }
.feat-card p { font-size: .8rem; color: #889; line-height: 1.5; }

/* ─── SECTION HEADING ────────────────────────────── */
.section-heading {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-heading h2 {
  font-size: 1.4rem; font-weight: 800; color: #eef;
}
.section-heading a {
  font-size: .85rem; color: var(--gold); text-decoration: none;
}
.section-heading a:hover { text-decoration: underline; }

/* ─── TABS ───────────────────────────────────────── */
.tabs-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 20px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tab-btn {
  background: var(--card-bg); border: 1px solid var(--card-border);
  color: #bbc; font-size: .82rem; padding: 7px 18px; border-radius: 20px;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.tab-btn:hover, .tab-btn.active {
  background: rgba(240,192,64,.15); border-color: rgba(240,192,64,.45);
  color: var(--gold);
}

/* ─── GAME GRID ──────────────────────────────────── */
.games-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform .2s, border-color .2s;
  text-decoration: none; display: block;
  position: relative;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(240,192,64,.45); }
.game-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }

.game-card-info {
  padding: 10px 12px;
}
.game-card-info .name { font-size: .82rem; font-weight: 600; color: #dde; }
.game-card-info .provider { font-size: .72rem; color: #778; margin-top: 2px; }

.game-card .overlay {
  position: absolute; inset: 0;
  background: rgba(240,192,64,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; opacity: 0; transition: opacity .2s;
}
.game-card:hover .overlay { opacity: 1; }
.overlay .play-btn {
  background: #1a0e00; color: var(--gold);
  border: none; border-radius: 8px;
  padding: 8px 24px; font-weight: 700; font-size: .85rem; cursor: pointer;
}
.overlay .demo-btn {
  background: transparent; color: #1a0e00;
  border: 2px solid #1a0e00; border-radius: 8px;
  padding: 5px 18px; font-size: .78rem; cursor: pointer;
}

/* ─── SEO TEXT ───────────────────────────────────── */
.seo-section {
  max-width: 900px; margin: 0 auto;
  padding: 0 20px 60px;
}
.seo-section h2 {
  font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; color: #eef;
}
.seo-section h3 { font-size: 1.1rem; font-weight: 700; margin: 22px 0 8px; color: #dde; }
.seo-section p { font-size: .92rem; color: #99a; line-height: 1.75; margin-bottom: 10px; }
.seo-section ul { padding-left: 20px; color: #99a; font-size: .92rem; line-height: 1.75; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: rgba(0,0,0,.6); border-top: 1px solid var(--card-border);
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 24px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: .8rem; color: #667; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: #ccd; margin-bottom: 12px; }
.footer-col a {
  display: block; font-size: .82rem; color: #778;
  text-decoration: none; margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; font-size: .76rem; color: #445; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #445; color: #445; font-size: .72rem; font-weight: 800;
  margin-right: 10px; vertical-align: middle;
}

/* ─── PAGE HERO (inner pages) ────────────────────── */
.page-hero {
  max-width: 1280px; margin: 0 auto;
  padding: 48px 20px 32px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.page-hero p { color: #99a; font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ─── BONUSES PAGE ───────────────────────────────── */
.bonuses-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 56px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}
.bonus-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.bonus-card:hover { transform: translateY(-4px); border-color: rgba(240,192,64,.4); }
.bonus-card-header {
  padding: 24px 24px 16px;
  background: linear-gradient(135deg, rgba(240,192,64,.12), rgba(46,204,113,.06));
  border-bottom: 1px solid var(--card-border);
}
.bonus-card-header .tag {
  display: inline-block; padding: 3px 12px; border-radius: 12px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 12px;
}
.tag.welcome { background: rgba(240,192,64,.2); color: var(--gold); }
.tag.cashback { background: rgba(46,204,113,.2); color: var(--green); }
.tag.fs { background: rgba(100,150,255,.2); color: #7ab; }
.tag.reload { background: rgba(255,120,80,.2); color: #f97; }

.bonus-card-header .val {
  font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.bonus-card-header .desc { font-size: .88rem; color: #aab; margin-top: 6px; }
.bonus-card-body { padding: 20px 24px; }
.bonus-card-body ul { list-style: none; margin-bottom: 20px; }
.bonus-card-body ul li {
  font-size: .85rem; color: #99a; padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: flex-start; gap: 8px;
}
.bonus-card-body ul li:last-child { border: none; }
.bonus-card-body ul li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ─── FAQ PAGE ───────────────────────────────────── */
.faq-list {
  max-width: 860px; margin: 0 auto;
  padding: 0 20px 60px;
}
.faq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 18px 22px; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  color: #dde; font-size: .95rem; font-weight: 600;
  transition: background .2s;
}
.faq-question:hover { background: rgba(255,255,255,.04); }
.faq-question .arrow {
  flex-shrink: 0; transition: transform .25s;
  color: var(--gold); font-size: 1.1rem;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  font-size: .88rem; color: #99a; line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 22px 20px; }

/* ─── LIVE SECTION ───────────────────────────────── */
.live-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.live-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s; text-decoration: none;
  position: relative;
}
.live-card:hover { transform: translateY(-4px); border-color: rgba(240,192,64,.4); }
.live-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.live-badge {
  position: absolute; top: 10px; left: 10px;
  background: #e03; color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; letter-spacing: .05em;
}
.live-card-info { padding: 12px 14px; }
.live-card-info .name { font-size: .88rem; font-weight: 600; color: #dde; }
.live-card-info .dealer { font-size: .78rem; color: #778; margin-top: 4px; }
.live-card-info .limits {
  font-size: .74rem; color: var(--gold); margin-top: 6px;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-bonus-card { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  nav a { padding: 8px 10px; font-size: .82rem; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
