@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;700;800&display=swap');

:root {
    --bg-page: #050511;
    --bg-panel: rgba(255,255,255,0.03);
    --bg-card: rgba(255,255,255,0.05);
    --bg-card-hover: rgba(255,255,255,0.10);
    --bg-input: #0a0b0f;
    --text-main: #ffffff;
    --text-muted: #8b92a5;
    --text-dim: #5b6272;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-green: #22c55e;
    --accent-yellow: #eab308;
    --border-color: rgba(255,255,255,0.08);
    --border-color-hover: rgba(255,255,255,0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --sidebar-w: 260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { max-width: 100%; }

/* Background glow blobs */
body::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 1400px; z-index: 0; pointer-events: none;
    background:
        radial-gradient(circle at 10% 10%, rgba(37,99,235,0.15), transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(147,51,234,0.12), transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(6,182,212,0.08), transparent 35%);
}

/* Top nprogress bar (page-to-page navigation indicator) */
#nprogress-bar { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000; background: transparent; pointer-events: none; }
.nprogress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), #22d3ee);
    box-shadow: 0 0 10px rgba(56,189,248,0.7), 0 0 4px rgba(56,189,248,0.9);
    transition: width 0.4s ease;
}

/* ============ PAGE LOADER (opening animation) ============ */
#page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background-color: var(--bg-page);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.6s cubic-bezier(0.4,0,0.2,1);
}
#page-loader.loader-exit { opacity: 0; filter: blur(10px); pointer-events: none; }

.loader-glow {
    position: absolute; width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.35), rgba(37,99,235,0) 70%);
    filter: blur(10px);
    animation: loaderGlowPulse 2.6s ease-in-out infinite;
}
@keyframes loaderGlowPulse {
    0%, 100% { transform: scale(0.85); opacity: 0.55; }
    50%      { transform: scale(1.15); opacity: 1; }
}

.loader-rings { position: absolute; width: 140px; height: 140px; }
.loader-rings span {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    animation: loaderRingExpand 2.2s cubic-bezier(0.2,0.7,0.3,1) infinite;
}
.loader-rings span:nth-child(2) { animation-delay: 1.1s; }
@keyframes loaderRingExpand {
    0%   { transform: scale(0.4); opacity: 0; border-color: rgba(56,189,248,0.5); }
    15%  { opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; border-color: rgba(56,189,248,0); }
}

.loader-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.loader-logo {
    font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; letter-spacing: 2.5px;
    color: white;
    opacity: 0; transform: translateY(16px) scale(0.9);
    animation: loaderLogoIn 0.75s cubic-bezier(0.2,0.9,0.25,1) forwards;
    text-shadow: 0 4px 30px rgba(37,99,235,0.35);
}
.loader-logo span { color: #ffd700; }
@keyframes loaderLogoIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.loader-bar-track {
    width: 220px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08);
    overflow: hidden; position: relative;
    opacity: 0; animation: loaderFadeIn 0.4s ease 0.35s forwards;
}
.loader-bar-fill {
    position: absolute; inset: 0; width: 0%; border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-blue), #22d3ee);
    box-shadow: 0 0 14px rgba(56,189,248,0.7);
    animation: loaderFill 1.15s cubic-bezier(0.4,0,0.2,1) 0.4s forwards;
}
.loader-bar-fill::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    width: 40%;
    animation: loaderShimmer 1.1s linear infinite;
}
@keyframes loaderFill { to { width: 100%; } }
@keyframes loaderShimmer { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }

.loader-tagline {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0; animation: loaderFadeIn 0.5s ease 0.55s forwards;
}
@keyframes loaderFadeIn { to { opacity: 1; } }

/* ============ APP SHELL ============ */
.app-shell { position: relative; z-index: 1; display: flex; min-height: 100vh; }

/* ============ DESKTOP SIDEBAR ============ */
.sidebar {
    width: var(--sidebar-w);
    flex: 0 0 var(--sidebar-w);
    min-width: 0;
    position: sticky; top: 0;
    height: 100vh;
    display: flex; flex-direction: column;
    border-right: 1px solid var(--border-color);
    background: #08080f;
    overflow: hidden;
    transition: flex-basis 0.45s cubic-bezier(0.32, 0.72, 0, 1), width 0.45s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.45s ease;
}
.app-shell.sidebar-collapsed .sidebar { width: 0; flex-basis: 0; border-right-color: transparent; }
.sidebar-top { height: 70px; width: var(--sidebar-w); flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--border-color); }
.hamburger-btn {
    width: 40px; height: 40px; border-radius: 12px; background: var(--bg-card); flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    transition: 0.2s;
}
.hamburger-btn:hover { background: var(--bg-card-hover); }
.hamburger-btn span { width: 20px; height: 2px; background: var(--text-muted); border-radius: 2px; }

.sidebar-expand-btn {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-muted); font-size: 1.3rem; margin-right: 14px; flex-shrink: 0;
    opacity: 0; transform: scale(0.7);
    transition: opacity 0.35s ease 0.12s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.12s, background 0.2s, color 0.2s;
}
.sidebar-expand-btn:hover { background: var(--bg-card-hover); color: white; }
.app-shell.sidebar-collapsed .sidebar-expand-btn { display: flex; opacity: 1; transform: scale(1); }
.nav-toggle { display: flex; padding: 3px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; gap: 2px; flex: 1; }
.nav-toggle-btn {
    flex: 1; padding: 7px 10px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 5px;
    color: var(--text-dim); transition: 0.2s;
}
.nav-toggle-btn.active { background: linear-gradient(135deg, var(--accent-blue), #3b82f6); color: white; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 28px; }
.sidebar > .sidebar-nav { width: var(--sidebar-w); flex-shrink: 0; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.nav-group { display: flex; flex-direction: column; gap: 4px; }
.nav-group-bottom { margin-top: auto; }
.nav-group-title { font-size: 0.68rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; padding-left: 10px; }
.nav-item {
    display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px;
    color: var(--text-muted); font-weight: 600; font-size: 0.9rem; transition: 0.2s; width: 100%; text-align: left;
}
.nav-item:hover { background: var(--bg-card); color: white; }
.nav-item.active { background: var(--bg-card-hover); color: white; box-shadow: inset 0 0 0 1px var(--border-color-hover); }
.nav-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-dim); transition: 0.2s; }
.nav-item.active .nav-icon { background: var(--accent-blue); color: white; box-shadow: 0 4px 10px rgba(37,99,235,0.3); }
.nav-item:hover .nav-icon { color: white; }
.nav-item:hover .nav-icon.icon-red,    .nav-item.active .nav-icon.icon-red    { background: #ef4444; box-shadow: 0 4px 10px rgba(239,68,68,0.3); }
.nav-item:hover .nav-icon.icon-green,  .nav-item.active .nav-icon.icon-green  { background: #22c55e; box-shadow: 0 4px 10px rgba(34,197,94,0.3); }
.nav-item:hover .nav-icon.icon-yellow, .nav-item.active .nav-icon.icon-yellow { background: #eab308; box-shadow: 0 4px 10px rgba(234,179,8,0.3); }

.jackpot-box {
    margin-top: 12px; padding: 18px; text-align: center; border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.jackpot-label { font-size: 0.72rem; font-weight: 800; color: #ffd700; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 6px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.jackpot-amount { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ============ MOBILE SIDEBAR ============ */
.mobile-sidebar-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.mobile-sidebar-overlay.open { display: block; }
.mobile-sidebar {
    position: absolute; top: 0; bottom: 0; left: 0; width: 85%; max-width: 320px;
    background: #0d0e18; border-right: 1px solid var(--border-color);
    transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.25,0.8,0.25,1);
    display: flex; flex-direction: column;
}
.mobile-sidebar-overlay.open .mobile-sidebar { transform: translateX(0); }
.mobile-sidebar-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.mobile-sidebar-header button { font-size: 1.5rem; color: var(--text-muted); }
.mobile-sidebar .sidebar-nav { padding: 16px 20px; }

/* ============ MAIN COLUMN / HEADER ============ */
.main-column { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top-header {
    position: sticky; top: 0; z-index: 90;
    height: 70px; background: #08080f;
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center;
}
.top-header-inner { width: 100%; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.logo span { color: var(--accent-yellow); }

.header-right { display: flex; align-items: center; gap: 12px; }

.lang-switch { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border-color); font-size: 0.85rem; font-weight: 600; transition: 0.2s;
}
.lang-btn:hover { background: var(--bg-card-hover); border-color: var(--border-color-hover); }
.lang-btn img { width: 18px; border-radius: 2px; }
.lang-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px;
    background: #12131d; border: 1px solid var(--border-color); border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); overflow: hidden; z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 0.88rem; font-weight: 500; transition: 0.15s; }
.lang-option img { width: 18px; border-radius: 2px; }
.lang-option:hover { background: var(--bg-card); }
.lang-option.active { color: var(--accent-blue); font-weight: 700; }

.btn-login { color: var(--text-main); font-weight: 600; font-size: 0.9rem; padding: 9px 18px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border-color); transition: 0.2s; }
.btn-login:hover { background: var(--bg-card-hover); }
.btn-register { background: linear-gradient(135deg, var(--accent-blue), #3b82f6); color: white; padding: 9px 22px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 4px 15px rgba(37,99,235,0.3); transition: 0.2s; }
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.45); }

.user-info-bar { display: flex; align-items: center; gap: 10px; }
.balance-badge { background: var(--bg-input); border: 1px solid var(--border-color); padding: 7px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; color: var(--accent-yellow); }
.user-profile-trigger { display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border-color); padding: 5px 14px 5px 5px; border-radius: 20px; transition: 0.2s; }
.user-profile-trigger:hover { background: var(--bg-card-hover); border-color: var(--border-color-hover); }
.user-avatar-mini { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-blue), #3b82f6); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: white; flex-shrink: 0; }
.username-badge { font-size: 0.88rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.btn-logout { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); padding: 7px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; transition: 0.2s; }
.btn-logout:hover { border-color: #ef4444; color: #ef4444; }

/* ============ MAIN CONTENT ============ */
.main-content { flex: 1; padding: 20px 24px 100px; max-width: 1600px; width: 100%; margin: 0 auto; }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-bottom: 32px; }
.hero-slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; height: 380px; background: #0c0c14; box-shadow: 0 25px 50px rgba(0,0,0,0.4); }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 60%, transparent); }
.hero-slide-content { position: relative; z-index: 2; padding: 0 48px; max-width: 560px; }
.hero-title { font-family: 'Outfit', sans-serif; font-size: 2.3rem; font-weight: 800; line-height: 1.15; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-subtitle { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 22px; }
.btn-primary { background: white; color: black; padding: 12px 26px; border-radius: 14px; font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.btn-primary:hover { background: #f1f5f9; transform: translateY(-1px); }
.hero-dots-wrap { position: absolute; bottom: 18px; left: 48px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { height: 4px; width: 16px; border-radius: 4px; background: rgba(255,255,255,0.3); transition: 0.3s; cursor: pointer; }
.hero-dot.active { width: 32px; background: var(--accent-blue); }
.hero-slide-label { font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-shadow: 0 2px 8px rgba(0,0,0,0.6); opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease, transform 0.35s ease; }
.hero-slide-label.show { opacity: 1; transform: translateY(0); }
.hero-controls { position: absolute; bottom: 18px; right: 24px; z-index: 3; display: flex; gap: 8px; }
.hero-controls button { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.2s; }
.hero-controls button:hover { background: rgba(255,255,255,0.2); }

.side-banners { display: flex; flex-direction: column; gap: 20px; }
.side-banner { flex: 1; border-radius: var(--radius-xl); padding: 22px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border-color); box-shadow: 0 15px 30px rgba(0,0,0,0.25); transition: 0.3s; }
.side-banner:hover { transform: scale(1.02); }
.side-banner.banner-blue { background: radial-gradient(120% 120% at 100% 100%, #35a1c5, #0b4270); }
.side-banner.banner-dark { background: #212121; }
.side-banner h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 2; }
.side-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.75); max-width: 55%; line-height: 1.4; position: relative; z-index: 2; }
.side-banner i { position: absolute; right: -6px; bottom: -10px; font-size: 5rem; color: rgba(255,255,255,0.06); }
.side-banner-img { position: absolute; right: -12px; bottom: -16px; width: 86%; height: auto; max-width: none; object-fit: contain; object-position: bottom right; z-index: 1; pointer-events: none; }

/* Search */
.search-section { margin-bottom: 24px; }
.search-bar { position: relative; max-width: 100%; }
.search-bar i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-dim); font-size: 1.1rem; }
.search-input { width: 100%; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 13px 18px 13px 46px; font-size: 0.9rem; color: white; outline: none; transition: 0.2s; }
.search-input:focus { border-color: var(--accent-blue); background: var(--bg-card-hover); }
.search-input::placeholder { color: var(--text-dim); }

/* Last Wins Ticker */
.wins-section { margin-bottom: 28px; }
.wins-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.wins-title-group { display: flex; align-items: center; gap: 10px; }
.icon-badge { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.icon-badge.green { background: var(--accent-green); }
.icon-badge.blue { background: var(--accent-blue); }
.wins-title { font-size: 1.2rem; font-weight: 800; }
.online-indicator { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.online-dot { position: relative; width: 10px; height: 10px; }
.online-dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--accent-green); }
.online-dot span:first-child { animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; opacity: 0.75; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.wins-track-wrap { position: relative; overflow: hidden; height: 110px; }
.wins-fade-l, .wins-fade-r { position: absolute; top: 0; bottom: 0; width: 48px; z-index: 5; pointer-events: none; }
.wins-fade-l { left: 0; background: linear-gradient(90deg, var(--bg-page), transparent); }
.wins-fade-r { right: 0; background: linear-gradient(-90deg, var(--bg-page), transparent); }
.wins-track { display: flex; gap: 16px; animation: winsScroll 40s linear infinite; width: max-content; }
.wins-track-wrap:hover .wins-track { animation-play-state: paused; }
@keyframes winsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.win-card { flex-shrink: 0; width: 230px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 10px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.win-card-thumb { width: 56px; height: 74px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #1c1c26; }
.win-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.win-card-info { min-width: 0; flex: 1; }
.win-amount-pill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--accent-green); color: white; font-size: 0.68rem; font-weight: 700; margin-bottom: 4px; }
.win-game-name { font-size: 0.85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-user { font-size: 0.72rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Games Section */
.section-block { margin-bottom: 32px; }
.section-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.section-title-group { display: flex; align-items: center; gap: 12px; }
.section-title { font-size: 1.25rem; font-weight: 800; }
.section-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.provider-select { background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: white; padding: 9px 14px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 10px; min-width: 160px; justify-content: space-between; transition: 0.2s; }
.provider-select:hover { border-color: var(--accent-blue); }

.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); border-radius: 20px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; transition: 0.2s; }
.filter-pill:hover { background: var(--bg-card-hover); color: white; }
.filter-pill.active { background: var(--accent-blue); border-color: var(--accent-blue); color: white; box-shadow: 0 4px 15px rgba(37,99,235,0.3); }

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
/* content-visibility lets the browser skip layout/paint for off-screen cards — big scroll perf win
   on long grids. contain-intrinsic-size reserves the card's approx height so the scrollbar is stable. */
.game-card { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: 0.3s; cursor: pointer; content-visibility: auto; contain-intrinsic-size: auto 300px; }
.game-card:hover { transform: translateY(-6px); border-color: var(--border-color-hover); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.game-thumb-wrap { position: relative; margin: 6px; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; }
.game-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s cubic-bezier(0.25,0.8,0.25,1); }
.game-card:hover .game-thumb-wrap img { transform: scale(1.1); }
.game-overlay { position: absolute; inset: 0; background: rgba(5,5,17,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.game-card:hover .game-overlay { opacity: 1; }
.game-play-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-blue); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 0 30px rgba(37,99,235,0.5); transform: scale(0.6); transition: 0.3s; margin-bottom: 12px; }
.game-card:hover .game-play-btn { transform: scale(1); }
/* Kart üzerindeki mod tuşları — tek "oyna" dairesi yerine alt alta Demo / Gerçek Para */
.game-mode-actions { display: flex; flex-direction: column; gap: 8px; width: 80%; max-width: 172px; margin-bottom: 12px; opacity: 0; transform: translateY(8px) scale(0.96); transition: 0.25s; }
.game-card:hover .game-mode-actions { opacity: 1; transform: none; }
.game-mode-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; border-radius: 10px; font-size: 0.82rem; font-weight: 800; color: #fff; white-space: nowrap; cursor: pointer; user-select: none; transition: filter 0.15s, transform 0.1s; }
.game-mode-btn i { font-size: 1.05rem; }
.game-mode-btn:hover { filter: brightness(1.12); }
.game-mode-btn:active { transform: scale(0.97); }
.game-mode-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.game-mode-btn.demo { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); }
.game-mode-btn.real { background: linear-gradient(135deg, var(--accent-blue), #1d4ed8); box-shadow: 0 8px 20px rgba(37,99,235,0.45); }
/* Mobilde karta dokununca açılan mod seçimi kutusu */
.play-mode-box { text-align: center; max-width: 340px; }
.play-mode-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.play-mode-game { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; word-break: break-word; }
.play-mode-actions { display: flex; flex-direction: column; gap: 10px; }
.play-mode-actions .btn-modal-submit { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 0; text-decoration: none; }
.play-mode-actions .btn-modal-submit.ghost { background: rgba(255,255,255,0.08); border: 1px solid var(--border-color-hover); box-shadow: none; color: var(--text-main, #fff); }
.play-mode-actions .btn-modal-submit.ghost:hover { background: rgba(255,255,255,0.14); }
.game-provider-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: rgba(255,255,255,0.7); }
.game-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 6px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.game-badge.new { background: var(--accent-green); color: white; }
.game-badge.exclusive { background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); border: 1px solid var(--border-color); color: white; }
.game-badge.inhouse { background: linear-gradient(135deg, var(--accent-green), #16a34a); color: white; }
.game-badge.hot { background: linear-gradient(135deg, #f59e0b, #ef4444); color: white; display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 4px 12px rgba(239,68,68,0.45); }
a.game-card { text-decoration: none; color: inherit; display: block; }
.game-info { padding: 12px; }
.game-info h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-info p { font-size: 0.72rem; color: var(--text-dim); }

.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.load-more-progress { width: 100%; max-width: 380px; }
.load-more-label { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.progress-track { height: 6px; background: var(--bg-card); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-blue), #22d3ee); border-radius: 3px; box-shadow: 0 0 10px rgba(56,189,248,0.5); }
.btn-load-more { background: linear-gradient(135deg, var(--accent-blue), #3b82f6); color: white; padding: 12px 32px; border-radius: 24px; font-weight: 700; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(37,99,235,0.3); transition: 0.2s; }
.btn-load-more:hover { transform: scale(1.03); }

/* Live Bets */
.live-bets-table { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.bets-head-row, .bets-row { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1fr 0.8fr 1fr; gap: 16px; padding: 14px 24px; align-items: center; }
.bets-head-row { background: rgba(0,0,0,0.2); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); border-bottom: 1px solid var(--border-color); }
.bets-row { border-bottom: 1px solid var(--border-color); font-size: 0.88rem; transition: 0.2s; }
.bets-row:last-child { border-bottom: none; }
.bets-row:hover { background: rgba(255,255,255,0.03); }
.bets-game-cell { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.bets-game-cell i { color: var(--text-dim); flex-shrink: 0; }
.bets-game-cell span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.text-right { text-align: right; }
.text-green { color: var(--accent-green); }
.text-dim2 { color: var(--text-dim); }
.coin-icon { color: var(--accent-yellow); }

.live-bets-mobile { display: none; }
.bet-mobile-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border-color); }
.bet-mobile-row:last-child { border-bottom: none; }
.bet-mobile-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.bet-mobile-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-card-hover); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bet-mobile-name { font-size: 0.85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bet-mobile-user { font-size: 0.72rem; color: var(--text-dim); }
.bet-mobile-payout { font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* FAQ */
.faq-wrap { max-width: 1000px; }
.faq-header-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.faq-header-row i { font-size: 1.4rem; color: var(--text-muted); }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; transition: 0.2s; }
.faq-item:hover { border-color: var(--border-color-hover); }
.faq-header { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; }
.faq-header i { color: var(--text-dim); transition: transform 0.3s; }
.faq-item.active .faq-header i { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-body { max-height: 300px; }
.faq-body-content { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border-color); background: rgba(5,5,17,0.8); padding: 32px 24px 130px; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; }

.publishers-section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border-color); overflow: hidden; }
.publishers-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; margin-bottom: 20px; }
.publishers-track { display: flex; gap: 16px; animation: publisherScroll 30s linear infinite; width: max-content; }
.publishers-track:hover { animation-play-state: paused; }
@keyframes publisherScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.publisher-card { flex-shrink: 0; width: 140px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px; text-align: center; transition: 0.2s; }
.publisher-card:hover { border-color: var(--border-color-hover); background: var(--bg-card-hover); }
.publisher-card h4 { font-size: 0.78rem; font-weight: 800; margin-bottom: 10px; color: rgba(255,255,255,0.85); }
.publisher-online { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.72rem; color: var(--text-dim); }
.online-dot-sm { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }

.footer-columns { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo { font-size: 1.6rem; margin-bottom: 10px; }
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; max-width: 280px; line-height: 1.6; }
.footer-col h5 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 11px; transition: 0.2s; }
.footer-col a:hover { color: var(--accent-blue); }

.footer-social { display: flex; justify-content: center; gap: 14px; padding-top: 24px; margin-bottom: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-muted); transition: 0.2s; }
.footer-social a:hover { background: var(--bg-card-hover); color: white; transform: translateY(-2px); }

.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.82rem; line-height: 1.7; }
.footer-legal-text { font-size: 0.72rem; opacity: 0.6; }

/* Floating Chat */
.floating-chat { position: fixed; bottom: 90px; right: 20px; z-index: 160; }
.chat-fab { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid var(--border-color-hover); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 10px 25px rgba(0,0,0,0.3); transition: 0.2s; position: relative; }
.chat-fab:hover { transform: scale(1.1); background: rgba(255,255,255,0.2); }
.chat-fab-dot { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; }
.chat-fab-dot::before, .chat-fab-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-green); }
.chat-fab-dot::before { animation: ping 1.5s infinite; }
.chat-fab-dot::after { border: 2px solid var(--bg-page); }
.chat-fab-dot.hidden { display: none; }

/* Category pagination */
.games-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.games-pagination .pg-btn { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); font-weight: 700; font-size: 0.88rem; transition: 0.18s; }
.games-pagination .pg-btn:hover { color: #fff; border-color: var(--border-color-hover); transform: translateY(-2px); }
.games-pagination .pg-btn.active { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
.games-pagination .pg-ellipsis { color: var(--text-dim); padding: 0 4px; }

/* LIVE badge on live casino cards */
.game-badge.live-badge { background: rgba(239,68,68,0.92); color: #fff; display: inline-flex; align-items: center; gap: 5px; font-weight: 800; letter-spacing: 0.5px; }
.game-badge.live-badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: liveDotPulse 1.3s infinite; }
@keyframes liveDotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.game-badge.crash-badge { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.game-badge.table-badge { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }

/* Announcement bar (admin duyuru) */
.announcement-bar { margin-bottom: 18px; }
.announcement-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; font-size: 0.88rem; font-weight: 600; animation: annIn 0.5s ease; position: relative; overflow: hidden; }
.announcement-item::before { content: ''; position: absolute; inset: 0; opacity: 0.14; }
.announcement-item.info { background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.35); color: #93c5fd; }
.announcement-item.success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); color: #4ade80; }
.announcement-item.warning { background: rgba(234,179,8,0.12); border: 1px solid rgba(234,179,8,0.35); color: #fde047; }
.announcement-item > i { font-size: 1.25rem; flex-shrink: 0; animation: annBell 2.5s ease-in-out infinite; }
.announcement-text { flex: 1; color: var(--text-light, #e2e8f0); }
.announcement-text strong { color: #fff; }
.announcement-close { color: var(--text-dim); font-size: 1.2rem; transition: 0.2s; flex-shrink: 0; }
.announcement-close:hover { color: #fff; transform: scale(1.15); }
@keyframes annIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes annBell { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 90% { transform: rotate(-6deg); } }

/* One-time animated site intro */
.site-intro { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; overflow: hidden; perspective: 1300px; background: #05060f; }
.site-intro.closing { animation: introOut 0.7s cubic-bezier(0.6,0,0.2,1) forwards; }
@keyframes introOut { to { opacity: 0; transform: scale(1.12); visibility: hidden; } }
.site-intro-bg { position: absolute; inset: -20%;
    background:
        radial-gradient(600px circle at 20% 25%, rgba(37,99,235,0.35), transparent 45%),
        radial-gradient(600px circle at 80% 75%, rgba(168,85,247,0.3), transparent 45%),
        radial-gradient(500px circle at 75% 15%, rgba(234,179,8,0.22), transparent 45%),
        radial-gradient(500px circle at 25% 85%, rgba(14,165,233,0.25), transparent 45%);
    background-size: 200% 200%; animation: introAurora 8s ease-in-out infinite alternate; filter: blur(6px); }
@keyframes introAurora { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
.site-intro-stage { position: relative; z-index: 2; text-align: center; transform-style: preserve-3d; padding: 20px; }
.site-intro-logo { font-size: clamp(2.4rem, 9vw, 5rem); font-weight: 900; letter-spacing: 1px; color: #fff; text-shadow: 0 0 50px rgba(37,99,235,0.7); animation: introLogo 1.1s cubic-bezier(0.2,1.1,0.3,1) both; }
.site-intro-logo span { color: var(--accent-yellow, #eab308); }
@keyframes introLogo { 0% { opacity: 0; transform: perspective(1000px) rotateX(60deg) translateY(-60px) scale(0.6); filter: blur(10px); } 100% { opacity: 1; transform: perspective(1000px) rotateX(0) translateY(0) scale(1); filter: blur(0); } }
.site-intro-tagline { margin-top: 16px; font-size: clamp(0.95rem, 3vw, 1.3rem); color: #cbd5e1; font-weight: 600; letter-spacing: 1px; opacity: 0; animation: introUp 0.8s ease 0.5s both; }
.site-intro-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 38px 0; max-width: 640px; }
.intro-card { width: 130px; height: 120px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    opacity: 0; transform-style: preserve-3d; animation: introCard 0.7s cubic-bezier(0.2,0.9,0.3,1) both; animation-delay: calc(0.7s + var(--i) * 0.12s); }
.intro-card i { font-size: 2.2rem; background: linear-gradient(135deg, #60a5fa, #a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro-card span { font-weight: 700; font-size: 0.9rem; color: #fff; }
.intro-card:hover { transform: translateZ(30px) scale(1.06); border-color: rgba(255,255,255,0.3); }
@keyframes introCard { 0% { opacity: 0; transform: perspective(900px) rotateY(45deg) translateZ(-60px); } 100% { opacity: 1; transform: perspective(900px) rotateY(0) translateZ(0); } }
.site-intro-btn { margin-top: 8px; padding: 15px 34px; border-radius: 40px; font-size: 1.05rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 14px 34px rgba(37,99,235,0.5); display: inline-flex; align-items: center; gap: 8px; opacity: 0; animation: introUp 0.7s ease 1.6s both, introPulse 2.4s ease-in-out 2.3s infinite; transition: transform 0.2s; }
.site-intro-btn:hover { transform: translateY(-3px) scale(1.04); }
.site-intro-btn i { transition: transform 0.2s; } .site-intro-btn:hover i { transform: translateX(4px); }
@keyframes introUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes introPulse { 0%,100% { box-shadow: 0 14px 34px rgba(37,99,235,0.5); } 50% { box-shadow: 0 14px 44px rgba(124,58,237,0.7); } }
.site-intro-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.site-intro-particles span { position: absolute; bottom: -20px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: introRise linear infinite; }
@keyframes introRise { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-105vh) scale(0.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .site-intro-bg, .site-intro-logo, .site-intro-tagline, .intro-card, .site-intro-btn, .site-intro-particles span { animation-duration: 0.01s !important; } }

/* Welcome toast (top, after login) */
.welcome-toast {
    position: fixed; top: 20px; left: 50%; z-index: 9998;
    display: flex; align-items: center; gap: 14px; padding: 14px 18px; padding-right: 44px;
    background: linear-gradient(135deg, #14213d, #0b1020); border: 1px solid rgba(96,165,250,0.35);
    border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
    transform: translate(-50%, -160%); opacity: 0; transition: transform 0.5s cubic-bezier(0.2,0.9,0.2,1), opacity 0.5s ease;
    max-width: calc(100vw - 32px);
}
.welcome-toast.show { transform: translate(-50%, 0); opacity: 1; }
.welcome-toast-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #22c55e); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: white; flex-shrink: 0; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
.welcome-toast-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #93c5fd; }
.welcome-toast-name { font-size: 1.05rem; font-weight: 800; color: #fff; }
.welcome-toast-close { position: absolute; top: 8px; right: 10px; font-size: 1.2rem; color: var(--text-dim); transition: 0.2s; }
.welcome-toast-close:hover { color: white; }

/* Live chat panel */
.chat-panel {
    position: absolute; bottom: 66px; right: 0; width: 320px; max-width: calc(100vw - 40px); height: 430px;
    background: #12131c; border: 1px solid var(--border-color-hover); border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6); display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; transform: translateY(16px) scale(0.96); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;
    transform-origin: bottom right;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-color); background: linear-gradient(135deg, #1b1c2b, #14151f); }
.chat-panel-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.92rem; }
.chat-panel-title i { color: var(--accent-green); font-size: 1.2rem; }
.chat-panel-close { font-size: 1.3rem; color: var(--text-dim); transition: 0.2s; }
.chat-panel-close:hover { color: white; transform: rotate(90deg); }
.chat-panel-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-panel-messages .chat-empty { color: var(--text-dim); font-size: 0.85rem; text-align: center; margin: auto; }
.chat-msg { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: 0.86rem; line-height: 1.4; word-wrap: break-word; animation: chatMsgIn 0.25s ease; }
.chat-msg.user { align-self: flex-end; background: var(--accent-blue); color: white; border-bottom-right-radius: 4px; }
.chat-msg.admin { align-self: flex-start; background: var(--bg-input); border: 1px solid var(--border-color); border-bottom-left-radius: 4px; }
.chat-msg time { display: block; font-size: 0.65rem; opacity: 0.65; margin-top: 4px; }
.chat-panel-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border-color); }
.chat-panel-input input { flex: 1; background: var(--bg-input); border: 1px solid var(--border-color); color: white; padding: 10px 14px; border-radius: 20px; font-family: inherit; font-size: 0.85rem; outline: none; transition: 0.2s; }
.chat-panel-input input:focus { border-color: var(--accent-blue); }
.chat-panel-input button { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; transition: 0.2s; }
.chat-panel-input button:hover { background: var(--accent-blue-hover); transform: scale(1.08); }

/* ─── Live-support pre-chat steps (intake → topic → conversation) ─── */
.chat-panel { width: 344px; height: 486px; }
.chat-step { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 15px 16px 16px; overflow-y: auto; }
.chat-step[hidden] { display: none; }
.chat-step-conv { padding: 0; overflow: hidden; }
.chat-step-lead { display: flex; align-items: center; gap: 7px; font-size: 0.83rem; color: var(--text-dim); margin-bottom: 13px; line-height: 1.45; }
.chat-step-lead i { color: var(--accent-yellow, #eab308); font-size: 1.05rem; }
.chat-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.chat-field { margin-bottom: 11px; }
.chat-field label { display: block; font-size: 0.74rem; font-weight: 700; color: var(--text-muted); margin-bottom: 5px; letter-spacing: 0.2px; }
.chat-field label b { color: #ef4444; }
.chat-field .chat-opt { font-weight: 500; color: var(--text-dim); font-size: 0.7rem; }
.chat-field input {
    width: 100%; background: var(--bg-input); border: 1px solid var(--border-color); color: #fff;
    padding: 9px 12px; border-radius: 10px; font-family: inherit; font-size: 0.84rem; outline: none; transition: 0.18s;
}
.chat-field input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.chat-error { color: #f87171; font-size: 0.76rem; min-height: 16px; margin: 2px 0 8px; line-height: 1.35; }
.chat-primary-btn {
    margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-weight: 800; font-size: 0.87rem;
    padding: 11px 16px; border-radius: 11px; cursor: pointer; transition: 0.18s; border: 0;
}
.chat-primary-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.chat-back-btn {
    margin-top: 10px; align-self: flex-start; display: flex; align-items: center; gap: 5px;
    color: var(--text-dim); font-size: 0.79rem; font-weight: 600; background: none; border: 0; cursor: pointer; transition: 0.18s;
}
.chat-back-btn:hover { color: #fff; }
.chat-topics { display: flex; flex-direction: column; gap: 8px; }
.chat-topic {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    background: var(--bg-input); border: 1px solid var(--border-color); color: #e7e9f5;
    padding: 11px 12px; border-radius: 11px; font-family: inherit; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: 0.18s;
}
.chat-topic span { flex: 1; line-height: 1.3; }
.chat-topic > i:first-child { font-size: 1.15rem; color: var(--accent-blue); flex-shrink: 0; }
.chat-topic .chat-topic-arrow { font-size: 1.1rem; color: var(--text-dim); flex-shrink: 0; }
.chat-topic:hover { border-color: var(--accent-blue); background: rgba(37,99,235,0.12); transform: translateX(2px); }
.chat-topic:hover > i:first-child, .chat-topic:hover .chat-topic-arrow { color: #fff; }
.chat-topic.loading { opacity: 0.6; pointer-events: none; }
.chat-connected-bar {
    display: flex; align-items: center; gap: 7px; padding: 8px 14px;
    background: rgba(34,197,94,0.1); border-bottom: 1px solid rgba(34,197,94,0.22);
    font-size: 0.75rem; font-weight: 700; color: #4ade80; flex-shrink: 0;
}
.chat-conn-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: ping 1.6s infinite; flex-shrink: 0; }

@keyframes chatMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 480px) {
    .chat-panel { width: calc(100vw - 32px); right: -4px; }
}

/* Mobile Bottom Nav */
.mobile-bottom-nav { display: none; }

/* ============ VIP PROGRAM PAGE ============ */
.vip-hero { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.vip-eyebrow { display: block; color: var(--accent-yellow); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
.vip-title { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; }
.vip-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

.vip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.vip-card {
    position: relative; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
    transition: 0.25s;
}
.vip-card:hover { border-color: var(--vip-accent, var(--border-color-hover)); transform: translateY(-4px); }
.vip-card-icon { position: absolute; top: -6px; right: -6px; font-size: 5rem; opacity: 0.08; color: var(--vip-accent, white); }
.vip-card-level { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; color: var(--vip-accent, white); position: relative; z-index: 1; }
.vip-card-wagered { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 20px; position: relative; z-index: 1; }
.vip-card-features { list-style: none; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.vip-card-features li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.vip-card-features i { color: var(--accent-green); font-size: 1.1rem; flex-shrink: 0; }

.vip-cta {
    background: linear-gradient(120deg, rgba(30,58,138,0.4), rgba(88,28,135,0.4));
    border: 1px solid var(--border-color); border-radius: var(--radius-xl);
    padding: 48px 32px; text-align: center;
}
.vip-cta h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 14px; }
.vip-cta p { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; }
.vip-cta .btn-primary { display: inline-flex; }

.vip-stats { margin-bottom: 48px; }
.vip-stats-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.vip-stats-title { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; }
.vip-stats-arrows { display: flex; gap: 8px; }
.vip-stats-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-main); font-size: 1.2rem; transition: 0.2s;
}
.vip-stats-arrow:hover { background: var(--bg-card-hover); border-color: var(--border-color-hover); }

.vip-stats-card {
    position: relative; overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #f4f5f7 0%, #d9dbe0 55%, #c3c6cd 100%);
    border-radius: var(--radius-xl);
    height: 340px;
}
.vip-stats-track { position: relative; width: 100%; height: 100%; }
.vip-stat-item {
    position: absolute; top: 50%; left: 50%; width: max-content; max-width: 280px;
    text-align: center; pointer-events: none;
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0; transition: transform 0.55s cubic-bezier(0.65,0,0.35,1), opacity 0.55s ease;
}
.vip-stat-item.pos-current { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.vip-stat-item.pos-prev { transform: translate(calc(-50% - 300px), -50%) scale(0.5); opacity: 0.55; z-index: 2; }
.vip-stat-item.pos-next { transform: translate(calc(-50% + 300px), -50%) scale(0.5); opacity: 0.55; z-index: 2; }
.vip-stat-num {
    font-family: 'Outfit', sans-serif; font-size: 4.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
    background: linear-gradient(100deg, #4b3b00 0%, #eab308 25%, #fff6cc 50%, #eab308 75%, #4b3b00 100%);
    background-size: 250% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #111318;
    text-shadow: 0 2px 18px rgba(234,179,8,0.35);
}
.vip-stat-item.pos-current .vip-stat-num { animation: vipPop 0.55s cubic-bezier(.34,1.56,.64,1), vipShine 2.6s linear infinite 0.55s; }
.vip-stat-label { font-size: 1.15rem; font-weight: 600; color: #3d4351; line-height: 1.4; }
.vip-stat-item.pos-current .vip-stat-label { animation: vipPop 0.55s cubic-bezier(.34,1.56,.64,1) 0.08s backwards; }

@keyframes vipPop {
    0% { transform: scale(0.55); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes vipShine { to { background-position: -250% 0; } }

.vip-dollar-particle {
    position: absolute; top: 62%; left: 50%; z-index: 5; pointer-events: none;
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; color: #eab308;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: translate(-50%, -50%);
    animation: vipDollarFloat 1.15s ease-out forwards;
}
@keyframes vipDollarFloat {
    0% { transform: translate(-50%, -50%) translate(0, 0) scale(0.6) rotate(var(--vip-rot, 0deg)); opacity: 0; }
    18% { opacity: 1; }
    100% { transform: translate(-50%, -50%) translate(var(--vip-dx, 0px), -150px) scale(1.15) rotate(var(--vip-rot, 0deg)); opacity: 0; }
}

.vip-stats-dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 4; }
.vip-stats-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(17,19,24,0.2); transition: 0.25s; }
.vip-stats-dot.active { width: 22px; border-radius: 4px; background: #111318; }

@media (max-width: 1100px) { .vip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .vip-grid { grid-template-columns: 1fr; }
    .vip-title { font-size: 1.8rem; }
    .vip-stats-card { height: 280px; }
    .vip-stat-num { font-size: 2.6rem; }
    .vip-stat-label { font-size: 0.95rem; }
    .vip-stat-item.pos-prev { transform: translate(calc(-50% - 150px), -50%) scale(0.4); }
    .vip-stat-item.pos-next { transform: translate(calc(-50% + 150px), -50%) scale(0.4); }
}

/* ============ CONTENT / LEGAL PAGES ============ */
.page-hero { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.page-eyebrow { display: block; color: var(--accent-yellow); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
.page-title { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.page-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.prose-section { max-width: 820px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px 40px; }
.prose-section h2 { font-size: 1.1rem; font-weight: 800; margin: 26px 0 12px; }
.prose-section h2:first-child { margin-top: 0; }
.prose-section p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; font-size: 0.9rem; }
.prose-section ul { margin: 0 0 14px 20px; color: var(--text-muted); line-height: 1.75; font-size: 0.9rem; }
.prose-section li { margin-bottom: 6px; }
.prose-updated { text-align: center; color: var(--text-dim); font-size: 0.78rem; margin-top: 18px; }

.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.bonus-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: 0.25s; }
.bonus-card:hover { transform: translateY(-4px); border-color: var(--border-color-hover); }
.bonus-card-img { width: 100%; height: 160px; background-size: cover; background-position: center; border-bottom: 1px solid var(--border-color); }
.bonus-card-body { padding: 26px; flex: 1; position: relative; }
.bonus-card-body i.bonus-icon { position: absolute; top: -8px; right: -8px; font-size: 5.5rem; opacity: 0.07; }
.bonus-card-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; background: var(--accent-blue); color: white; margin-bottom: 14px; }
.bonus-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 1; }
.bonus-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; position: relative; z-index: 1; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.step-card { text-align: center; padding: 24px 16px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border-color-hover); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin: 0 auto 14px; color: var(--accent-blue); }
.step-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 0.82rem; color: var(--text-dim); }

.commission-table { width: 100%; border-collapse: collapse; margin-bottom: 40px; }
.commission-table th, .commission-table td { padding: 14px 18px; text-align: left; font-size: 0.88rem; border-bottom: 1px solid var(--border-color); }
.commission-table th { color: var(--text-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; }
.contact-method { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-method:last-child { margin-bottom: 0; }
.contact-method-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-card-hover); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-blue); flex-shrink: 0; }
.contact-method h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.contact-method p { font-size: 0.8rem; color: var(--text-dim); }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 1000px) {
    .bonus-grid { grid-template-columns: 1fr 1fr; }
    .steps-row { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .bonus-grid { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: 1fr; }
    .contact-form-row { grid-template-columns: 1fr; }
    .prose-section { padding: 26px 20px; }
    .page-title { font-size: 1.6rem; }
}

/* ============ MODALS (liquid-glass theme) ============ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(5,5,17,0.55);
    backdrop-filter: blur(0px) saturate(120%);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease, visibility 0s linear 0.35s;
}
.modal-overlay.open {
    opacity: 1; visibility: visible;
    backdrop-filter: blur(16px) saturate(160%);
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease, visibility 0s linear 0s;
}
.modal-box {
    position: relative; width: 100%; max-width: 420px; padding: 40px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02) 40%),
        rgba(13,14,26,0.72);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 70px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.14), inset 0 0 40px rgba(37,99,235,0.05);
    backdrop-filter: blur(30px) saturate(180%);
    max-height: 90vh; overflow-y: auto;
    opacity: 0; transform: translateY(28px) scale(0.94);
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), opacity 0.3s ease;
}
.modal-overlay.open .modal-box { opacity: 1; transform: translateY(0) scale(1); }
.modal-box-wide { max-width: 480px; }

/* Liquid-glass scrollbar for the taller register form */
.modal-box { scrollbar-width: thin; scrollbar-color: rgba(96,165,250,0.55) transparent; }
.modal-box::-webkit-scrollbar { width: 8px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96,165,250,0.75), rgba(37,99,235,0.35));
    border-radius: 20px; border: 2px solid transparent; background-clip: padding-box;
}
.modal-box::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(96,165,250,0.95), rgba(37,99,235,0.55)); background-clip: padding-box; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { display: block; min-height: 16px; font-size: 0.78rem; color: #ef4444; margin-top: 5px; font-weight: 600; }
.form-group input.has-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 1.4rem; color: var(--text-muted); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.08); color: white; }
.modal-logo { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.modal-logo span { color: var(--accent-yellow); }
.modal-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input {
    width: 100%; color: var(--text-main); padding: 12px 16px; border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem; outline: none;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus { background: rgba(255,255,255,0.08); border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.22); }
.btn-modal-submit { width: 100%; background: var(--accent-blue); color: white; padding: 13px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem; margin-top: 8px; transition: 0.2s; box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.btn-modal-submit:hover { background: var(--accent-blue-hover); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37,99,235,0.45); }
.btn-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.modal-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.modal-switch a { color: var(--accent-blue); font-weight: 600; cursor: pointer; }
.modal-switch a:hover { text-decoration: underline; }
.alert-msg { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; display: none; }
.alert-msg.success { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.alert-msg.error { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

/* ============ PROFILE MODAL ============ */
.profile-modal-box { max-width: 460px; padding: 36px; }
.profile-modal-title { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 22px; }

.profile-user-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.profile-avatar {
    width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-blue), #3b82f6);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; color: white;
    box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}
.profile-fullname { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.profile-id-copy {
    display: inline-flex; align-items: center; gap: 6px; background: var(--bg-input); border: 1px solid var(--border-color);
    color: var(--text-muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3px;
    padding: 5px 12px; border-radius: 20px; transition: 0.2s;
}
.profile-id-copy:hover { border-color: var(--border-color-hover); color: white; }
.profile-id-copy.copied { color: #22c55e; border-color: rgba(34,197,94,0.4); }

.profile-balance-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.profile-balance-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); margin-bottom: 4px; }
.profile-balance-value { font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--accent-yellow); margin-bottom: 16px; }
.profile-balance-actions { display: flex; gap: 10px; }

.btn-profile-action { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.88rem; transition: 0.2s; }
.btn-profile-action.green { background: var(--accent-green); color: #06210f; box-shadow: 0 8px 20px rgba(34,197,94,0.3); }
.btn-profile-action.green:hover { background: #16a34a; transform: translateY(-1px); }
.btn-profile-action.ghost { background: rgba(255,255,255,0.06); border: 1px solid var(--border-color); color: var(--text-main); }
.btn-profile-action.ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--border-color-hover); }

.profile-tx-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-color); }
.profile-amount-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.amount-chip { padding: 7px 16px; border-radius: 16px; background: var(--bg-input); border: 1px solid var(--border-color); font-size: 0.82rem; font-weight: 700; color: var(--text-muted); transition: 0.2s; }
.amount-chip:hover, .amount-chip.active { background: var(--accent-blue); border-color: var(--accent-blue); color: white; }
.profile-method-row { display: flex; flex-wrap: wrap; gap: 8px; }
.method-chip { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--radius-sm); background: var(--bg-input); border: 1px solid var(--border-color); font-size: 0.82rem; font-weight: 600; color: var(--text-muted); transition: 0.2s; }
.method-chip.active { border-color: var(--accent-blue); color: white; background: rgba(37,99,235,0.15); }

.profile-section-group { display: flex; flex-direction: column; gap: 4px; }
.profile-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-md); transition: 0.2s; text-align: left; }
.profile-row:hover { background: var(--bg-card-hover); }
.profile-row-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-input); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; }
.profile-row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.profile-row-text strong { font-size: 0.92rem; font-weight: 700; }
.profile-row-text small { font-size: 0.78rem; color: var(--text-dim); }
.profile-row-chevron { color: var(--text-dim); transition: transform 0.2s; flex-shrink: 0; }
.profile-row.expanded .profile-row-chevron { transform: rotate(180deg); }
.profile-row-panel { padding: 4px 12px 18px 64px; }

.profile-empty-state { color: var(--text-dim); font-size: 0.85rem; font-style: italic; }
.profile-inline-form { display: flex; gap: 8px; }
.profile-inline-form input { flex: 1; color: var(--text-main); padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); outline: none; font-family: inherit; }
.profile-inline-form input:focus { border-color: var(--accent-blue); }
.profile-stat-grid { display: flex; gap: 10px; margin-bottom: 12px; }
.profile-stat { flex: 1; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 14px; }
.profile-stat span { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.profile-stat strong { font-size: 1rem; font-weight: 800; }
.text-win { color: #22c55e; }
.text-loss { color: #ef4444; }
.profile-info-list { display: flex; flex-direction: column; gap: 10px; }
.profile-info-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.profile-info-item span { color: var(--text-dim); }
.profile-info-item strong { font-weight: 600; }

/* ============ ACCOUNT PAGE (Hesabım) ============ */
.account-shell { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; max-width: 1100px; margin: 0 auto; }
.account-tabs { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.account-tab-btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); color: var(--text-muted); font-weight: 600; font-size: 0.9rem; transition: 0.2s; text-align: left; width: 100%; }
.account-tab-btn i { font-size: 1.15rem; flex-shrink: 0; }
.account-tab-btn:hover { background: var(--bg-card-hover); color: white; }
.account-tab-btn.active { background: linear-gradient(135deg, var(--accent-blue), #3b82f6); color: white; box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.account-tab-divider { height: 1px; background: var(--border-color); margin: 8px 6px; }
.account-tab-btn.special { background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(192,38,211,0.12)); border: 1px solid rgba(192,38,211,0.35); color: #e9d5ff; position: relative; }
.account-tab-btn.special i { color: #d946ef; }
.account-tab-btn.special:hover { background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(192,38,211,0.22)); }
.account-tab-btn.special.active { background: linear-gradient(135deg, #7c3aed, #c026d3); color: white; box-shadow: 0 8px 24px rgba(192,38,211,0.4); }
.account-tab-btn.special.active i { color: white; }
.account-tab-sparkle { margin-left: auto; font-size: 0.9rem; animation: sparklePulse 1.8s ease-in-out infinite; }
/* The tabs are grouped into sections so the mobile site can render them as a drill-down menu
   (see assets/mobile.css). Here the wrappers and their extra affordances stay out of the way, so
   the desktop sidebar is exactly the flat list it has always been. */
.account-tab-group { display: contents; }
.account-group-title, .att-chevron { display: none; }
@keyframes sparklePulse { 0%, 100% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.15); } }

.account-content { min-width: 0; }
.account-pane { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; }
.account-pane h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.account-pane-desc { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 24px; }

.account-list { display: flex; flex-direction: column; gap: 10px; }
.account-list-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); gap: 12px; flex-wrap: wrap; }
.account-list-main { display: flex; align-items: center; gap: 12px; }
.type-badge { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.type-badge.deposit { background: rgba(34,197,94,0.15); color: #22c55e; }
.type-badge.withdrawal { background: rgba(239,68,68,0.15); color: #ef4444; }
.type-badge.freespin { background: rgba(37,99,235,0.15); color: #60a5fa; }
.type-badge.cash { background: rgba(234,179,8,0.15); color: var(--accent-yellow); }
.account-list-title { font-weight: 700; font-size: 0.9rem; }
.account-list-meta { font-size: 0.76rem; color: var(--text-dim); }
.account-list-amount { font-weight: 800; font-size: 0.95rem; }
.account-list-amount.positive { color: #22c55e; }
.account-list-amount.negative { color: #ef4444; }
.ticket-status { padding: 4px 10px; border-radius: 12px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.ticket-status.open { background: rgba(37,99,235,0.15); color: #60a5fa; }
.ticket-status.closed { background: rgba(139,146,165,0.15); color: var(--text-muted); }

/* ============ WHEEL OF FORTUNE (Çarkıfelek) ============ */
.wheel-shell { text-align: center; padding: 10px 0 0; }
.wheel-shell::before { content: none; }
.wheel-hero-title { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg, #f472b6, #a855f7, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.wheel-hero-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }
.wheel-eligibility { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; margin-bottom: 26px; }
.wheel-eligibility.ok { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.wheel-eligibility.no { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }

.wheel-wrap { position: relative; width: 300px; height: 300px; margin: 0 auto 30px; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; z-index: 3; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid #eab308; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); }
.wheel-disc {
    width: 100%; height: 100%; border-radius: 50%; position: relative; overflow: hidden;
    border: 6px solid #1a1c22; box-shadow: 0 0 0 4px rgba(217,70,239,0.25), 0 20px 60px rgba(124,58,237,0.45), inset 0 0 30px rgba(0,0,0,0.4);
    transition: transform 4.5s cubic-bezier(0.15,0.68,0.14,1);
}
.wheel-slice { position: absolute; inset: 0; }
.wheel-slice-label {
    position: absolute; top: 50%; left: 50%; width: 76px; text-align: center; line-height: 1.15;
    transform-origin: 0 0; font-weight: 800; font-size: 0.62rem; color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6); letter-spacing: 0.2px;
}
.wheel-center-hub {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
    width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #fef08a, #eab308 60%, #a16207); box-shadow: 0 0 0 4px rgba(5,5,17,0.9), 0 6px 16px rgba(0,0,0,0.5);
    font-size: 1.4rem; color: #422006;
}

.btn-wheel-spin {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 42px; border-radius: 30px;
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 1px; color: white;
    background: linear-gradient(135deg, #7c3aed, #c026d3); box-shadow: 0 10px 30px rgba(192,38,211,0.45); transition: 0.2s;
}
.btn-wheel-spin:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(192,38,211,0.55); }
.btn-wheel-spin:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

.wheel-result { margin-top: 24px; padding: 18px 24px; border-radius: var(--radius-lg); background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); display: none; }
.wheel-result.show { display: block; }
.wheel-result-title { color: #22c55e; font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.wheel-result-reward { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; }

.wheel-history-title { text-align: left; font-size: 1rem; font-weight: 800; margin: 34px 0 14px; }

@media (max-width: 900px) {
    .account-shell { grid-template-columns: 1fr; }
    /* Wrap the tabs into pills so ALL of them are visible (a single full-width column base +
       row layout previously showed only one tab at a time). */
    .account-tabs { flex-direction: row; flex-wrap: wrap; }
    .account-tab-btn { flex: 0 0 auto; width: auto; white-space: nowrap; }
    .account-pane { padding: 22px 18px; }
}

/* ============ DEPOSIT METHOD PICKER (account.php "Para Yatır" tab) ============ */
.deposit-method-section-title { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin: 22px 0 12px; }
.deposit-method-section-title:first-child { margin-top: 0; }
.deposit-method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 8px; }
.deposit-method-card {
    display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 14px;
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    text-align: center; transition: 0.2s;
}
.deposit-method-card:hover { transform: translateY(-3px); border-color: var(--border-color-hover); background: var(--bg-card-hover); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
.deposit-method-logo { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; flex-shrink: 0; overflow: hidden; }
.deposit-method-logo.quick { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.deposit-method-logo.crypto { background: linear-gradient(135deg, #eab308, #f59e0b); }
/* Real uploaded logos are designed for a plain background, not our colored gradient chips —
   switch to white + object-fit:contain so wordmarks/rectangular logos display whole, not cropped. */
.deposit-method-logo.has-logo { background: #fff; padding: 8px; }
.deposit-method-logo img { width: 100%; height: 100%; object-fit: contain; }
.deposit-method-card-label { font-weight: 700; font-size: 0.85rem; }

/* ============ DEPOSIT DETAIL PAGE (deposit.php) ============ */
.deposit-detail-shell { max-width: 480px; margin: 0 auto; }
.deposit-detail-card, .deposit-success-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 34px; }
.deposit-method-badge { width: 74px; height: 74px; border-radius: 20px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; color: white; }
.deposit-badge-quick { background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 12px 30px rgba(37,99,235,0.35); }
.deposit-badge-crypto { background: linear-gradient(135deg, #eab308, #f59e0b); box-shadow: 0 12px 30px rgba(234,179,8,0.3); }

.deposit-info-card { background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 8px 18px; margin: 22px 0; }
.deposit-info-card-title { font-size: 0.95rem; font-weight: 800; padding: 14px 0 6px; }
.deposit-info-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
.deposit-info-row:last-of-type { border-bottom: none; }
.deposit-row-icon { width: 40px; height: 40px; border-radius: 50%; background: #08080f; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; }
.deposit-row-icon.amount { background: rgba(234,179,8,0.15); color: var(--accent-yellow); border-color: rgba(234,179,8,0.3); }
.deposit-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.deposit-row-body small { color: var(--text-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3px; }
.deposit-row-body strong { font-weight: 700; word-break: break-word; }
.deposit-copy-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: 0.2s; }
.deposit-copy-btn:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: white; }
.deposit-copy-btn.copied { background: var(--accent-green); border-color: var(--accent-green); color: white; }
.deposit-network-note { display: flex; align-items: flex-start; gap: 8px; padding: 12px 0 6px; color: var(--accent-yellow); font-size: 0.8rem; line-height: 1.5; }

.deposit-countdown { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }
.deposit-countdown-time { font-weight: 800; color: white; font-variant-numeric: tabular-nums; background: var(--bg-input); border: 1px solid var(--border-color); padding: 3px 10px; border-radius: 8px; }

.deposit-success-card { text-align: center; }
.deposit-success-card h2 { font-size: 1.3rem; font-weight: 800; margin: 4px 0 8px; }
.deposit-success-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 22px; }
.deposit-status-icon { width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 18px; transition: 0.3s; }
.deposit-status-icon.checking { background: rgba(37,99,235,0.15); border: 2px solid rgba(37,99,235,0.4); color: #60a5fa; }
.deposit-status-icon.approved { background: rgba(34,197,94,0.15); border: 2px solid rgba(34,197,94,0.4); color: #22c55e; }
.deposit-status-icon.rejected { background: rgba(239,68,68,0.15); border: 2px solid rgba(239,68,68,0.4); color: #ef4444; }
.deposit-note-box { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 20px; text-align: left; font-size: 0.85rem; color: #fca5a5; }
.deposit-note-box strong { display: block; color: #f87171; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.deposit-result-card { background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 6px 20px; margin-bottom: 24px; text-align: left; }
.deposit-result-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--border-color); font-size: 0.88rem; }
.deposit-result-row:last-of-type { border-bottom: none; }
.deposit-result-row span { color: var(--text-dim); }
.deposit-result-row strong { font-weight: 700; }

@media (max-width: 640px) {
    .deposit-method-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .deposit-detail-card, .deposit-success-card { padding: 26px 20px; }
}

/* ============ IN-HOUSE GAME PAGES (Mines/Crash/Blackjack/Slot) ============ */
.game-play-shell { display: grid; grid-template-columns: 1fr 320px; gap: 24px; max-width: 1100px; margin: 0 auto; align-items: start; }
.game-play-board { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.game-play-panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 90px; }
.game-stat-row { display: flex; gap: 10px; margin-bottom: 18px; }
.game-stat-box { flex: 1; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 14px; }
.game-stat-box span { display: block; font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 3px; }
.game-stat-box strong { font-size: 1.05rem; font-weight: 800; }

.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 100%; max-width: 380px; aspect-ratio: 1; }
.mines-tile {
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: 0.15s; cursor: pointer;
}
.mines-tile:not(:disabled):hover { background: var(--bg-card-hover); border-color: var(--accent-blue); transform: scale(0.96); }
.mines-tile:disabled { cursor: default; }
.mines-tile.safe { background: rgba(34,197,94,0.18); border-color: rgba(34,197,94,0.4); color: #22c55e; }
.mines-tile.mine { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.5); color: #ef4444; }
.mines-tile.mine-hit { background: #ef4444; border-color: #ef4444; color: white; }

.crash-canvas {
    position: relative; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius-md);
    background: linear-gradient(180deg, #1e0a0a, #050303); overflow: hidden;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.crash-multiplier { font-family: 'Outfit', sans-serif; font-size: 3.4rem; font-weight: 800; color: white; transition: color 0.2s; z-index: 2; }
.crash-multiplier.rising { color: #22c55e; }
.crash-multiplier.crashed { color: #ef4444; }
.crash-rocket { position: absolute; bottom: 15%; left: 12%; font-size: 2rem; color: #f97316; transition: transform 0.1s linear; filter: drop-shadow(0 0 12px rgba(249,115,22,0.6)); }
.crash-rocket.exploded { color: #ef4444; font-size: 2.6rem; }
.crash-status { margin-top: 14px; color: var(--text-muted); font-size: 0.85rem; z-index: 2; }

.bj-table { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.bj-hand-area { text-align: center; }
.bj-hand-label { font-size: 0.8rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.bj-hand-label span { color: var(--accent-yellow); font-weight: 800; }
.bj-cards { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 108px; }
.bj-card {
    width: 68px; height: 96px; border-radius: 8px; background: white; color: #111827;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: Georgia, serif; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    animation: bjDeal 0.3s ease;
}
.bj-card .bj-rank { font-size: 1.3rem; }
.bj-card .bj-suit { font-size: 1.5rem; margin-top: 2px; }
.bj-card.red { color: #dc2626; }
.bj-card.facedown { background: linear-gradient(135deg, #2563eb, #1e3a8a); border: 2px solid rgba(255,255,255,0.2); }
@keyframes bjDeal { from { opacity: 0; transform: translateY(-14px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.bj-result { text-align: center; font-size: 1.1rem; font-weight: 800; min-height: 28px; }
.bj-result.win { color: #22c55e; }
.bj-result.lose { color: #ef4444; }
.bj-result.push { color: var(--accent-yellow); }

.slot-machine { text-align: center; }
.slot-reels { display: flex; gap: 14px; background: #1a1c22; border: 4px solid #eab308; border-radius: 16px; padding: 26px 34px; box-shadow: inset 0 4px 20px rgba(0,0,0,0.5); }
.slot-reel { width: 84px; height: 96px; background: #0f172a; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.slot-reel span { display: inline-block; transition: transform 0.15s; }
.slot-reel.spinning span { animation: slotSpin 0.15s linear infinite; }
@keyframes slotSpin { from { transform: translateY(-10px); opacity: 0.5; } to { transform: translateY(10px); opacity: 1; } }
.slot-result { margin-top: 18px; font-size: 1.1rem; font-weight: 800; min-height: 28px; }
.slot-result.win { color: #22c55e; }
.slot-result.lose { color: var(--text-dim); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .sidebar { display: none; }
    .sidebar-expand-btn { display: none !important; }
    .live-bets-table { display: none; }
    .live-bets-mobile { display: block; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
    .mobile-bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; height: 62px; background: #0d0e18; border-top: 1px solid var(--border-color); align-items: center; justify-content: space-around; padding: 0 8px; }
    .mobile-bottom-nav > * { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--text-dim); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; padding: 6px; flex: 1; }
    .mobile-bottom-nav > *.active, .mobile-bottom-nav > *:hover { color: white; }
    .mobile-bottom-nav i { font-size: 1.3rem; }
    .mobile-nav-search { display: flex; justify-content: center; margin-top: -22px; }
    .mobile-nav-search button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; border: 3px solid #0d0e18; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
    .main-content { padding: 16px 14px 100px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 220px; }
    .hero-title { font-size: 1.3rem; }
    .hero-slide-content { padding: 0 20px; }
    .side-banners { flex-direction: row; }
    .footer-columns { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .top-header-inner { padding: 0 14px; }
}

@media (max-width: 640px) {
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .filter-pill span { display: inline; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
    .lang-btn span { display: none; }
    .btn-login, .btn-register { padding: 8px 14px; font-size: 0.78rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .modal-box { padding: 28px 22px; }
}

/* ─── Live feed: real game covers in Son Kazananlar / Canlı Bahisler ─── */
.win-card-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.win-card-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 1.3rem; color: var(--text-dim); background: var(--bg-input); border-radius: inherit; }
.bets-game-thumb { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.bet-mobile-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.feed-empty { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 26px 18px; color: var(--text-dim); font-size: 0.87rem; text-align: center; }
.feed-empty i { font-size: 1.2rem; opacity: 0.8; }
.btn-load-more .bx-spin { animation: bxSpin 1s linear infinite; }
@keyframes bxSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.chat-change-topic {
    margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #cfd3e6;
    font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; cursor: pointer; transition: 0.16s;
}
.chat-change-topic:hover { background: var(--accent-blue); border-color: transparent; color: #fff; }

/* ─── 3D / animated live feed (Son Kazananlar + Canlı Bahisler) ─── */
.wins-track { perspective: 1100px; }
.win-card {
    position: relative; transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
    animation: winCardIn .5s cubic-bezier(.22,1,.36,1) both;
    will-change: transform;
}
@keyframes winCardIn { from { opacity:0; transform: translateY(14px) rotateX(-16deg) scale(.94); } to { opacity:1; transform:none; } }
.win-card:hover {
    transform: translateY(-6px) rotateX(6deg) rotateY(-5deg) scale(1.045);
    box-shadow: 0 18px 38px rgba(0,0,0,.55), 0 0 0 1px rgba(234,179,8,.35), 0 0 26px rgba(234,179,8,.18);
    z-index: 3;
}
.win-card::after { /* glossy sweep */
    content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%);
    background-size: 250% 100%; background-position: 150% 0; transition: background-position .7s ease;
}
.win-card:hover::after { background-position: -40% 0; }
.win-card-thumb { transform: translateZ(22px); box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.win-card-info  { transform: translateZ(12px); }
.win-amount-pill {
    background: linear-gradient(135deg,#22c55e,#15803d); color:#fff; font-weight:800;
    box-shadow: 0 3px 12px rgba(34,197,94,.45); animation: pillGlow 2.6s ease-in-out infinite;
}
@keyframes pillGlow { 0%,100% { box-shadow:0 3px 12px rgba(34,197,94,.40); } 50% { box-shadow:0 3px 20px rgba(34,197,94,.75); } }

.live-bets-table { perspective: 1400px; }
.bets-row {
    transform-style: preserve-3d; will-change: transform;
    transition: transform .28s cubic-bezier(.22,1,.36,1), background .28s, box-shadow .28s;
    animation: betRowIn .45s ease both;
}
@keyframes betRowIn { from { opacity:0; transform: translateX(-16px) rotateY(6deg); } to { opacity:1; transform:none; } }
.bets-row:nth-child(1){animation-delay:.02s}.bets-row:nth-child(2){animation-delay:.06s}
.bets-row:nth-child(3){animation-delay:.10s}.bets-row:nth-child(4){animation-delay:.14s}
.bets-row:nth-child(5){animation-delay:.18s}.bets-row:nth-child(6){animation-delay:.22s}
.bets-row:hover {
    transform: translateZ(16px) scale(1.012);
    background: rgba(255,255,255,.05);
    box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 3px 0 0 var(--accent-blue);
    z-index: 2;
}
.bets-game-thumb { transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s; }
.bets-row:hover .bets-game-thumb { transform: translateZ(20px) scale(1.14) rotate(-3deg); box-shadow: 0 8px 18px rgba(0,0,0,.5); }
.bets-row .text-green { text-shadow: 0 0 12px rgba(34,197,94,.55); font-weight: 800; }
.bet-mobile-row { transition: transform .25s, background .25s; animation: betRowIn .4s ease both; }
.bet-mobile-row:hover { transform: translateY(-3px) scale(1.01); background: rgba(255,255,255,.05); }
.bet-mobile-icon { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .win-card, .bets-row, .bet-mobile-row { animation: none !important; }
    .win-card:hover, .bets-row:hover { transform: none !important; }
    .win-amount-pill { animation: none !important; }
}

/* ═══ Reference-style deposit method cards (Min / Maksimum, "Seçiniz →") ═══ */
.pm-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pm-card {
    display: flex; flex-direction: column; gap: 12px;
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 18px; text-align: left; transition: 0.2s;
}
.pm-card:hover { transform: translateY(-3px); border-color: var(--border-color-hover); background: var(--bg-card-hover); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
.pm-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* Yatırım yöntemi sekmeleri (Tümü / Havale / Papara / Kripto) */
.deposit-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.deposit-tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px;
    background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-muted);
    font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: 0.18s; white-space: nowrap; }
.deposit-tab i { font-size: 1.05rem; }
.deposit-tab:hover { border-color: var(--border-color-hover); color: #fff; }
.deposit-tab.active { background: linear-gradient(135deg, var(--accent-blue), #1d4ed8); border-color: transparent; color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,0.35); }
@media (max-width: 560px) { .deposit-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .deposit-tab { padding: 9px 13px; font-size: 0.8rem; } }

.pm-logo { width: 52px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; flex-shrink: 0; overflow: hidden; }
.pm-logo.quick { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.pm-logo.crypto { background: linear-gradient(135deg, #eab308, #f59e0b); }
.pm-logo.has-logo { background: #fff; padding: 5px; }
.pm-logo img { width: 100%; height: 100%; object-fit: contain; }
.pm-select {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
    padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-color-hover);
    font-size: 0.78rem; font-weight: 700; color: var(--text-muted); transition: 0.2s; white-space: nowrap;
}
.pm-card:hover .pm-select { background: var(--accent-blue); border-color: transparent; color: #fff; }
.pm-label { font-weight: 800; font-size: 1.05rem; }
.pm-sub { color: var(--text-dim); font-size: 0.76rem; }
.pm-limits { border-top: 1px solid var(--border-color); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pm-limit { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; }
.pm-limit span { color: var(--text-dim); }
.pm-limit strong { font-weight: 800; }

/* ═══ Reference-style deposit flow (amount step + confirm modal + detail) ═══ */
.deposit-page-hero { display: flex; align-items: center; gap: 14px; }
.deposit-back-circle {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    background: var(--bg-card); border: 1px solid var(--border-color); color: var(--accent-blue); transition: 0.2s;
}
.deposit-back-circle:hover { background: var(--bg-card-hover); transform: translateX(-2px); }
.deposit-page-hero .page-title { margin: 0; }
.deposit-step { display: flex; flex-direction: column; gap: 16px; }

/* Amount input as a rounded pill with the method logo inside (reference "Miktar girin") */
.deposit-amount-field {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 999px; padding: 6px 8px 6px 6px;
}
.deposit-amount-field:focus-within { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.deposit-amount-icon {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover));
}
.deposit-amount-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.deposit-amount-field input {
    flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff;
    font-size: 1.05rem; font-weight: 700; padding: 8px 6px;
}
.deposit-limit-note { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-dim); padding: 0 6px; }

/* Amount preset pills */
.deposit-preset-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deposit-preset-chips .amount-chip {
    padding: 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 700; text-align: center;
    background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-muted); transition: 0.18s;
}
.deposit-preset-chips .amount-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.deposit-preset-chips .amount-chip:hover { border-color: var(--border-color-hover); color: #fff; }
.deposit-preset-chips .amount-chip.active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }

/* Bonus select */
.deposit-bonus-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.deposit-bonus-group .req { color: #ef4444; }
.deposit-bonus-select {
    width: 100%; background: var(--bg-input); border: 1px solid var(--border-color); color: #fff;
    padding: 13px 16px; border-radius: 999px; font-family: inherit; font-size: 0.9rem; outline: none; cursor: pointer;
}
.deposit-bonus-select:focus { border-color: var(--accent-blue); }

/* "Yatırım Yap" primary button (reference cyan gradient) */
.deposit-primary-btn {
    width: 100%; padding: 15px; border-radius: 999px; border: 0; cursor: pointer;
    background: linear-gradient(135deg, #22d3ee, #0ea5e9); color: #06263a; font-weight: 800; font-size: 1rem;
    box-shadow: 0 10px 26px rgba(14,165,233,0.35); transition: 0.18s;
}
.deposit-primary-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.deposit-primary-btn:active { transform: translateY(0); }

/* Orange "Yatırım notu" warning box (reference) */
.deposit-warn-note {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.35); color: #fbbf24;
    border-radius: var(--radius-md); padding: 14px 16px; font-size: 0.84rem; line-height: 1.5;
}
.deposit-warn-note i { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

/* Confirmation modal (reference "yönlendiriliyorsunuz" screen) */
.deposit-redirect-check {
    width: 78px; height: 78px; margin: 4px auto 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 0 8px rgba(34,197,94,0.14), 0 12px 30px rgba(34,197,94,0.35);
    animation: depositCheckPop 0.4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes depositCheckPop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.deposit-redirect-msg { font-size: 1.02rem; font-weight: 800; line-height: 1.45; margin-bottom: 16px; }
.deposit-redirect-or { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 16px; }
.deposit-redirect-btn {
    padding: 12px 34px; border-radius: 999px; border: 0; cursor: pointer;
    background: linear-gradient(135deg, #f59e0b, #ea8a04); color: #fff; font-weight: 800; font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(245,158,11,0.4); transition: 0.18s;
}
.deposit-redirect-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ═══ Standalone manual payment page (pay.php, opened in a new tab) ═══ */
.pay-body { background: radial-gradient(circle at 50% -10%, #12131f 0%, var(--bg-page) 55%); min-height: 100vh; padding: 0; display: flex; flex-direction: column; }
/* The global body::before glow is a fixed 1400px tall — on this short, standalone page that
   phantom height creates a big empty scroll area below the content. Disable it here (this page
   already paints its own background gradient). */
.pay-body::before { display: none; }
/* margin:auto vertically centres the (usually short) payment content so there's no big empty
   gap under it, while still allowing tall content to scroll instead of being clipped. */
.pay-wrap { max-width: 560px; width: 100%; margin: auto; padding: 24px 18px 28px; }
.pay-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pay-topbar .logo { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; }
.pay-topbar .logo span { color: var(--accent-yellow); }
.pay-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: #4ade80; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); padding: 6px 12px; border-radius: 999px; }

.pay-amount-bar {
    display: flex; gap: 10px; background: linear-gradient(135deg, rgba(34,197,94,0.14), rgba(34,197,94,0.05));
    border: 1px solid rgba(34,197,94,0.28); border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.pay-amount-item { flex: 1 1 120px; min-width: 0; }
.pay-amount-item span { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 4px; }
.pay-amount-item strong { font-size: 1.05rem; font-weight: 800; }
.pay-amount-item.main strong { color: #4ade80; font-size: 1.25rem; }
.pay-status-pill { color: var(--accent-yellow) !important; font-size: 0.9rem !important; }

.pay-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.pay-method-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pay-method-logo { width: 56px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); }
.pay-method-logo.has-logo { background: #fff; padding: 5px; }
.pay-method-logo img { width: 100%; height: 100%; object-fit: contain; }
.pay-method-name { font-weight: 800; font-size: 1.1rem; }
.pay-method-sub { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }

.pay-warn { display: flex; gap: 9px; align-items: flex-start; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.32); color: #fbbf24; border-radius: var(--radius-md); padding: 12px 14px; font-size: 0.83rem; line-height: 1.5; margin-bottom: 18px; }
.pay-warn i { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }

.pay-steps { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 0 0 22px; padding: 0; }
.pay-steps li { display: flex; gap: 14px; }
.pay-step-num { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: #fff; background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); }
.pay-step-body { flex: 1; min-width: 0; }
.pay-step-body > strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.pay-step-body > p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }
.pay-info-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.pay-info-row small { display: block; font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 3px; }
.pay-info-row strong { font-size: 0.95rem; font-weight: 800; word-break: break-all; }
.pay-info-row.amount strong { color: #4ade80; }
.pay-copy { width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: 0.18s; }
.pay-copy:hover { color: #fff; border-color: var(--border-color-hover); }
.pay-copy.copied { color: #4ade80; border-color: #4ade80; }

.pay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--bg-input); color: #fff; font-weight: 800; font-size: 0.95rem; text-decoration: none; transition: 0.18s; }
.pay-btn.primary { background: linear-gradient(135deg, var(--accent-green), #16a34a); box-shadow: 0 10px 28px rgba(34,197,94,0.35); }
.pay-btn:hover { filter: brightness(1.06); }

.pay-waiting { text-align: center; }
.pay-status-icon { width: 76px; height: 76px; margin: 6px auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #fff; }
.pay-status-icon.checking { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.pay-status-icon.approved { background: linear-gradient(135deg, #22c55e, #16a34a); }
.pay-status-icon.rejected { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.pay-status-icon .bx-spin { animation: bxSpin 1s linear infinite; }
.pay-waiting h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.pay-waiting p { color: var(--text-muted); font-size: 0.9rem; }
.pay-note-box { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; border-radius: 10px; padding: 12px; font-size: 0.85rem; margin-top: 14px; }

.pay-error { text-align: center; }
.pay-error-icon { width: 72px; height: 72px; margin: 4px auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, #ef4444, #b91c1c); }
.pay-foot { text-align: center; font-size: 0.76rem; color: var(--text-dim); margin-top: 18px; line-height: 1.5; }

/* ── Payment countdown (15-minute window) ── */
.pay-timer { background: linear-gradient(160deg, rgba(59,130,246,0.10), rgba(255,255,255,0.02)); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 16px; }
.pay-timer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pay-timer-label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
.pay-timer-label i { font-size: 1.05rem; color: #60a5fa; }
.pay-timer-clock { font-variant-numeric: tabular-nums; font-weight: 900; font-size: 1.28rem; letter-spacing: 1px; color: #fff; }
.pay-timer-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.pay-timer-fill { height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #22c55e, #4ade80); transition: width 1s linear; }
.pay-timer-note { margin-top: 9px; font-size: 0.72rem; color: var(--text-dim); }
.pay-timer.warn { border-color: rgba(239,68,68,0.4); animation: payTimerPulse 1.1s ease-in-out infinite; }
.pay-timer.warn .pay-timer-clock { color: #f87171; }
.pay-timer.warn .pay-timer-fill { background: linear-gradient(90deg, #ef4444, #f87171); }
@keyframes payTimerPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } 50% { box-shadow: 0 0 0 4px rgba(239,68,68,0.12); } }

/* ── Result cards (approved / cancelled / expired) reuse the waiting layout ── */
.pay-result { text-align: center; }
.pay-result h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.pay-result p { color: var(--text-muted); font-size: 0.9rem; }
.pay-result .pay-status-icon { animation: payIconPop 0.45s cubic-bezier(0.2,1.3,0.4,1) both; }
@keyframes payIconPop { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* ── Entrance + stages animation ── */
.pay-amount-bar { animation: payFadeUp 0.45s ease both; }
.pay-timer { animation: payFadeUp 0.5s ease both; }
.pay-card { animation: payFadeUp 0.5s ease both; }
@keyframes payFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Stages: a connector line links the numbered badges + each step slides in with a stagger */
.pay-steps li { position: relative; animation: payStepIn 0.5s cubic-bezier(0.2,0.9,0.2,1) both; }
.pay-steps li:nth-child(1) { animation-delay: 0.06s; }
.pay-steps li:nth-child(2) { animation-delay: 0.15s; }
.pay-steps li:nth-child(3) { animation-delay: 0.24s; }
.pay-steps li:not(:last-child)::before {
    content: ''; position: absolute; left: 15px; top: 34px; bottom: -16px; width: 2px; transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(59,130,246,0.6), rgba(59,130,246,0.12));
}
.pay-step-num { position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(37,99,235,0.35); }
@keyframes payStepIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
    .pay-amount-bar, .pay-timer, .pay-card, .pay-steps li, .pay-result .pay-status-icon, .pay-timer.warn { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE THEME — genuine responsive layer (auto-applies by viewport width, so
   it works whether a phone lands on the mobile host or the main site directly).
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Live-support button on phones: sits ABOVE the bottom nav, bigger tap target,
      and (being position:fixed) stays put while the page scrolls. ── */
@media (max-width: 1024px) {
    .floating-chat { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); right: 14px; z-index: 160; }
    .chat-fab { width: 58px; height: 58px; font-size: 1.6rem; background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); border-color: transparent; box-shadow: 0 12px 26px rgba(37,99,235,0.45); }
    .chat-fab i { color: #fff; }
    /* The panel opens above the FAB — never let it run off the top of a short screen. */
    .chat-panel { height: auto; max-height: calc(100vh - 190px); bottom: 74px; }
}

@media (max-width: 560px) {
    /* Header: keep the essentials on one comfortable row */
    .top-header-inner { padding: 0 12px; gap: 8px; }
    .top-header .logo { font-size: 1.05rem; }
    .header-right { gap: 6px; }
    .user-info-bar { gap: 7px; }
    .username-badge { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .balance-badge { font-size: 0.78rem; padding: 5px 9px; }
    .btn-logout { padding: 7px 10px; font-size: 0.74rem; }

    /* Content breathing room + clearance for the fixed bottom nav */
    .main-content { padding: 14px 12px 96px; }
    .page-title { font-size: 1.35rem; }
    .page-hero { margin-bottom: 20px; }

    /* Games: 2 up on phones reads far better than 3 cramped columns */
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Hero + side banners stack cleanly */
    .hero-slider { height: 190px; }
    .side-banners { flex-direction: column; }

    /* Footer collapses to a single readable column */
    .footer-columns { grid-template-columns: 1fr; text-align: center; }
    .footer-col { display: flex; flex-direction: column; }
    .footer-social { flex-wrap: wrap; }

    /* Modals fill the screen comfortably instead of hugging one edge */
    .modal-box { width: calc(100vw - 28px); max-height: calc(100vh - 40px); overflow-y: auto; }

    /* Comfortable minimum tap targets on interactive chips/pills */
    .amount-chip, .filter-pill { min-height: 40px; }
}

@media (max-width: 380px) {
    .games-grid { gap: 8px; }
    .top-header .logo span { display: none; }   /* "ROLEX" alone keeps the bar tidy on tiny screens */
    .chat-fab { width: 54px; height: 54px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SPORTS (spor.php) — sportsbook layout, odds, and bet slip
   ══════════════════════════════════════════════════════════════════════════ */
.sport-hero .page-eyebrow i { color: var(--accent-yellow); }
.sport-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; align-items: start; }
.sport-main { min-width: 0; }

/* Sport category tabs */
.sport-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 10px 16px; border-radius: 999px; background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-muted); font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: 0.18s; white-space: nowrap; }
.sport-tab i { font-size: 1.15rem; }
.sport-tab:hover { color: #fff; border-color: var(--border-color-hover); }
.sport-tab.active { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.35); }

.sport-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 14px; }
.sport-section-head h2 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; }
.sport-count { font-size: 0.78rem; font-weight: 700; color: var(--text-dim); background: var(--bg-input); border: 1px solid var(--border-color); padding: 4px 11px; border-radius: 999px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,0.6); animation: ping 1.5s infinite; }

.match-odds-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 12px; padding: 0 4px; }
.match-odds-legend .ou-legend { color: var(--accent-yellow); }

/* Match cards */
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 14px 16px; transition: border-color 0.18s, background 0.18s; }
.match-card:hover { border-color: var(--border-color-hover); }
.match-card.live { background: linear-gradient(160deg, rgba(239,68,68,0.06), var(--bg-card) 60%); }
.match-info { min-width: 0; flex: 1; }
.match-league { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 0.74rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 9px; }
.match-league > i { font-size: 1rem; color: var(--accent-blue); }
.match-live-min { color: #ef4444; background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); padding: 1px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.match-time { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.match-teams { display: flex; flex-direction: column; gap: 5px; }
.match-teams.pre { flex-direction: row; align-items: center; gap: 10px; }
.match-teams .team { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.match-teams.pre .team { justify-content: flex-start; }
.team-name { font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-score { font-weight: 800; font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; min-width: 22px; text-align: center; }
.team-vs { font-size: 0.72rem; font-weight: 800; color: var(--text-dim); flex-shrink: 0; }

/* Odds cells */
.match-odds { display: flex; gap: 8px; flex-shrink: 0; }
.odd-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 60px; height: 52px; flex-shrink: 0; border-radius: 10px; background: var(--bg-input); border: 1px solid var(--border-color); cursor: pointer; transition: transform 0.12s, background 0.18s, border-color 0.18s; position: relative; overflow: hidden; }
.odd-cell:hover { border-color: var(--accent-blue); background: rgba(37,99,235,0.1); }
.odd-cell:active { transform: scale(0.95); }
.odd-pick { font-size: 0.66rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; }
.odd-val { font-size: 0.95rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.odd-cell.selected { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); border-color: transparent; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
.odd-cell.selected .odd-pick, .odd-cell.selected .odd-val { color: #fff; }
.odd-empty { color: var(--text-dim); font-weight: 700; cursor: default; }
.odd-cell.odd-up { animation: oddUp 1.3s ease; }
.odd-cell.odd-down { animation: oddDown 1.3s ease; }
.odd-cell.flash { animation: oddFlash 0.4s ease; }
@keyframes oddUp { 0% { background: rgba(34,197,94,0.35); } 100% { background: var(--bg-input); } }
@keyframes oddDown { 0% { background: rgba(239,68,68,0.35); } 100% { background: var(--bg-input); } }
@keyframes oddFlash { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }

.sport-empty { text-align: center; color: var(--text-dim); padding: 40px 20px; font-size: 0.9rem; }
.sport-empty i { font-size: 1.6rem; display: block; margin-bottom: 8px; opacity: 0.7; }
.sport-disclaimer { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 14px; font-size: 0.76rem; color: var(--text-dim); background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.sport-disclaimer i { font-size: 1.05rem; color: var(--accent-yellow); }

/* ── Bet slip ── */
.betslip { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); position: sticky; top: 86px; overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 110px); }
.betslip-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border-color); background: linear-gradient(135deg, rgba(37,99,235,0.12), transparent); }
.betslip-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.95rem; flex: 1; }
.betslip-title i { color: var(--accent-blue); font-size: 1.2rem; }
.betslip-count { background: var(--accent-blue); color: #fff; font-size: 0.72rem; font-weight: 800; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.betslip-clear { font-size: 0.78rem; font-weight: 700; color: var(--text-dim); background: none; border: 0; cursor: pointer; transition: 0.18s; }
.betslip-clear:hover { color: #f87171; }
.betslip-sheet-close { display: none; font-size: 1.4rem; color: var(--text-dim); background: none; border: 0; cursor: pointer; }
.betslip-body { overflow-y: auto; flex: 1; }
.betslip-empty { text-align: center; padding: 34px 20px; color: var(--text-dim); }
.betslip-empty i { font-size: 2rem; opacity: 0.6; display: block; margin-bottom: 10px; }
.betslip-empty p { font-size: 0.83rem; line-height: 1.5; }
.betslip-items { display: flex; flex-direction: column; }
.betslip-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border-color); animation: adminFadeInUp 0.25s ease; }
.betslip-item-main { flex: 1; min-width: 0; }
.betslip-item-match { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; }
.betslip-item-pick { font-size: 0.82rem; font-weight: 700; }
.betslip-item-odd { color: var(--accent-green); font-weight: 800; margin-left: 4px; }
.betslip-item-remove { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-dim); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; transition: 0.18s; }
.betslip-item-remove:hover { color: #f87171; border-color: rgba(239,68,68,0.4); }
.betslip-foot { padding: 14px 16px; border-top: 1px solid var(--border-color); background: rgba(0,0,0,0.15); }
.betslip-stake-row { margin-bottom: 10px; }
.betslip-stake-row label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px; }
.betslip-stake-input { display: flex; align-items: center; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 10px; padding: 0 12px; transition: 0.18s; }
.betslip-stake-input:focus-within { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.betslip-stake-input .cur { color: var(--text-dim); font-weight: 800; }
.betslip-stake-input input { flex: 1; background: none; border: 0; outline: none; color: #fff; font-size: 1.05rem; font-weight: 800; padding: 11px 8px; width: 100%; }
.betslip-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.betslip-quick button { padding: 8px 0; border-radius: 8px; background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-muted); font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: 0.15s; }
.betslip-quick button:hover { color: #fff; border-color: var(--accent-blue); background: rgba(37,99,235,0.12); }
.betslip-summary { margin-bottom: 14px; }
.betslip-sum-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 0.85rem; color: var(--text-muted); }
.betslip-sum-row strong { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.betslip-sum-row.big { font-size: 0.95rem; padding-top: 10px; border-top: 1px dashed var(--border-color); margin-top: 4px; }
.betslip-sum-row.big strong { color: var(--accent-green); font-size: 1.15rem; }
.betslip-place { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--accent-green), #16a34a); color: #fff; font-weight: 800; font-size: 0.95rem; transition: 0.18s; box-shadow: 0 10px 24px rgba(34,197,94,0.3); }
.betslip-place:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Mobile bet-slip FAB + backdrop */
.betslip-fab { display: none; position: fixed; z-index: 155; left: 14px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--accent-green), #16a34a); color: #fff; font-weight: 800; font-size: 0.9rem; box-shadow: 0 12px 26px rgba(34,197,94,0.45); }
.betslip-fab i { font-size: 1.25rem; }
.betslip-fab-count { background: rgba(0,0,0,0.28); min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.betslip-backdrop { display: none; position: fixed; inset: 0; z-index: 175; background: rgba(0,0,0,0.82); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s ease; }
.betslip-backdrop.show { display: block; opacity: 1; }

.bet-toast .welcome-toast-icon { background: linear-gradient(135deg, var(--accent-green), #16a34a) !important; }

/* Sports responsive: collapse the slip into a bottom sheet */
@media (max-width: 980px) {
    .sport-layout { grid-template-columns: 1fr; }
    /* Opaque background (the --bg-card variable is 95% transparent — fine as a card, but a sheet
       must fully hide the page behind it). Internal body scrolls; the sheet itself doesn't move. */
    .betslip { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 180; max-height: 85vh; background: #12131c; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 -12px 40px rgba(0,0,0,0.7); }
    .betslip.sheet-open { transform: translateY(0); }
    .betslip-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .betslip-sheet-close { display: block; }
    .betslip-fab { display: inline-flex; }
    .betslip-head { padding: 16px; }
}

@media (max-width: 560px) {
    .match-card { flex-direction: column; align-items: stretch; gap: 12px; }
    /* Odds stretch to fill the card width on phones for big, thumb-friendly targets */
    .match-odds { display: flex; }
    .odd-cell { flex: 1; width: auto; }
    .match-teams.pre { justify-content: space-between; }
    .betslip-fab { font-size: 0.85rem; padding: 11px 16px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   BONUSLARIM (account.php → "Bonuslarım" tab) — offer cards
   ══════════════════════════════════════════════════════════════════════════ */
.bonus-subtabs { display: inline-flex; gap: 4px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 999px; padding: 4px; margin: 4px 0 22px; }
.bonus-subtab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; background: none; border: 0; color: var(--text-muted); font-weight: 700; font-size: 0.86rem; cursor: pointer; transition: 0.18s; }
.bonus-subtab:hover { color: #fff; }
.bonus-subtab.active { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.35); }
.bonus-count { background: rgba(0,0,0,0.25); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; }
.bonus-subtab.active .bonus-count { background: rgba(255,255,255,0.25); }

.bonus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bonus-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; animation: adminFadeInUp 0.4s ease both; }
.bonus-card:hover { transform: translateY(-4px); border-color: var(--border-color-hover); box-shadow: 0 16px 36px rgba(0,0,0,0.4); }
.bonus-banner { position: relative; height: 118px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bonus-banner.bg-blue   { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.bonus-banner.bg-red    { background: linear-gradient(135deg, #ef4444, #f97316); }
.bonus-banner.bg-green  { background: linear-gradient(135deg, #16a34a, #22c55e); }
.bonus-banner.bg-purple { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.bonus-banner.bg-gold   { background: linear-gradient(135deg, #ca8a04, #f59e0b); }
.bonus-banner.bg-teal   { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.bonus-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35)); pointer-events: none; }
.bonus-badge { position: absolute; top: 12px; left: 14px; z-index: 2; background: rgba(0,0,0,0.35); backdrop-filter: blur(4px); color: #fff; font-size: 0.64rem; font-weight: 800; letter-spacing: 1px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); }
.bonus-watermark { position: absolute; top: -14px; right: -8px; font-size: 6.5rem; color: rgba(255,255,255,0.16); transform: rotate(-12deg); z-index: 1; }
.bonus-hero { position: relative; z-index: 2; font-family: 'Outfit', sans-serif; font-size: 2.1rem; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 3px 12px rgba(0,0,0,0.4); }
.bonus-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.bonus-name { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.bonus-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; flex: 1; }
.bonus-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; margin-bottom: 14px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.bonus-meta-item { text-align: center; min-width: 0; }
.bonus-meta-item span { display: block; font-size: 0.64rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 3px; }
.bonus-meta-item strong { font-size: 0.86rem; font-weight: 800; word-break: break-word; }
.bonus-claim { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 11px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); color: #fff; font-weight: 800; font-size: 0.9rem; transition: 0.18s; }
.bonus-claim:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,0.35); }

@media (max-width: 560px) {
    .bonus-grid { grid-template-columns: 1fr; }
    .bonus-subtabs { display: flex; width: 100%; }
    .bonus-subtab { flex: 1; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ÖDEME HESAPLARI + SORUMLU OYUN (account.php tabs)
   ══════════════════════════════════════════════════════════════════════════ */
.account-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-head-btn { width: auto !important; padding: 10px 18px !important; display: inline-flex; align-items: center; gap: 7px; }
.req { color: #ef4444; }

/* Empty state (no saved accounts) */
.account-empty { text-align: center; padding: 40px 20px; color: var(--text-dim); }
.account-empty i { font-size: 3rem; opacity: 0.5; display: block; margin-bottom: 12px; }
.account-empty p { font-size: 0.9rem; line-height: 1.5; max-width: 260px; margin: 0 auto 18px; }
.account-empty .btn-modal-submit { width: auto; padding: 11px 22px; display: inline-flex; align-items: center; gap: 7px; }

/* Saved payment-account cards */
.pay-acc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 16px; }
.pay-acc-card { display: flex; align-items: center; gap: 13px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px; transition: 0.18s; animation: adminFadeInUp 0.25s ease both; }
.pay-acc-card:hover { border-color: var(--border-color-hover); }
.pay-acc-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); }
.pay-acc-info { flex: 1; min-width: 0; }
.pay-acc-label { font-weight: 800; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-acc-no { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; letter-spacing: 0.5px; }
.pay-acc-holder { color: var(--text-dim); font-size: 0.76rem; margin-top: 2px; }
.pay-acc-del { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-dim); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: 0.18s; }
.pay-acc-del:hover { color: #f87171; border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.08); }

/* Responsible-gaming */
.rg-subtabs { display: inline-flex; gap: 4px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 999px; padding: 4px; margin: 6px 0 20px; }
.rg-subtab { padding: 9px 18px; border-radius: 999px; background: none; border: 0; color: var(--text-muted); font-weight: 700; font-size: 0.86rem; cursor: pointer; transition: 0.18s; }
.rg-subtab:hover { color: #fff; }
.rg-subtab.active { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.35); }
.rg-panel { max-width: 480px; }
.rg-current { display: flex; align-items: center; gap: 12px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.28); border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: 18px; }
.rg-current i { font-size: 1.5rem; color: #22c55e; flex-shrink: 0; }
.rg-current > div { flex: 1; min-width: 0; }
.rg-current span { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.4px; }
.rg-current strong { font-size: 1rem; font-weight: 800; }
.rg-remove { background: none; border: 1px solid rgba(239,68,68,0.4); color: #f87171; font-size: 0.76rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; transition: 0.18s; flex-shrink: 0; }
.rg-remove:hover { background: rgba(239,68,68,0.12); }

.welcome-toast.toast-err .welcome-toast-icon { background: linear-gradient(135deg, #ef4444, #b91c1c) !important; }

@media (max-width: 560px) {
    .pay-acc-list { grid-template-columns: 1fr; }
    .account-head-row { align-items: stretch; }
    .rg-subtabs { display: flex; }
    .rg-subtab { flex: 1; text-align: center; }
}
