/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --bg-card: #ffffff;
  --bg-elev: #f1f5f9;
  --bg-hover: #e2e8f0;
  --border: #e2e8f0;
  --border-hi: #cbd5e1;
  --text: #0f172a;
  --text-dim: #475569;
  --text-mute: #94a3b8;
  --gold: #d97706;
  --gold-dk: #b45309;
  --gold-glow: rgba(217, 119, 6, 0.15);
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.08);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.08);
  --blue: #3b82f6;
  --blue-bg: rgba(59, 130, 246, 0.08);
  --purple: #8b5cf6;
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --grad-card: linear-gradient(180deg, rgba(217, 119, 6, 0.02) 0%, transparent 100%);
  --grad-hero: radial-gradient(ellipse at 25% 40%, rgba(217, 119, 6, 0.04) 0%, transparent 55%),
               radial-gradient(ellipse at 75% 15%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 15px rgba(217, 119, 6, 0.15);
  --r: 14px;
  --r-sm: 8px;
  --r-xs: 6px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; border-radius: var(--r-sm); font-family: inherit; font-weight: 600; transition: all 0.18s ease; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* ============ Header ============ */
.header {
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.92) 100%);
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-icon { width: 38px; height: 38px; background: var(--grad-gold); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #1a1a2e; font-weight: 900; box-shadow: 0 4px 12px var(--gold-glow); }
.logo-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav-link { color: var(--text-dim); font-size: 0.9rem; padding: 8px 14px; border-radius: var(--r-sm); font-weight: 500; transition: 0.15s; }
.nav-link:hover { background: var(--bg-elev); color: var(--text); }
.nav-link.active { color: var(--gold); background: rgba(255,197,41,0.08); }

/* Buttons */
.btn { padding: 9px 20px; font-size: 0.9rem; font-weight: 700; border-radius: var(--r-sm); transition: all 0.18s; display: inline-flex; align-items: center; gap: 6px; }
.btn-gold { background: var(--grad-gold); color: #1a1a2e; box-shadow: 0 3px 12px var(--gold-glow); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 5px 16px var(--gold-glow); filter: brightness(1.05); }
.btn-gold:active { transform: translateY(0); }
.btn-ghost { background: var(--bg-elev); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-hi); background: var(--bg-hover); }
.btn-green { background: var(--green); color: #0a1f18; }
.btn-green:hover { filter: brightness(1.1); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.1); }
.btn-block { width: 100%; padding: 12px; justify-content: center; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* User chip in header */
.user-chip { display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; background: var(--bg-elev); border-radius: var(--r-pill); border: 1px solid var(--border); cursor: pointer; transition: 0.15s; }
.user-chip:hover { border-color: var(--border-hi); background: var(--bg-hover); }
.user-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-gold); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #1a1a2e; font-size: 0.8rem; }
.user-chip .info { display: flex; flex-direction: column; line-height: 1.2; }
.user-chip .name { color: var(--text); font-size: 0.82rem; font-weight: 600; }
.user-chip .balance { color: var(--gold); font-size: 0.85rem; font-weight: 700; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 200px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.18s; z-index: 200;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); color: var(--text-dim); font-size: 0.88rem; font-weight: 500; transition: 0.12s; }
.dropdown-item:hover { background: var(--bg-elev); color: var(--text); }
.dropdown-item .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ============ Hero ============ */
.hero { position: relative; text-align: center; padding: 80px 0 60px; background: var(--grad-hero); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><circle cx="20" cy="20" r="1" fill="%23ffc529" opacity="0.06"/></svg>'); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 3.4rem; font-weight: 900; letter-spacing: -2px; margin-bottom: 14px; }
.hero h1 .highlight { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-dim); font-size: 1.18rem; max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Stats strip */
.stats-strip { display: flex; gap: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-top: -28px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.stats-strip .stat { flex: 1 1; padding: 20px 24px; border-right: 1px solid var(--border); text-align: center; }
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat .num { font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.stats-strip .stat .label { font-size: 0.76rem; color: var(--text-dim); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============ Sections ============ */
.section { padding: 40px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.section-title .accent { color: var(--gold); }

/* ============ Provider pills ============ */
.provider-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; }
.provider-pill { padding: 7px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 0.84rem; font-weight: 600; color: var(--text-dim); white-space: nowrap; cursor: pointer; transition: 0.15s; }
.provider-pill:hover { color: var(--text); border-color: var(--border-hi); background: var(--bg-elev); }
.provider-pill.active { background: var(--grad-gold); color: #1a1a2e; border-color: transparent; box-shadow: 0 2px 10px var(--gold-glow); }

/* ============ Toolbar ============ */
.toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.search-box { flex: 1 1; min-width: 220px; position: relative; }
.search-box input { width: 100%; padding: 10px 14px 10px 38px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-size: 0.9rem; outline: none; transition: 0.15s; }
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,197,41,0.1); }
.search-box::before { content: '🔍'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 0.85rem; opacity: 0.4; }
.cat-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-btn { padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-dim); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: 0.15s; }
.cat-btn:hover { color: var(--text); border-color: var(--border-hi); }
.cat-btn.active { background: var(--grad-gold); color: #1a1a2e; border-color: transparent; }

/* ============ Game grid ============ */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-gap: 14px; gap: 14px; }
.game-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; cursor: pointer; transition: all 0.22s; aspect-ratio: 3/4; }
.game-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-glow); }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.game-card:hover img { transform: scale(1.1); }
.game-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.88) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.game-card .name { color: #fff; font-size: 0.82rem; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-card .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.7); background: var(--grad-gold); color: #1a1a2e; padding: 8px 20px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 700; opacity: 0; transition: all 0.22s; white-space: nowrap; }
.game-card:hover .play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.game-card .badge-hot { position: absolute; top: 6px; right: 6px; background: var(--red); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.game-card .provider-tag { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,0.55); color: var(--gold); font-size: 0.62rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.game-noimg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-card) 100%); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--gold); opacity: 0.4; }

/* Skeleton */
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-gap: 14px; gap: 14px; }
.skeleton { aspect-ratio: 3/4; background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-elev) 50%, var(--bg-card) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============ Auth ============ */
.auth-wrap { max-width: 440px; margin: 60px auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 40px; box-shadow: var(--shadow); }
.auth-wrap h1 { font-size: 1.6rem; margin-bottom: 6px; text-align: center; }
.auth-wrap .subtitle { text-align: center; color: var(--text-dim); font-size: 0.88rem; margin-bottom: 26px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 11px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-size: 0.95rem; outline: none; transition: 0.15s; }
.form-group input:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,197,41,0.1); }
.error { color: var(--red); font-size: 0.85rem; margin-top: 10px; text-align: center; }
.success { color: var(--green); font-size: 0.85rem; margin-top: 10px; text-align: center; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--text-dim); font-size: 0.88rem; }
.auth-switch a { color: var(--gold); font-weight: 600; }

/* ============ Dashboard layout ============ */
.dash-layout { display: flex; gap: 0; min-height: calc(100vh - 64px); }
.dash-sidebar { width: 240px; background: var(--bg-card); border-right: 1px solid var(--border); padding: 20px 0; position: -webkit-sticky; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; flex-shrink: 0; }
.dash-sidebar .nav-group { margin-bottom: 16px; }
.dash-sidebar .nav-group-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mute); padding: 0 20px 8px; font-weight: 700; }
.dash-sidebar .nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: var(--text-dim); font-size: 0.9rem; font-weight: 500; transition: 0.12s; border-left: 3px solid transparent; }
.dash-sidebar .nav-item:hover { background: var(--bg-elev); color: var(--text); }
.dash-sidebar .nav-item.active { color: var(--gold); border-left-color: var(--gold); background: rgba(255,197,41,0.05); }
.dash-sidebar .nav-item .icon { font-size: 1.1rem; width: 22px; text-align: center; }
.dash-main { flex: 1 1; padding: 24px 32px; min-width: 0; }
.dash-main h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }

/* Balance card */
.balance-card { background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; margin-bottom: 20px; position: relative; overflow: hidden; }
.balance-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 200px; height: 200px; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%); opacity: 0.5; }
.balance-card .label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.balance-card .amount { font-size: 2.2rem; font-weight: 900; color: var(--gold); letter-spacing: -1px; position: relative; z-index: 1; }
.balance-card .currency { font-size: 0.9rem; color: var(--text-dim); margin-left: 6px; }
.balance-card .actions { display: flex; gap: 10px; margin-top: 16px; position: relative; z-index: 1; }

/* Quick stats row */
.quick-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); grid-gap: 14px; gap: 14px; margin-bottom: 24px; }
.quick-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 18px; }
.quick-stat .icon { font-size: 1.4rem; margin-bottom: 8px; }
.quick-stat .val { font-size: 1.4rem; font-weight: 800; }
.quick-stat .lbl { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }

/* ============ Cards / Panels ============ */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-header h2 { margin: 0; }

/* ============ Tables ============ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
th { color: var(--text-dim); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3px; }
tr:hover { background: rgba(255,255,255,0.02); }

/* Badges */
.badge { padding: 3px 10px; border-radius: var(--r-pill); font-size: 0.72rem; font-weight: 700; display: inline-block; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-gold { background: rgba(255,197,41,0.15); color: var(--gold); }
.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-gray { background: var(--bg-elev); color: var(--text-dim); }

/* ============ Forms ============ */
.form-row { display: flex; gap: 14px; }
.form-row > .form-group { flex: 1 1; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }

/* Payment method cards */
.pm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); grid-gap: 12px; gap: 12px; margin-bottom: 20px; }
.pm-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--r-sm); padding: 16px; cursor: pointer; transition: 0.15s; text-align: center; }
.pm-card:hover { border-color: var(--border-hi); background: var(--bg-elev); }
.pm-card.selected { border-color: var(--gold); background: rgba(255,197,41,0.05); }
.pm-card .pm-icon { font-size: 1.8rem; margin-bottom: 8px; }
.pm-card .pm-name { font-size: 0.88rem; font-weight: 600; }
.pm-card .pm-meta { font-size: 0.76rem; color: var(--text-dim); margin-top: 4px; }

/* Amount input with quick buttons */
.amount-input { display: flex; gap: 8px; align-items: stretch; }
.amount-input input { flex: 1 1; }
.amount-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.amount-quick button { padding: 6px 14px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-dim); font-size: 0.82rem; font-weight: 600; }
.amount-quick button:hover { color: var(--gold); border-color: var(--gold); }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab { padding: 10px 22px; color: var(--text-dim); font-size: 0.92rem; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: 0.15s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Empty state */
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-dim); }
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; opacity: 0.4; }
.empty-state p { font-size: 0.92rem; }

/* Toast */
.toast { position: fixed; top: 80px; right: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 20px; box-shadow: var(--shadow-lg); z-index: 9999; animation: slideIn 0.3s; max-width: 360px; }
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 32px 0 40px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; grid-gap: 30px; gap: 30px; }
.footer-brand h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 8px; }
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; max-width: 320px; }
.footer-col h4 { font-size: 0.85rem; margin-bottom: 10px; color: var(--text); font-weight: 700; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.82rem; padding: 3px 0; transition: 0.12s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 18px; text-align: center; color: var(--text-mute); font-size: 0.8rem; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .dash-sidebar { width: 200px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .stats-strip { flex-direction: column; }
  .stats-strip .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .nav-link { display: none; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; height: auto; position: relative; top: 0; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-sidebar .nav-item { display: inline-flex; padding: 8px 14px; }
  .dash-main { padding: 16px; }
}

.quick-cat-link {
  padding: 12px 24px;
  background: rgba(19, 21, 41, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: 0.15s;
}

.quick-cat-link:hover {
  border-color: var(--gold) !important;
  background: rgba(255, 197, 41, 0.05) !important;
}

/* ============ Play Page Header & Layout ============ */
.play-header {
  height: 60px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.play-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.play-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,197,41,0.06);
  border: 1px solid rgba(255,197,41,0.15);
  padding: 6px 16px;
  border-radius: 30px;
}

.play-header-right {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .play-header-center {
    display: none !important; /* Hide balance info on mobile play header to prevent exit button misalignment */
  }
  .play-header {
    padding: 0 12px;
  }
  .container {
    padding: 0 16px !important; /* Standard padding for mobile screens */
  }
}

/* ============ Premium Homepage Addons ============ */

/* Live Jackpot Container */
.jackpot-container {
  background: radial-gradient(circle at 50% 50%, rgba(255, 197, 41, 0.15) 0%, rgba(13, 15, 30, 0.9) 100%);
  border: 2px solid var(--gold);
  border-radius: var(--r);
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 197, 41, 0.15), inset 0 0 20px rgba(255, 197, 41, 0.1);
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}
.jackpot-container::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.05) 50%, transparent 55%);
  animation: shine 6s infinite linear;
}
@keyframes shine {
  0% { transform: translate(-30%, -30%) rotate(0deg); }
  100% { transform: translate(30%, 30%) rotate(0deg); }
}
.jackpot-title {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.jackpot-val {
  font-size: 3.8rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(185deg, #fff 30%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 2px;
}

/* Visual Category Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 40px;
}
.cat-card {
  background: linear-gradient(135deg, rgba(27, 30, 58, 0.8) 0%, rgba(13, 15, 30, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(255, 197, 41, 0.08);
}
.cat-card-img-wrap {
  width: 100%;
  height: 140px;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-elev);
}
.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-card:hover .cat-card-img-wrap img {
  transform: scale(1.06);
}
.cat-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.cat-card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 16px;
}
.cat-card-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Promo Grid & Cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 40px;
}
.promo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: 0.2s;
  position: relative;
}
.promo-card:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.02);
}
.promo-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: #1a1a2e;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* Trust Badges Grid */
.license-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.45;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.license-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
  border: 1.5px solid var(--text-mute);
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .jackpot-val {
    font-size: 2.3rem;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* Dynamic Cartoon/Interactive Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

@keyframes borderGlow {
  0% { border-color: rgba(255, 197, 41, 0.4); box-shadow: 0 0 10px rgba(255, 197, 41, 0.2); }
  50% { border-color: rgba(255, 197, 41, 0.95); box-shadow: 0 0 22px rgba(255, 197, 41, 0.5); }
  100% { border-color: rgba(255, 197, 41, 0.4); box-shadow: 0 0 10px rgba(255, 197, 41, 0.2); }
}

.glowing-border {
  animation: borderGlow 2.5s infinite ease-in-out;
}

/* Smooth CSS Marquee Notice */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.marquee-text {
  display: inline-block;
  animation: marquee-scroll 25s linear infinite;
  will-change: transform;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}





