/* BeatBetGames demo casino — theme matches the BeatBetGames panel */
:root {
  --bg: #060309;
  --surface-1: #0d0812;
  --surface-2: #16101f;
  --surface-3: #1f1730;
  --elevated: #291d3f;
  --border: rgba(191, 72, 252, 0.14);
  --border-strong: rgba(191, 72, 252, 0.30);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --text: #f7f5fb;
  --text-2: #b6aec7;
  --text-3: #756a8a;
  --primary: #a855f7;
  --primary-hover: #c084fc;
  --primary-glow: rgba(191, 72, 252, 0.35);
  --purple-light: #d8b4fe;
  --magenta: #d946ef;
  --brand-gradient: linear-gradient(120deg, #6d1fd6 0%, #a855f7 45%, #e34cf5 100%);
  --brand-gradient-text: linear-gradient(100deg, #d8b4fe 0%, #f0abfc 100%);
  --success: #22c55e;
  --danger: #fb3a5d;
  --warning: #f7b733;
  --info: #38bdf8;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple-light); text-decoration: none; }
a:hover { color: #fff; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(168, 85, 247, 0.20), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(227, 76, 245, 0.10), transparent 60%);
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 3, 9, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 44px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.45)); }
.demo-badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-light); padding: 3px 8px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: rgba(168, 85, 247, 0.12);
}
.topnav { display: flex; align-items: center; gap: 10px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: var(--radius-sm); }
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.05); }
.balance-pill {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 7px 14px;
}
.balance-pill svg { color: var(--primary-hover); }
.balance-ccy { color: var(--text-2); font-weight: 600; font-size: 12px; }

.lang-switch { display: inline-flex; gap: 2px; padding: 3px; background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); }
.lang-switch a { padding: 3px 10px; border-radius: var(--radius-pill); color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.lang-switch a.lang-active { background: var(--elevated); color: #fff; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-gradient); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.user-menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 10px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  display: flex; flex-direction: column; gap: 4px;
}
.user-menu-email { font-size: 12.5px; color: var(--text-2); padding: 4px 8px 8px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; }
.user-menu-panel .lang-switch { margin: 4px 6px 6px; align-self: flex-start; }
.menu-link { padding: 8px; border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-size: 14px; }
.menu-link:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.menu-link-danger { color: #ff8aa0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--brand-gradient); color: #fff; box-shadow: 0 6px 22px var(--primary-glow); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 28px var(--primary-glow); }
.btn-ghost { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); color: #fff; }
.btn-nav { padding: 8px 16px; }
.btn-block { width: 100%; margin-top: 20px; padding: 13px; font-size: 15px; }
.btn-icon { padding: 9px; }

/* ---------- layout ---------- */
.content { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 28px 20px 48px; }

.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; font-weight: 500; border: 1px solid; }
.flash-success { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.32); color: #6ee7a0; }
.flash-error { background: rgba(251, 58, 93, 0.12); border-color: rgba(251, 58, 93, 0.32); color: #ff8aa0; }
.flash-info { background: rgba(168, 85, 247, 0.12); border-color: var(--border-strong); color: var(--purple-light); }
.error { color: #ff8aa0; font-size: 14px; }
.muted { color: var(--text-3); font-size: 13.5px; }

/* ---------- lobby ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 34px 36px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); margin-bottom: 34px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(227, 76, 245, 0.28), transparent 70%),
    radial-gradient(520px 300px at 0% 100%, rgba(109, 31, 214, 0.45), transparent 70%),
    linear-gradient(135deg, #1a0f2e, #0f0919);
}
.hero::after {
  content: ''; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 60px; transform: rotate(28deg);
  border: 1px solid rgba(216, 180, 254, 0.12); background: rgba(168, 85, 247, 0.06); pointer-events: none;
}
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--purple-light); }
.hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.08; margin: 8px 0 10px; max-width: 620px; }
.grad { background: var(--brand-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0; color: var(--text-2); font-size: 16px; max-width: 520px; }
.hero-text, .hero-wallet { position: relative; z-index: 1; }
.hero-wallet {
  display: flex; flex-direction: column; gap: 6px; min-width: 230px; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(6, 3, 9, 0.55); border: 1px solid var(--border-strong); backdrop-filter: blur(6px);
}
.hero-wallet-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.hero-wallet-amount { font-family: var(--font-display); font-size: 28px; font-weight: 800; margin-bottom: 8px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.count { font-family: var(--font-sans); font-size: 12px; font-weight: 700; color: var(--purple-light); background: rgba(168, 85, 247, 0.14); border: 1px solid var(--border); padding: 2px 9px; border-radius: var(--radius-pill); }
.search {
  display: flex; align-items: center; gap: 8px; min-width: 260px; padding: 0 14px; height: 42px;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--text-3);
}
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18); }
.search input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 14px; min-width: 0; }

.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.provider-tile {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius);
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text); transition: border-color .2s, background .2s, transform .15s;
}
.provider-tile:hover { border-color: var(--primary); background: var(--surface-2); color: #fff; transform: translateY(-2px); }
.monogram {
  width: 42px; height: 42px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(140deg, hsl(var(--h) 75% 52%), hsl(calc(var(--h) + 25) 80% 38%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.provider-name { flex: 1; font-weight: 700; font-size: 14.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.provider-tile .chev { color: var(--text-3); }

.chip-row { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--elevated) transparent; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 15px; border-radius: var(--radius-pill);
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text-2); font-size: 13.5px; font-weight: 600;
}
.chip:hover { color: #fff; border-color: var(--border-strong); }
.chip-active { background: var(--brand-gradient); border-color: transparent; color: #fff; box-shadow: 0 4px 16px var(--primary-glow); }
.chip-all svg { width: 15px; height: 15px; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.game-card { display: flex; flex-direction: column; gap: 8px; color: var(--text); }
.game-card-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.game-card:hover .game-card-media { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(109, 31, 214, 0.35); }
.game-card-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(227, 76, 245, 0.35), transparent 60%), linear-gradient(140deg, #2a1650, #120a22);
}
.game-card-placeholder span { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: rgba(255, 255, 255, 0.85); }
.play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s;
  background: linear-gradient(to top, rgba(6, 3, 9, 0.75), rgba(6, 3, 9, 0.2));
}
.game-card:hover .play-overlay, .game-card:focus-visible .play-overlay { opacity: 1; }
.play-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-gradient); box-shadow: 0 6px 22px var(--primary-glow); }
.play-btn svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 3px; }
.game-card-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; padding: 0 2px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.game-card:hover .game-card-name { color: #fff; }

.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-1); }
.empty-icon { font-size: 34px; margin-bottom: 8px; }
.no-results { text-align: center; padding: 30px 0; }

/* ---------- auth / deposit cards ---------- */
.page-auth .content { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.page-auth .content > .flash { width: 100%; max-width: 500px; margin-bottom: 0; }
.auth-wrap { width: 100%; display: flex; justify-content: center; padding: 20px 0; }
.auth-card {
  width: 100%; max-width: 420px; padding: 34px 32px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(31, 23, 48, 0.92), rgba(13, 8, 18, 0.95));
  border: 1px solid var(--border-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.auth-logo { display: block; height: 92px; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.5)); }
.auth-card h1 { font-size: 26px; font-weight: 800; text-align: center; }
.auth-sub { text-align: center; color: var(--text-2); margin: 6px 0 22px; font-size: 14.5px; }
.auth-alt { text-align: center; color: var(--text-3); font-size: 14px; margin: 18px 0 0; }
.auth-alt a { font-weight: 700; }

.form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin: 14px 0 6px; }
.form input {
  width: 100%; padding: 12px 14px; background: var(--surface-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder { color: var(--text-3); }
.form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2); }

.deposit-card { max-width: 500px; }
.deposit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.deposit-head h1, .deposit-head .auth-sub { text-align: left; }
.deposit-head .auth-sub { margin: 4px 0 0; }
.deposit-balance { text-align: right; padding: 10px 14px; border-radius: var(--radius); background: var(--surface-1); border: 1px solid var(--border); }
.deposit-balance span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.deposit-balance strong { font-family: var(--font-display); font-size: 19px; }
.test-mode-banner {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 6px;
  background: rgba(247, 183, 51, 0.09); border: 1px solid rgba(247, 183, 51, 0.38); color: #f5cf7a; font-size: 13px; line-height: 1.55;
}
.test-mode-banner svg { color: var(--warning); margin-top: 2px; }
.test-mode-banner strong { display: block; color: #ffd98a; margin-bottom: 2px; }
.quick-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.quick-amount {
  padding: 10px 6px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface-1);
  color: var(--text); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
}
.quick-amount:hover { border-color: var(--primary); }
.quick-amount.is-active { background: rgba(168, 85, 247, 0.18); border-color: var(--primary); color: #fff; }
.amount-field { position: relative; }
.amount-ccy { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 700; font-size: 13px; }
.amount-field input { padding-left: 54px; font-size: 18px; font-weight: 700; }

/* ---------- game page (full screen) ---------- */
.page-game { height: 100vh; height: 100dvh; overflow: hidden; display: block; background: #000; }
.play-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 44px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.play-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 600; font-size: 13.5px; }
.play-back:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.play-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 32px; pointer-events: none; }
.play-right { display: flex; align-items: center; gap: 6px; }
.play-balance { font-weight: 700; font-size: 13.5px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border-strong); white-space: nowrap; }
.play-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-sm); border: 0; background: none; color: var(--text-2); cursor: pointer; }
.play-icon:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.play-frame { position: fixed; top: 44px; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100% - 44px); border: 0; display: block; background: #000; }
html[dir="rtl"] .play-back svg { transform: scaleX(-1); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(13, 8, 18, 0.7); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 20px; display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 38px; opacity: .9; }
.footer-text { flex: 1; display: flex; flex-direction: column; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.footer-text strong { color: var(--text-2); font-size: 13px; }
.age-badge { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--text-3); color: var(--text-2); font-weight: 800; font-size: 12.5px; }

/* ---------- RTL ---------- */
html[dir="rtl"] .user-menu-panel { right: auto; left: 0; }
html[dir="rtl"] .provider-tile .chev { transform: scaleX(-1); }
html[dir="rtl"] .deposit-head h1, html[dir="rtl"] .deposit-head .auth-sub { text-align: right; }
html[dir="rtl"] .deposit-balance { text-align: left; }
html[dir="rtl"] .amount-ccy { left: auto; right: 14px; }
html[dir="rtl"] .amount-field input { padding-left: 14px; padding-right: 54px; }
html[dir="rtl"] .play-btn svg { margin-left: 0; margin-right: 3px; transform: scaleX(-1); }

/* ---------- responsive ---------- */
/* ---------- free spins ---------- */
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.form select {
  width: 100%; padding: 12px 38px 12px 14px; background: var(--surface-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--text); font: inherit; font-size: 15px; outline: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6aec7' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2); }
.form select:disabled { opacity: .55; cursor: not-allowed; }
.form select option { background: var(--surface-2); color: var(--text); }
.fs-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.fs-panel {
  padding: 24px 24px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(31, 23, 48, 0.85), rgba(13, 8, 18, 0.92));
}
.fs-panel h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.fs-panel > .muted { margin: 0 0 6px; }
.fs-panel .flash { margin: 14px 0 0; }
.fs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.fs-pick .error, .fs-pick .muted, .fs-panel > .error { margin: 12px 0 0; }
.fs-next { margin-top: 12px; }
.fs-give { margin-top: 6px; padding-top: 4px; border-top: 1px solid var(--border-subtle); }
.fs-give .btn-block { white-space: normal; }
.fs-note { margin: 10px 0 0; font-size: 12.5px; }
.fs-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.fs-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  border-radius: var(--radius); background: var(--surface-1); border: 1px solid var(--border); transition: border-color .2s;
}
.fs-item:hover { border-color: var(--border-strong); }
.fs-item-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fs-item-main strong { font-size: 14.5px; }
.fs-item-main .muted { font-size: 12.5px; }
.fs-item-act { display: flex; gap: 6px; flex: none; }
.fs-log-head { margin-top: 34px; }
.fs-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); }
.fs-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fs-table th { text-align: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.fs-table td { padding: 10px 14px; border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
.fs-table tr:last-child td { border-bottom: 0; }
.fs-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.fs-status { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid; }
.fs-active { color: #6ee7a0; border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.1); }
.fs-ended { color: var(--text-3); border-color: var(--border-subtle); }
.fs-cancelled { color: #ff8aa0; border-color: rgba(251, 58, 93, 0.32); background: rgba(251, 58, 93, 0.08); }
.fs-badge {
  position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: var(--brand-gradient); box-shadow: 0 4px 14px var(--primary-glow);
}
.fs-badge svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .fs-grid { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .hero { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .hero-wallet { min-width: 0; }
  .nav-link span { display: none; }
}
@media (max-width: 600px) {
  .fs-grid, .fs-two { grid-template-columns: 1fr; }
  .fs-panel { padding: 20px 16px 18px; }
  .fs-item { flex-direction: column; align-items: stretch; }
  .fs-item-act .btn { flex: 1; }
  .topbar-inner { padding: 8px 14px; gap: 8px; }
  .brand-logo { height: 36px; }
  .demo-badge { display: none; }
  .topnav { gap: 6px; }
  .nav-link { padding: 8px; }
  .balance-pill { padding: 6px 10px; font-size: 13px; }
  .balance-pill svg, .balance-ccy { display: none; }
  .btn-nav { padding: 7px 12px; font-size: 13px; }
  .content { padding: 18px 14px 36px; }
  .section-head h2 { font-size: 20px; }
  .search { min-width: 0; width: 100%; }
  .provider-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .provider-tile { padding: 11px; gap: 10px; }
  .provider-tile .chev { display: none; }
  .monogram { width: 36px; height: 36px; font-size: 13px; }
  .provider-name { font-size: 13px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .auth-card { padding: 26px 20px 22px; }
  .deposit-head { flex-direction: column; }
  .deposit-balance { text-align: left; width: 100%; }
  .quick-amounts { grid-template-columns: repeat(2, 1fr); }
  .play-back span { display: none; }
  .play-logo { height: 28px; }
  .footer-inner { align-items: flex-start; }
  .footer-logo { display: none; }
}
