/* ============================================
   PREMIUM CASINO - MAIN STYLESHEET
   Luxury Dark Theme with Gold Accents
   ============================================ */

:root {
    /* Primary Colors - Premium Dark Theme */
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-tertiary: #1a1a2e;
    --bg-card: #151520;
    --bg-card-hover: #1e1e30;
    
    /* Accent Colors - Luxury Gold */
    --gold-primary: #ffd700;
    --gold-secondary: #daa520;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #daa520 100%);
    --gold-glow: 0 0 30px rgba(255, 215, 0, 0.4);
    
    /* Status Colors */
    --success: #00c853;
    --danger: #ff1744;
    --warning: #ffab00;
    --info: #00b0ff;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Border & Shadows */
    --border-color: rgba(255, 215, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.2);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 215, 0, 0.1);
    --glass-blur: blur(20px);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Premium Casino Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.02) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a12 0%, #0d0d18 50%, #0a0a12 100%);
    pointer-events: none;
    z-index: -2;
}

/* Subtle pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.section-title .icon {
    font-size: 1.75rem;
}

.view-all {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gold-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.view-all:hover {
    color: var(--gold-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-primary);
}

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.5); }
}

.btn-deposit {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-full);
    background: var(--gold-gradient);
    color: #000;
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-ring:nth-child(2) {
    position: absolute;
    width: 45px;
    height: 45px;
    border-top-color: var(--gold-secondary);
    animation-direction: reverse;
    animation-duration: 0.8s;
}

.loader-text {
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
    background: linear-gradient(180deg, #12121f 0%, #0a0a12 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    overflow: visible;
}

.header.scrolled {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-top {
    background: var(--bg-secondary);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    margin-right: var(--spacing-lg);
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee span {
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.lang-btn img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.time-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.header-main {
    padding: var(--spacing-md) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.logo img {
    height: 45px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.1);
}

.nav-link i {
    font-size: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.user-balance {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--glass-bg);
    padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
}

.balance-info {
    display: flex;
    flex-direction: column;
}

.balance-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs);
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
    padding-right: var(--spacing-sm);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: var(--z-dropdown);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.user-dropdown a:hover {
    background: var(--glass-bg);
    color: var(--gold-primary);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: var(--spacing-xs) 0;
}

.user-dropdown .logout {
    color: var(--danger);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ============================================
   HERO SLIDER
   ============================================ */

.hero-slider {
    position: relative;
    height: 500px;
    margin-top: 100px;
    overflow: hidden;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 18, 0.95) 0%, rgba(10, 10, 18, 0.7) 50%, rgba(10, 10, 18, 0.3) 100%);
}

.slide-overlay.overlay-warm {
    background: linear-gradient(90deg, rgba(30, 15, 10, 0.95) 0%, rgba(20, 10, 5, 0.7) 50%, rgba(10, 5, 0, 0.4) 100%);
}

.slide-overlay.overlay-gold {
    background: linear-gradient(90deg, rgba(10, 10, 18, 0.9) 0%, rgba(30, 20, 0, 0.6) 50%, rgba(50, 30, 0, 0.3) 100%);
}

/* Animated Slide Backgrounds */
.slide-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-bg-welcome {
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.slide-bg-cashback {
    background: linear-gradient(135deg, #0a0a12 0%, #0d1f0d 30%, #1a2e1a 60%, #0a0a12 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.slide-bg-payments {
    background: linear-gradient(135deg, #0a0a12 0%, #0d1a2e 30%, #1a3a5e 60%, #0a0a12 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.slide-bg-live {
    background: linear-gradient(135deg, #1a0a0a 0%, #2e1a1a 30%, #3e1616 60%, #1a0a0a 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.slide-bg-jackpot {
    background: linear-gradient(135deg, #0a0a12 0%, #2e2a0a 30%, #3e3010 60%, #0a0a12 100%);
    background-size: 400% 400%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Elements Container */
.slide-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Floating Coins */
.floating-coin {
    position: absolute;
    font-size: 40px;
    opacity: 0.6;
    animation: floatCoin 6s ease-in-out infinite;
}

.coin-1 { top: 20%; right: 15%; animation-delay: 0s; }
.coin-2 { top: 40%; right: 25%; animation-delay: 1s; font-size: 30px; }
.coin-3 { top: 60%; right: 10%; animation-delay: 2s; font-size: 50px; }
.coin-4 { top: 30%; right: 35%; animation-delay: 0.5s; font-size: 25px; }
.coin-5 { top: 70%; right: 30%; animation-delay: 1.5s; font-size: 35px; }

.floating-chip {
    position: absolute;
    font-size: 35px;
    opacity: 0.5;
    animation: floatChip 8s ease-in-out infinite;
}

.chip-1 { top: 25%; right: 40%; animation-delay: 0.5s; }
.chip-2 { top: 55%; right: 20%; animation-delay: 1.5s; font-size: 45px; }
.chip-3 { top: 75%; right: 35%; animation-delay: 2.5s; }

@keyframes floatCoin {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-15px) rotate(-5deg) scale(1.1); }
}

/* Rain Coins Animation */
.rain-coin {
    animation: rainDown 4s linear infinite;
}

.rain-coin.coin-1 { right: 10%; animation-delay: 0s; }
.rain-coin.coin-2 { right: 20%; animation-delay: 0.8s; }
.rain-coin.coin-3 { right: 30%; animation-delay: 1.6s; }
.rain-coin.coin-4 { right: 40%; animation-delay: 2.4s; }
.rain-coin.coin-5 { right: 50%; animation-delay: 3.2s; }

@keyframes rainDown {
    0% { top: -10%; opacity: 0; transform: translateY(0) rotate(0deg); }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 110%; opacity: 0; transform: translateY(0) rotate(360deg); }
}

/* Payment Icons */
.payment-icon {
    position: absolute;
    font-size: 60px;
    color: rgba(255, 215, 0, 0.3);
    animation: pulseIcon 3s ease-in-out infinite;
}

.pi-1 { top: 30%; right: 15%; animation-delay: 0s; }
.pi-2 { top: 50%; right: 30%; animation-delay: 1s; font-size: 50px; }
.pi-3 { top: 70%; right: 20%; animation-delay: 2s; font-size: 40px; }

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    font-size: 50px;
    opacity: 0.5;
    animation: floatCard 5s ease-in-out infinite;
}

.card-1 { top: 20%; right: 20%; animation-delay: 0s; }
.card-2 { top: 45%; right: 12%; animation-delay: 1s; font-size: 40px; }
.card-3 { top: 65%; right: 25%; animation-delay: 2s; font-size: 60px; }

.roulette-wheel {
    position: absolute;
    top: 30%;
    right: 35%;
    font-size: 80px;
    opacity: 0.4;
    animation: spinWheel 10s linear infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-25px) rotateY(15deg); }
}

@keyframes spinWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Jackpot Explosion */
.jackpot-explosion .exploding-coin {
    position: absolute;
    font-size: 40px;
    animation: explode 3s ease-out infinite;
}

.ec-1 { top: 50%; right: 25%; animation-delay: 0s; }
.ec-2 { top: 50%; right: 25%; animation-delay: 0.2s; }
.ec-3 { top: 50%; right: 25%; animation-delay: 0.4s; }
.ec-4 { top: 50%; right: 25%; animation-delay: 0.6s; }
.ec-5 { top: 50%; right: 25%; animation-delay: 0.8s; }
.ec-6 { top: 50%; right: 25%; animation-delay: 1s; }

.slot-777 {
    position: absolute;
    top: 25%;
    right: 15%;
    font-size: 100px;
    opacity: 0.7;
    animation: slotPulse 2s ease-in-out infinite;
}

@keyframes explode {
    0% { transform: translate(0, 0) scale(0); opacity: 0; }
    20% { opacity: 1; transform: scale(1); }
    100% { 
        transform: translate(
            calc((var(--x, 1) - 0.5) * 200px), 
            calc((var(--y, 1) - 0.5) * 200px)
        ) scale(0.5); 
        opacity: 0; 
    }
}

.ec-1 { --x: 0.2; --y: 0.1; }
.ec-2 { --x: 0.8; --y: 0.2; }
.ec-3 { --x: 0.1; --y: 0.7; }
.ec-4 { --x: 0.9; --y: 0.8; }
.ec-5 { --x: 0.3; --y: 0.9; }
.ec-6 { --x: 0.7; --y: 0.3; }

@keyframes slotPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
}

/* Gold Glow Text */
.gold-glow {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
}

.jackpot-text {
    animation: jackpotGlow 1.5s ease-in-out infinite alternate;
}

@keyframes jackpotGlow {
    from { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3); }
    to { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.3); }
}

/* Badge Variants */
.slide-badge.badge-green {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.slide-badge.badge-blue {
    background: linear-gradient(135deg, #007bff, #00d4ff);
}

.slide-badge.badge-red {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
}

.slide-badge.badge-jackpot {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
}

.slide-badge.animate-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Button Variants */
.btn-gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    font-weight: 700;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffed4a, #ffa500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.pulse-btn {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-text {
    max-width: 600px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gold-gradient);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.slide-title span {
    color: var(--gold-primary);
}

.slide-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.slide-actions {
    display: flex;
    gap: var(--spacing-md);
}

.slider-nav {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot.active {
    background: var(--gold-primary);
    transform: scale(1.2);
}

/* ============================================
   JACKPOT TICKER
   ============================================ */

.jackpot-ticker {
    background: linear-gradient(90deg, var(--bg-secondary), var(--bg-tertiary), var(--bg-secondary));
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ticker-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.ticker-icon {
    font-size: 2rem;
}

.ticker-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

/* ============================================
   GAME CARDS
   ============================================ */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--gold-primary);
}

.game-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.game-card:hover .play-btn {
    transform: scale(1);
}

.game-card-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-card-badge.hot {
    background: var(--danger);
    color: white;
}

.game-card-badge.new {
    background: var(--success);
    color: white;
}

.game-card-badge.jackpot {
    background: var(--gold-gradient);
    color: #fff;
}

.game-card-info {
    padding: var(--spacing-sm) var(--spacing-md);
}

.game-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: var(--spacing-xs);
}

.game-card-provider {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   CATEGORY TABS
   ============================================ */

.category-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-normal);
}

.category-tab:hover,
.category-tab.active {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
}

.category-tab i {
    font-size: 1.1rem;
}

/* ============================================
   PROMOTIONS
   ============================================ */

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15);
    border-color: var(--gold-primary);
}

.promo-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--gold-gradient);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.promo-content {
    padding: var(--spacing-lg);
}

.promo-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.promo-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.promo-terms {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   LIVE CASINO
   ============================================ */

.live-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.live-game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.live-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--danger);
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--danger);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.live-players {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    z-index: 2;
}

/* ============================================
   WINNERS SECTION
   ============================================ */

.winners-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.winner-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.winner-item:hover {
    background: var(--bg-card-hover);
}

.winner-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    flex: 1;
}

.winner-name {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.winner-game {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.winner-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

/* ============================================
   RACE WIN LEADERBOARD
   ============================================ */

.race-win-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #0d0d18 0%, #12121f 100%);
    border-top: 1px solid rgba(255,215,0,0.1);
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.race-win-header {
    text-align: center;
    margin-bottom: 30px;
}

.race-win-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.race-win-title .race-icon {
    font-size: 2.5rem;
}

.race-win-title h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.race-prizes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.prize-card {
    background: linear-gradient(135deg, #1a1a2e, #252540);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    min-width: 160px;
}

.prize-card.featured {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
    transform: scale(1.05);
}

.prize-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.prize-game {
    width: 100px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a12;
}

.prize-game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prize-amount {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.prize-amount span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    margin-top: 5px;
}

.race-info {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.race-boards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.race-board {
    background: linear-gradient(135deg, #1a1a2e, #1e1e35);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 12px;
    overflow: hidden;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.board-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.board-title span:first-child {
    font-weight: 600;
    color: #fff;
}

.board-timer {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.board-provider {
    background: linear-gradient(135deg, #ff4500, #ff6b35);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
}

.board-providers {
    display: flex;
    gap: 8px;
}

.board-providers span {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.board-columns {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.board-entries {
    padding: 10px;
}

.board-entry {
    display: grid;
    grid-template-columns: 30px 1fr 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: 5px;
    background: rgba(255,255,255,0.02);
}

.board-entry:hover {
    background: rgba(255,215,0,0.05);
}

.entry-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.entry-rank.gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
}

.entry-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #000;
}

.entry-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.entry-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
}

.entry-user img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.entry-amount {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.entry-prize {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    background: rgba(76,175,80,0.15);
    padding: 4px 10px;
    border-radius: 4px;
}

.entry-prize strong {
    color: #4caf50;
    font-weight: 700;
}

.race-history {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.race-history > span {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.history-tabs {
    display: flex;
    gap: 10px;
}

.history-tab {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    cursor: pointer;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.history-tab:hover,
.history-tab.active {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.3);
    color: #ffd700;
}

.race-bonus-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bonus-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e, #252540);
    border: 1px solid rgba(255,215,0,0.15);
}

.bonus-provider {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-provider img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bonus-provider .provider-text {
    font-size: 20px;
    font-weight: 800;
    color: #ffd700;
}

.bonus-info {
    flex: 1;
}

.bonus-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 5px;
}

.bonus-amount {
    font-size: 22px;
    font-weight: 700;
    color: #ffd700;
}

.bonus-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,0.1);
    padding: 10px 15px;
    border-radius: 8px;
}

.bonus-timer .bonus-icon {
    font-size: 20px;
}

.bonus-timer span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

@media (max-width: 768px) {
    .race-boards {
        grid-template-columns: 1fr;
    }
    
    .race-bonus-cards {
        grid-template-columns: 1fr;
    }
    
    .race-prizes {
        flex-direction: column;
        align-items: center;
    }
    
    .prize-card.featured {
        transform: none;
    }
    
    .board-entry {
        grid-template-columns: 25px 1fr auto;
    }
    
    .entry-amount {
        display: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-secondary);
    margin-bottom: 70px;
}

.footer-top {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
}

.providers-showcase h3 {
    text-align: center;
    font-size: 1.2rem;
    color: #ffd700;
    margin-bottom: var(--spacing-xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.providers-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.provider-logo {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,100,50,0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.provider-logo::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center bottom, 
        rgba(255, 100, 0, 0.3) 0%, 
        rgba(255, 50, 0, 0.2) 20%, 
        rgba(255, 150, 0, 0.1) 40%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.provider-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #ff4500, 
        #ff8c00, 
        #ffd700, 
        #ff8c00, 
        #ff4500, 
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.provider-logo:hover {
    transform: translateY(-5px);
    border-color: rgba(255,100,0,0.5);
    box-shadow: 
        0 5px 20px rgba(255,100,0,0.3),
        0 10px 40px rgba(255,50,0,0.2),
        0 0 60px rgba(255,150,0,0.1);
}

.provider-logo:hover::before {
    opacity: 1;
    animation: fireFlicker 1.5s ease-in-out infinite;
}

.provider-logo:hover::after {
    opacity: 1;
    animation: fireGlow 1s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { opacity: 0.8; transform: translateY(0); }
    25% { opacity: 1; transform: translateY(-2px); }
    50% { opacity: 0.6; transform: translateY(2px); }
    75% { opacity: 0.9; transform: translateY(-1px); }
}

@keyframes fireGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.provider-logo img {
    height: 35px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1.1);
    position: relative;
    z-index: 1;
}

.provider-logo:hover img {
    filter: brightness(1.4) drop-shadow(0 0 8px rgba(255,150,0,0.5));
    transform: scale(1.08);
}

.provider-logo.provider-text {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1;
}

.provider-logo:hover.provider-text {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255,150,0,0.5);
}

.footer-main {
    padding: var(--spacing-2xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-brand {
    padding-right: var(--spacing-xl);
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--spacing-md);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--gold-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--gold-primary);
    padding-left: var(--spacing-xs);
}

.footer-payments {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.payment-methods span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.payment-icons img {
    height: 25px;
    opacity: 0.7;
    transition: var(--transition-normal);
}

.payment-icons img:hover {
    opacity: 1;
}

.payment-icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.payment-icon-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.payment-icon-item i {
    font-size: 18px;
}

.payment-icon-item span {
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
}

.payment-icon-item.gcash {
    border-color: rgba(0, 123, 255, 0.3);
}
.payment-icon-item.gcash i {
    color: #007bff;
}

.payment-icon-item.maya {
    border-color: rgba(0, 200, 83, 0.3);
}
.payment-icon-item.maya i {
    color: #00c853;
}

.payment-icon-item.grabpay {
    border-color: rgba(0, 176, 80, 0.3);
}
.payment-icon-item.grabpay i {
    color: #00b050;
}

.payment-icon-item.bank {
    border-color: rgba(255, 193, 7, 0.3);
}
.payment-icon-item.bank i {
    color: #ffc107;
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-badges {
    display: flex;
    gap: var(--spacing-md);
}

.footer-badges img {
    height: 35px;
    opacity: 0.7;
}

/* ============================================
   FLOATING ACTIONS
   ============================================ */

.floating-actions {
    position: fixed;
    right: var(--spacing-lg);
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: var(--z-fixed);
}

.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.float-btn i {
    font-size: 1.25rem;
}

.deposit-btn {
    background: var(--gold-gradient);
    color: #fff;
}

.deposit-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--gold-glow);
}

.support-btn {
    background: var(--info);
    color: white;
}

.support-btn:hover {
    transform: scale(1.1);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    z-index: var(--z-fixed);
    padding: var(--spacing-sm) 0;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: var(--spacing-xs);
    transition: var(--transition-fast);
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--gold-primary);
}

.mobile-nav-item.deposit {
    position: relative;
    top: -15px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #fff;
    justify-content: center;
    box-shadow: var(--gold-glow);
}

.mobile-nav-item.deposit i {
    font-size: 1.5rem;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-md);
    margin-top: 100px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.social-auth {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.social-auth-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.social-auth-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--gold-primary);
    font-weight: 500;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slideUp {
    animation: slideUp 0.5s ease forwards;
}

.animate-slideDown {
    animation: slideDown 0.5s ease forwards;
}

/* Stagger animations */
.stagger > * {
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   NEW HEADER STYLES
   ============================================ */

.header-main {
    background: linear-gradient(180deg, #12121f 0%, #0a0a12 100%);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    overflow: visible;
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 40px;
}

.header-auth-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    position: relative;
    overflow: visible;
}

.auth-input-group {
    display: flex;
    gap: 10px;
}

.auth-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.85rem;
    width: 140px;
}

.auth-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.auth-input.error {
    border-color: #ff4444;
}

.header-login-error {
    position: fixed;
    top: 12px;
    right: 180px;
    width: max-content;
    max-width: 320px;
    background: #dc3545;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: none;
    z-index: 999999999;
    box-shadow: 0 4px 20px rgba(220,53,69,0.5);
}

.header-login-error.show {
    display: block !important;
    animation: fadeInError 0.3s ease;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Login form shake animation */
.header-login-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.3s ease;
}

.header-login-form.shake {
    animation: shakeLogin 0.4s ease;
}

.header-login-form.shake .auth-input-group,
.header-login-form.error-glow {
    box-shadow: 0 0 20px rgba(255,68,68,0.4);
    border-radius: 8px;
}

@keyframes shakeLogin {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}

/* Auth input group styling for shake effect */
.auth-input-group {
    display: flex;
    gap: 10px;
    padding: 4px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.auth-input-group.error-glow {
    box-shadow: 0 0 15px rgba(255,68,68,0.5);
}

/* Free Bonus Badge on Sign Up */
.btn-signup-bonus {
    position: relative;
    overflow: visible !important;
}

.free-bonus-badge {
    position: absolute;
    top: -12px;
    right: -5px;
    background: linear-gradient(135deg, #ff4500, #ff6b35);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255,69,0,0.4);
    animation: bonusPulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes bonusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.header-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.user-profile-btn:hover {
    background: rgba(255,215,0,0.1);
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.free-spins-display {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,140,0,0.3));
    border: 1px solid rgba(255,215,0,0.4);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse-glow 2s infinite;
}

.free-spins-display:hover {
    background: linear-gradient(135deg, rgba(255,215,0,0.3), rgba(255,140,0,0.4));
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,215,0,0.4);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 15px rgba(255,215,0,0.5); }
}

.free-spins-display i {
    animation: spin-star 3s linear infinite;
}

@keyframes spin-star {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.balance-display i.fa-coins {
    color: var(--gold-primary);
}

.refresh-balance {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.refresh-balance:hover {
    opacity: 1;
    transform: rotate(180deg);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,215,0,0.3);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.header-lang .lang-btn {
    background: transparent;
    border: 1px solid rgba(255,215,0,0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Game Navigation */
.game-nav {
    background: #0a0a12;
    border-top: 1px solid rgba(255,215,0,0.1);
    padding: 0;
    position: relative;
    z-index: 9999;
    overflow: visible;
}

.game-nav-scroll {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: visible;
    padding: 10px 0;
    scrollbar-width: none;
}

.game-nav-scroll::-webkit-scrollbar {
    display: none;
}

.game-nav-item {
    position: relative;
}

.game-nav-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 8px;
    position: relative;
}

.game-nav-item a i {
    font-size: 1rem;
    transition: all 0.3s;
}

.game-nav-item:hover a,
.game-nav-item.active a {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.game-nav-item:hover a i,
.game-nav-item.active a i {
    color: #ffd700;
}

.game-nav-item.has-dropdown:hover > a {
    background: rgba(255,255,255,0.15);
}

.game-nav-item.app-download a {
    background: var(--gold-gradient);
    color: #fff;
    border-radius: 6px;
}

/* Dropdown Menu */
.game-nav-item.has-dropdown {
    position: relative;
}

.game-nav-item.has-dropdown > a::after {
    content: '▼';
    font-size: 8px;
    margin-left: 4px;
    opacity: 0.6;
}

.nav-dropdown {
    position: fixed;
    top: 155px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: linear-gradient(165deg, rgba(12, 12, 28, 0.98) 0%, rgba(18, 18, 40, 0.98) 40%, rgba(10, 10, 22, 0.99) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 20px;
    padding: 28px 24px 24px;
    width: 92vw;
    max-width: 1100px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,215,0,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1) 0.1s, visibility 0.25s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 0.25s cubic-bezier(0.4,0,0.2,1) 0.1s;
    z-index: 999999 !important;
    pointer-events: none;
}

/* Invisible bridge to connect nav item to dropdown */
.game-nav-item.has-dropdown::after {
    content: '';
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    height: 120px;
    background: transparent;
    pointer-events: none;
    z-index: 999998;
}

.game-nav-item.has-dropdown:hover::after {
    pointer-events: auto;
}

/* Subtle bottom glow */
.nav-dropdown::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    border-radius: 0 0 20px 20px;
    pointer-events: none;
}

.game-nav-item.has-dropdown:hover .nav-dropdown,
.game-nav-item.has-dropdown.dropdown-active .nav-dropdown,
.nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

/* Top accent line */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), rgba(255,140,0,0.5), transparent);
    border-radius: 2px;
    z-index: 2;
}

.dropdown-providers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 8px 4px;
}

.dropdown-provider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 18px 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(170deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 100%);
    position: relative;
    min-height: 140px;
    overflow: visible;
    margin-top: 12px;
}

.dropdown-provider-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,215,0,0.12) 0%, rgba(255,140,0,0.08) 50%, rgba(255,215,0,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dropdown-provider-item:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255,215,0,0.35);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 20px rgba(255,215,0,0.08);
}

.dropdown-provider-item:hover::before {
    opacity: 1;
}

.dropdown-provider-item.active {
    border-color: rgba(255,215,0,0.5);
    background: linear-gradient(170deg, rgba(255,215,0,0.12) 0%, rgba(255,215,0,0.04) 100%);
    box-shadow: 0 0 20px rgba(255,215,0,0.1);
}

/* Provider Logo Container */
.dropdown-provider-item .provider-logo-box {
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.dropdown-provider-item:hover .provider-logo-box {
    transform: scale(1.08);
}

.dropdown-provider-item img {
    max-width: 85%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    transition: filter 0.3s ease;
    filter: brightness(0.95);
}

.dropdown-provider-item:hover img {
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(255,215,0,0.2));
}

.provider-name-display {
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.dropdown-provider-item:hover .provider-name-display {
    color: #ffd700;
}

/* Play Now Button */
.dropdown-provider-item .btn-play-provider {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,140,0,0.1));
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(255,215,0,0.15);
    margin-top: auto;
}

.dropdown-provider-item:hover .btn-play-provider {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255,215,0,0.35);
    transform: scale(1.05);
}

.no-providers {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255,255,255,0.4);
    padding: 40px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Scrollbar styling for dropdown */
.nav-dropdown::-webkit-scrollbar {
    width: 4px;
}
.nav-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.nav-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255,215,0,0.2);
    border-radius: 4px;
}
.nav-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255,215,0,0.4);
}

/* Provider Badge (Crown or Fire) */
.provider-badge {
    position: absolute;
    top: -10px;
    right: 8px;
    width: auto;
    height: auto;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-badge .crown-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(255,215,0,0.5));
    animation: crownFloat 2.5s ease-in-out infinite;
}

.provider-badge .fire-icon {
    font-size: 20px;
    animation: firePulse 1s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(255,100,0,0.6));
}

.provider-badge .hot-label {
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
    animation: hotPulse 2s ease-in-out infinite;
    box-shadow: 0 3px 12px rgba(255,65,108,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes hotPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(255,65,108,0.4);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 4px 18px rgba(255,65,108,0.7);
    }
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-3px) rotate(3deg); }
}

@keyframes firePulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 2px 6px rgba(255,100,0,0.6));
    }
    50% { 
        transform: scale(1.12); 
        filter: drop-shadow(0 4px 14px rgba(255,50,0,0.8));
    }
}

/* Hot badge glow effect */
.hot-badge {
    animation: hotGlow 2s ease-in-out infinite;
}

@keyframes hotGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(255,65,108,0.4)); }
    50% { filter: drop-shadow(0 0 16px rgba(255,65,108,0.8)); }
}

/* Different animation delays for variety */
.dropdown-provider-item:nth-child(1) .provider-character { animation-delay: 0s; }
.dropdown-provider-item:nth-child(2) .provider-character { animation-delay: 0.2s; }
.dropdown-provider-item:nth-child(3) .provider-character { animation-delay: 0.4s; }
.dropdown-provider-item:nth-child(4) .provider-character { animation-delay: 0.6s; }
.dropdown-provider-item:nth-child(5) .provider-character { animation-delay: 0.8s; }
.dropdown-provider-item:nth-child(6) .provider-character { animation-delay: 0.3s; }
.dropdown-provider-item:nth-child(7) .provider-character { animation-delay: 0.5s; }
.dropdown-provider-item:nth-child(8) .provider-character { animation-delay: 0.7s; }

@keyframes characterBounce {
    0%, 100% { 
        transform: translateY(0) rotate(-5deg); 
    }
    50% { 
        transform: translateY(-8px) rotate(5deg); 
    }
}

/* Alternative float animation */
.provider-character.float {
    animation: characterFloat 3s ease-in-out infinite;
}

@keyframes characterFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-10px) scale(1.05); 
    }
}

/* Wiggle animation */
.provider-character.wiggle {
    animation: characterWiggle 1.5s ease-in-out infinite;
}

@keyframes characterWiggle {
    0%, 100% { transform: rotate(-3deg); }
    25% { transform: rotate(3deg) translateY(-3px); }
    50% { transform: rotate(-3deg) translateY(0); }
    75% { transform: rotate(3deg) translateY(-3px); }
}

/* Pulse glow effect on hover */
.dropdown-provider-item:hover .provider-character {
    animation: characterPulse 0.5s ease-in-out infinite;
}

@keyframes characterPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    }
    50% { 
        transform: scale(1.1); 
        filter: drop-shadow(0 5px 15px rgba(255,215,0,0.5));
    }
}

.dropdown-provider-item .provider-name-text,
.dropdown-provider-item .provider-code {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.dropdown-provider-item:hover .provider-name-text,
.dropdown-provider-item:hover .provider-code {
    color: #ffd700;
}

.dropdown-provider-item .btn-play-now {
    display: none;
}

.btn-play-now {
    background: linear-gradient(135deg, #ffd700, #daa520);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-play-now:hover {
    background: linear-gradient(135deg, #ffec8b, #ffd700);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    transform: scale(1.05);
}

.no-providers {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 20px;
}

/* ============================================
   GAMES PAGE STYLES
   ============================================ */

.games-page {
    padding-top: 0;
    min-height: 100vh;
    background: var(--bg-primary);
}

.games-section {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
}

/* Provider Bar */
.provider-bar {
    background: #1a1f2e;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.provider-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}

.provider-scroll::-webkit-scrollbar {
    display: none;
}

.provider-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    transition: all 0.3s;
    min-width: 80px;
}

.provider-item img {
    height: 30px;
    max-width: 80px;
    object-fit: contain;
}

.provider-item:hover,
.provider-item.active {
    background: rgba(255,255,255,0.15);
}

.provider-item.active {
    border: 1px solid var(--gold-primary);
}

.provider-scroll-btn {
    position: absolute;
    right: 0;
    background: linear-gradient(90deg, transparent, #1a1f2e 50%);
    border: none;
    color: #fff;
    padding: 10px 20px 10px 40px;
    cursor: pointer;
}

/* Category Filters */
.category-filters {
    background: #151a28;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    border-radius: 4px;
}

.filter-tab:hover,
.filter-tab.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.search-box {
    position: relative;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}

/* Games Section */
.games-section {
    padding: 30px 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.no-games {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-games i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Games Grid Large */
.games-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Game Card V2 */
.game-card-v2 {
    background: #1a1f2e;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.game-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.game-thumb {
    position: relative;
    aspect-ratio: 1;
    background: #252a3a;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2f3f, #1a1f2e);
}

.game-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s;
}

.game-card-v2:hover .game-overlay {
    opacity: 1;
}

.btn-play {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-play:hover {
    transform: scale(1.1);
}

.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-favorite:hover {
    background: #e74c3c;
}

.game-provider-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    padding: 5px 8px;
    border-radius: 4px;
}

.game-provider-badge img {
    height: 16px;
    width: auto;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.game-badge.hot {
    background: #e74c3c;
    color: #fff;
}

.game-badge.new {
    background: #27ae60;
    color: #fff;
}

.game-info {
    padding: 12px;
}

.game-info h4 {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .games-grid-large {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
}

/* ============================================
   PERSONAL CENTER MODAL
   ============================================ */

.personal-center-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
}

.personal-center-overlay.active {
    display: block;
}

.personal-center-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%;
    max-width: 1000px;
    max-height: 85vh;
    background: #1a1f2e;
    border-radius: 16px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.personal-center-modal.active {
    display: flex;
    transform: translate(-50%, -50%) scale(1);
}

/* PC Sidebar */
.pc-sidebar {
    width: 220px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1f3c 100%);
    flex-shrink: 0;
}

.pc-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pc-sidebar-header h3 {
    font-size: 1rem;
    color: #fff;
}

.pc-nav {
    padding: 10px 0;
}

.pc-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.pc-nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.pc-nav-item.active {
    background: rgba(255,215,0,0.1);
    color: var(--gold-primary);
    border-left-color: var(--gold-primary);
}

.pc-nav-item i {
    width: 20px;
    text-align: center;
}

/* PC Content */
.pc-content {
    flex: 1;
    background: #f5f5f5;
    position: relative;
    overflow-y: auto;
    max-height: 85vh;
}

.pc-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    color: #333;
}

.pc-panel {
    display: none;
    padding: 20px;
    color: #333;
}

.pc-panel.active {
    display: block;
}

/* My Account Panel */
.pc-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.pc-user-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.pc-user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.pc-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
}

.pc-user-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.pc-user-id {
    color: #666;
    font-size: 0.85rem;
}

.pc-balance-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.pc-currency {
    font-size: 0.8rem;
    opacity: 0.8;
}

.pc-balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.pc-balance-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.pc-balance-actions i {
    cursor: pointer;
    opacity: 0.8;
}

.pc-activity-list {
    text-align: left;
    margin-top: 15px;
}

.pc-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid #eee;
}

.pc-activity-item small {
    margin-left: auto;
    color: #999;
}

/* Security Card */
.pc-security-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.pc-security-header {
    margin-bottom: 15px;
}

.security-level {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.security-level.low {
    background: rgba(255,255,255,0.2);
}

.security-label {
    display: block;
    margin-top: 10px;
    opacity: 0.9;
    font-size: 0.85rem;
}

.pc-security-score {
    margin: 15px 0;
}

.score-value {
    font-size: 2rem;
    margin: 0 5px;
}

.security-message {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.pc-security-actions h5 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.security-action-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.security-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.security-btn i {
    font-size: 1.2rem;
}

/* Settings List */
.pc-settings-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.pc-setting-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.pc-setting-item:hover {
    background: #f9f9f9;
}

.pc-setting-item i {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.pc-setting-info h5 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.pc-setting-info p {
    font-size: 0.75rem;
    color: #999;
}

.pc-setting-item.logout i {
    background: #fee;
    color: #e74c3c;
}

/* Panel Headers */
.pc-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pc-panel-header h3 {
    font-size: 1.1rem;
}

/* Tabs */
.pc-panel-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.pc-tab {
    padding: 12px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    position: relative;
}

.pc-tab.active {
    color: #e74c3c;
}

.pc-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e74c3c;
}

.pc-tab-content {
    display: none;
}

.pc-tab-content.active {
    display: block;
}

/* Withdrawal Panel */
.withdrawal-info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.withdrawal-time {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.recent-withdrawal {
    flex: 1;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.recent-withdrawal h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.withdrawal-bank-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.bank-card-placeholder {
    text-align: center;
    color: #999;
}

.bank-card-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.withdrawal-form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.withdrawal-balances {
    margin-bottom: 20px;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.input-with-action {
    display: flex;
    gap: 10px;
}

.input-with-action .form-control {
    flex: 1;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.withdrawal-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
}

/* Betting Record */
.betting-tabs {
    display: flex;
    gap: 5px;
}

.betting-tab {
    padding: 8px 15px;
    background: #eee;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
}

.betting-tab.active {
    background: #e74c3c;
    color: #fff;
}

.betting-filters {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.date-filters {
    display: flex;
    gap: 5px;
    align-items: center;
}

.date-btn {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
}

.date-btn.active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.date-range {
    width: 200px;
    font-size: 0.8rem;
}

.vendor-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vendor-filter select {
    width: 100px;
}

.betting-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.betting-table table {
    width: 100%;
    border-collapse: collapse;
}

.betting-table th,
.betting-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.betting-table th {
    background: #f9f9f9;
    font-weight: 600;
}

.betting-table tfoot td {
    background: #f9f9f9;
    font-weight: 600;
}

.betting-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.decimal-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
}

.no-data i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Account Record */
.account-record-filters {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.account-record-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.account-record-table table {
    width: 100%;
    border-collapse: collapse;
}

.account-record-table th,
.account-record-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.account-record-table th {
    background: #f9f9f9;
    font-weight: 600;
}

/* Profit Loss */
.profit-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.profit-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.profit-card .label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.profit-card .value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Rewards & Messages */
.rewards-content,
.messages-content {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
}

/* Text Colors */
.text-success { color: #10b981 !important; }
.text-danger { color: #ef4444 !important; }
.text-warning { color: #f59e0b !important; }

/* Responsive */
@media (max-width: 768px) {
    .personal-center-modal {
        flex-direction: column;
        max-height: 90vh;
    }
    
    .pc-sidebar {
        width: 100%;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .pc-nav {
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }
    
    .pc-nav-item {
        flex-direction: column;
        padding: 10px 15px;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    
    .pc-nav-item.active {
        border-bottom-color: var(--gold-primary);
        border-left-color: transparent;
    }
    
    .pc-account-grid {
        grid-template-columns: 1fr;
    }
    
    .header-auth-inline {
        display: none;
    }
    
    .header-user-info {
        gap: 10px;
    }
    
    .balance-display span {
        display: none;
    }
}
