﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-primary: #f5c842;
    --gold-secondary: #c9a227;
    --gold-dark: #a68523;
    --gold-light: #ffd774;
    --accent-red: #e94560;
    --accent-red-light: #ff6b8a;
    --accent-purple: #8b5cf6;
    --accent-cyan: #22d3ee;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --border-glow: rgba(245, 200, 66, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(18, 18, 26, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    animation: fadeIn 0.5s ease-out;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Gold Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-primary) 0%, var(--gold-secondary) 50%, transparent 70%);
    animation: floatUp linear infinite;
    opacity: 0;
    filter: blur(0.5px);
    will-change: transform, opacity;
    /* GPU optimization */
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) rotate(720deg) scale(1);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Orbs - OPTIMIZED */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(40px);
    /* OPTIMIZED: Blur 80px → 40px */
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    /* Hint untuk GPU optimization */
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: rgba(201, 162, 39, 0.08);
    top: 10%;
    left: -5%;
}

/* REMOVED: orb-2 dan orb-3 untuk performa */

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* ========== ENHANCED HEADER ========== */
.top-action {
    display: flex;
    align-items: center;
    /* CRITICAL: Center semua items vertikal dengan baseline yang sama */
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 25px;
    padding: 0 20px;
    /* FIXED: Horizontal padding only */
    height: 80px;
    /* FIXED: Exact height for perfect flex alignment */
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.98) 0%, rgba(25, 25, 35, 0.95) 100%);
    border-radius: 20px;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, rgba(245, 200, 66, 0.3) 100%) 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 20px rgba(245, 200, 66, 0.05);
    position: relative;
    z-index: 100;
}

.top-action-logo {
    position: relative;
    margin-right: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    /* CRITICAL: Match button height exactly */
    width: auto;
    min-width: 120px;
}

.top-action-logo img {
    height: 55px;
    width: auto;
    max-width: 200px;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    transform: translateY(-6px);
    /* Naikin 6px ke atas */
    filter: drop-shadow(0 0 20px rgba(245, 200, 66, 0.6)) drop-shadow(0 0 40px rgba(245, 200, 66, 0.2));
    object-fit: contain;
    transition: filter 0.3s ease;
    line-height: 1;
}

.top-action-logo img:hover {
    filter: drop-shadow(0 0 30px rgba(245, 200, 66, 0.8)) drop-shadow(0 0 50px rgba(245, 200, 66, 0.3));
    /* Glow lebih kuat on hover */
}

.top-action-logo::after {
    display: none;
    /* Removed gold line under logo */
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* CRITICAL: Center items vertikal */
    gap: 8px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    height: 55px;
    /* CRITICAL: Match logo height exactly */
}

.top-action a.nav-link {
    color: #fff;
    padding: 8px 10px;
    /* FIXED: Adjust padding for better proportions */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.8));
    border: 1px solid rgba(80, 80, 100, 0.4);
    backdrop-filter: blur(5px);
    min-width: 75px;
    width: 75px;
    /* FIXED: Adjust width for balance */
    height: 55px;
    /* FIXED: Match logo height (55px) for perfect alignment */
    text-align: center;
    line-height: 1.1;
}

.top-action a.nav-link i {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.top-action a.nav-link:hover,
.top-action a.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(245, 200, 66, 0.1));
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(245, 200, 66, 0.3);
    transform: translateY(-2px);
}

.top-action a.nav-link.active {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.25), rgba(245, 200, 66, 0.15));
    border-color: var(--gold-primary);
}

/* Dropdown CSS */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(18, 18, 26, 0.98);
    /* OPTIMIZED: Hapus backdrop-filter blur(20px) */
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 15px;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: block;
}

.dropdown-item:hover {
    background: rgba(245, 200, 66, 0.15);
    color: var(--gold-primary);
    padding-left: 20px;
}

/* Hide mobile menu header on desktop */
.mobile-menu-header {
    display: none;
}

/* Badge CSS */
.nav-badge {
    position: absolute;
    top: -8px;
    right: -5px;
    background: linear-gradient(135deg, #e94560, #ff6b8a);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(233, 69, 96, 0.5);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {

    0%,
    100% {
        box-shadow: 0 2px 5px rgba(233, 69, 96, 0.5);
    }

    50% {
        box-shadow: 0 0 10px rgba(233, 69, 96, 0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ... (skipping some lines) ... */

/* Header Action Buttons Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    flex: 1;
    /* Match logo width */
    justify-content: flex-end;
    /* Push content to right */
}

.header-actions.mobile-actions {
    display: none;
}

/* Social Buttons */
.social-btns {
    display: flex;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-btn.whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #229ed9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.social-btn.telegram:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}

/* Auth Buttons */
.auth-btns {
    display: flex;
    gap: 10px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.auth-btn:hover::before {
    left: 100%;
}

.auth-btn.login {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(30, 30, 40, 0.8));
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.auth-btn.login:hover {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.15), rgba(245, 200, 66, 0.08));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 200, 66, 0.4);
}

.auth-btn.daftar {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
    border: none;
    color: #fff;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
    animation: daftarPulse 2s ease-in-out infinite;
}

@keyframes daftarPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
    }

    50% {
        box-shadow: 0 8px 30px rgba(233, 69, 96, 0.6);
    }
}

.auth-btn.daftar:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(233, 69, 96, 0.5);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: rgba(245, 200, 66, 0.1);
    border: 1px solid rgba(245, 200, 66, 0.3);
    color: var(--gold-primary);
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(245, 200, 66, 0.2);
    box-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 30px 0 40px;
    margin-bottom: 25px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: shimmer 3s ease-in-out infinite, pulseGlow 2s ease-in-out infinite;
    box-shadow: 0 5px 25px rgba(201, 162, 39, 0.5);
}

@keyframes shimmer {

    0%,
    100% {
        box-shadow: 0 5px 25px rgba(201, 162, 39, 0.5);
    }

    50% {
        box-shadow: 0 8px 40px rgba(201, 162, 39, 0.7);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-badge i {
    animation: pulse-icon 1.5s ease-in-out infinite;
    font-size: 1rem;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #fff 40%, var(--gold-light) 60%, var(--gold-primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Banner Slider */
.banner-slider {
    margin-bottom: 35px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-glow);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(201, 162, 39, 0.15);
    transition: all 0.4s ease;
}

.banner-slider:hover {
    border-color: var(--gold-primary);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(201, 162, 39, 0.25);
    transform: translateY(-5px);
}

.swiper {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
}

.swiper-slide {
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--gold-primary);
    width: 35px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(245, 200, 66, 0.6);
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 25px rgba(245, 200, 66, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.section-title h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h2 i {
    -webkit-text-fill-color: var(--gold-primary);
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-secondary), transparent);
    max-width: 180px;
}

/* Markets Grid */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

/* RTP Grid */
.rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.rtp-game-card {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95), rgba(10, 10, 15, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(245, 200, 66, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.rtp-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(245, 200, 66, 0.25);
    border-color: var(--gold-primary);
}

.rtp-game-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2.5/1;
    background: linear-gradient(135deg, #0a0a0f, #12121a);
}

.rtp-game-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.rtp-game-card:hover .rtp-game-img img {
    transform: scale(1.05);
}

.rtp-game-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.rtp-game-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.rtp-game-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(245, 200, 66, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.rtp-game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 200, 66, 0.5);
}

.market-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 60px rgba(201, 162, 39, 0.25);
    border-color: rgba(245, 200, 66, 0.4);
}

.market-card:hover::before {
    opacity: 1;
}

/* Logo Section */
.market-flag-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.market-card:hover .market-flag-wrapper {
    box-shadow: 0 10px 30px rgba(245, 200, 66, 0.2);
    border-color: rgba(245, 200, 66, 0.3);
}

.market-flag-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}

/* Title & Info */
.market-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 6px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
}

.market-time {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.market-time i {
    color: var(--gold-primary);
}

/* Countdown Pill */
.countdown-display {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 28px;
    box-shadow: 0 5px 25px rgba(201, 162, 39, 0.5);
    letter-spacing: 2px;
    display: inline-block;
    min-width: 190px;
    animation: countdownPulse 2s ease-in-out infinite;
}

@keyframes countdownPulse {

    0%,
    100% {
        box-shadow: 0 5px 25px rgba(201, 162, 39, 0.5);
    }

    50% {
        box-shadow: 0 8px 35px rgba(201, 162, 39, 0.7);
    }
}

/* Prediction Label */
.prediction-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    width: 100%;
    position: relative;
}

.prediction-label::before,
.prediction-label::after {
    content: '';
    height: 1px;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.4));
}

.prediction-label::after {
    background: linear-gradient(90deg, rgba(245, 200, 66, 0.4), transparent);
}

.prediction-label i {
    color: var(--gold-primary);
    font-size: 1rem;
}

/* Numbers Row */
.numbers-row {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.num-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #000;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

.num-box:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 30px rgba(245, 200, 66, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.5);
}

.num-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Pattern Box */
.pattern-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(245, 200, 66, 0.1);
    backdrop-filter: blur(5px);
}

.pattern-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 200, 66, 0.08);
    transition: all 0.3s ease;
}

.pattern-row:hover {
    background: rgba(245, 200, 66, 0.05);
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
    border-radius: 10px;
}

.pattern-row:last-child {
    border-bottom: none;
}

.pattern-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pattern-value {
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
}

/* CTA Button - ENHANCED */
.cta-section {
    text-align: center;
    margin: 60px 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
    color: #fff;
    padding: 20px 50px;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow:
        0 15px 50px rgba(233, 69, 96, 0.4),
        0 0 0 0 rgba(233, 69, 96, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 15px 50px rgba(233, 69, 96, 0.4), 0 0 0 0 rgba(233, 69, 96, 0.4);
    }

    50% {
        box-shadow: 0 20px 60px rgba(233, 69, 96, 0.5), 0 0 0 15px rgba(233, 69, 96, 0);
    }
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 25px 70px rgba(233, 69, 96, 0.5);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn i {
    font-size: 1.3rem;
    animation: rocketBounce 2s ease-in-out infinite;
}

@keyframes rocketBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid rgba(245, 200, 66, 0.1);
    margin-top: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

footer a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(245, 200, 66, 0.5);
}

/* Quick Actions Bar for Mobile - ENHANCED */
.quick-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98), rgba(5, 5, 10, 0.99));
    /* OPTIMIZED: Hapus backdrop-filter blur(25px) */
    padding: 12px 10px 18px;
    border-top: 1px solid rgba(245, 200, 66, 0.25);
    z-index: 1000;
    justify-content: space-around;
    align-items: flex-end;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6), 0 -2px 10px rgba(245, 200, 66, 0.1);
}

.quick-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 6px 8px;
    border-radius: 10px;
    min-width: 50px;
}

.quick-actions a span {
    white-space: nowrap;
}

.quick-actions a i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quick-actions a:hover,
.quick-actions a.active {
    color: var(--gold-primary);
}

.quick-actions a.active {
    background: rgba(245, 200, 66, 0.1);
}

.quick-actions a:hover i,
.quick-actions a.active i {
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(245, 200, 66, 0.7);
}

.quick-actions a.cta-mobile {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light));
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 50px;
    margin: -15px 0 0 0;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.5);
    animation: ctaPulse 2s ease-in-out infinite;
}

.quick-actions a.cta-mobile i {
    color: #fff;
}

.quick-actions a.cta-mobile:hover {
    transform: scale(1.08);
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(233, 69, 96, 0.5);
    }

    50% {
        box-shadow: 0 5px 30px rgba(233, 69, 96, 0.8);
    }
}

/* ========== MOBILE OVERLAY MENU ========== */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.99);
    /* OPTIMIZED: Hapus backdrop-filter blur(25px) */
    z-index: 99999;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.mobile-overlay.active {
    display: flex;
}

.mobile-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(245, 200, 66, 0.3);
}

.mobile-overlay .mobile-logo {
    height: 65px;
    width: 65px;
    min-width: 65px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.mobile-overlay .mobile-close-btn {
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid rgba(233, 69, 96, 0.5);
    color: #e94560;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-overlay .mobile-close-btn:hover {
    background: rgba(233, 69, 96, 0.4);
    transform: scale(1.05);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.8));
    border: 1px solid rgba(80, 80, 100, 0.4);
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    color: var(--gold-primary);
    width: 30px;
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(245, 200, 66, 0.1));
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
    transform: translateX(5px);
}

.mobile-overlay-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 200, 66, 0.2);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-overlay-footer .social-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-overlay-footer .auth-btns {
    display: flex;
    gap: 10px;
}

.mobile-overlay-footer .auth-btn {
    flex: 1;
    justify-content: center;
}

/* ====== RESPONSIVE DESIGN ====== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .markets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        padding: 15px;
    }

    .top-action {
        padding: 12px 18px;
        gap: 10px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        /* OPTIMIZED: Hapus backdrop-filter blur(25px) */
        padding: 80px 20px 20px;
        flex-direction: column;
        gap: 8px;
        z-index: 9999;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a.nav-link {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 200, 66, 0.3);
        display: flex;
        flex-direction: row;
        height: auto;
        min-height: 50px;
    }

    .nav-links a.nav-link br {
        display: none;
    }

    .nav-links a.nav-link i {
        margin-right: 10px;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px 20px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(245, 200, 66, 0.2);
    }

    .mobile-logo {
        height: 40px;
        width: 40px;
        min-width: 40px;
        object-fit: contain;
        aspect-ratio: 1 / 1;
    }

    .mobile-close-btn {
        background: rgba(233, 69, 96, 0.2);
        border: 1px solid rgba(233, 69, 96, 0.5);
        color: #e94560;
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        border-radius: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .mobile-close-btn:hover {
        background: rgba(233, 69, 96, 0.4);
        transform: scale(1.05);
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .header-actions.mobile-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding-top: 15px;
        margin-top: 10px;
        border-top: 1px solid rgba(245, 200, 66, 0.1);
    }

    .header-actions.mobile-actions .social-btns {
        justify-content: center;
    }

    .header-actions.mobile-actions .auth-btns {
        width: 100%;
    }

    .header-actions.mobile-actions .auth-btn {
        flex: 1;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .swiper-slide img {
        height: 240px;
    }

    .markets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rtp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .rtp-game-name {
        font-size: 0.9rem;
    }

    .rtp-game-btn {
        padding: 10px 18px;
        font-size: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .top-action {
        border-radius: 16px;
        padding: 0 16px;
        margin-bottom: 20px;
        justify-content: space-between;
        /* Logo Left, Menu Right */
        gap: 10px;
        height: 65px;
        /* FIXED: Exact height untuk mobile alignment */
    }

    .top-action-logo {
        margin-right: 5px;
        height: 48px;
        /* CRITICAL: Match mobile logo height */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-action-logo img {
        height: 48px;
        width: auto;
        max-width: 150px;
        display: block;
        margin: 0;
        padding: 0;
        vertical-align: middle;
        transform: translateY(-4px);
        /* Naikin 4px untuk mobile proportion */
        object-fit: contain;
        filter: drop-shadow(0 0 15px rgba(245, 200, 66, 0.5)) drop-shadow(0 0 30px rgba(245, 200, 66, 0.15));
    }

    .hero-section {
        padding: 20px 0 30px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .banner-slider {
        border-radius: 18px;
        margin-bottom: 25px;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        max-height: none;
        min-height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 42px;
        height: 42px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 1.25rem;
    }

    .markets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .market-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .market-flag-wrapper {
        width: 75px;
        height: 75px;
    }

    .market-title {
        font-size: 1.3rem;
    }

    .countdown-display {
        font-size: 1.3rem;
        padding: 10px 28px;
    }

    .num-box {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        border-radius: 14px;
    }

    .numbers-row {
        gap: 10px;
    }

    .pattern-box {
        padding: 16px;
    }

    .pattern-row {
        padding: 10px 0;
    }

    .pattern-label,
    .pattern-value {
        font-size: 0.85rem;
    }

    .cta-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }

    footer {
        padding: 35px 20px;
    }

    .quick-actions {
        display: flex;
    }

    body {
        padding-bottom: 90px;
    }

    .markets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rtp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .rtp-game-bottom {
        padding: 14px 16px;
        gap: 10px;
    }

    .rtp-game-name {
        font-size: 0.85rem;
    }

    .rtp-game-btn {
        padding: 10px 16px;
        font-size: 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .top-action {
        padding: 10px 14px;
    }

    .top-action-logo img {
        height: 42px;
        width: auto;
        min-width: 85px;
        transform: translateY(-4px);
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .banner-slider {
        border-radius: 14px;
    }

    .rtp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rtp-game-bottom {
        padding: 12px;
        gap: 8px;
    }

    .rtp-game-name {
        font-size: 0.75rem;
    }

    .rtp-game-btn {
        padding: 8px 12px;
        font-size: 0.65rem;
    }

    .market-card {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .market-flag-wrapper {
        width: 65px;
        height: 65px;
    }

    .market-title {
        font-size: 1.2rem;
    }

    .num-box {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .numbers-row {
        gap: 8px;
    }

    .countdown-display {
        font-size: 1.2rem;
        padding: 10px 24px;
    }

    .pattern-label,
    .pattern-value {
        font-size: 0.8rem;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .orb-1,
    .orb-2,
    .orb-3 {
        opacity: 0.4;
    }
}

/* Loading State */
.loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ============================================
   GAME LIST STYLES (Provider/Slot List)
   ============================================ */
.game__list {
    padding: 20px 0;
}

.game__list .page-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
}

.game-list-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.game-holder {
    background: linear-gradient(145deg, var(--bg-card), rgba(26, 26, 37, 0.9));
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(245, 200, 66, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.game-holder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-primary), transparent, var(--gold-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-holder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 200, 66, 0.2);
    border-color: var(--gold-primary);
}

.game-holder:hover::before {
    opacity: 1;
}

.game-holder .game-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2.5/1;
    background: linear-gradient(135deg, #0a0a0f, #12121a);
}

.game-holder .game-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.game-holder:hover .game-img img {
    transform: scale(1.05);
}

.game-holder .game-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
    gap: 12px;
}

.game-holder .game-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-holder .game-links {
    flex-shrink: 0;
}

.game-holder .game-links .btn-custom {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 200, 66, 0.3);
    white-space: nowrap;
}

.game-holder .game-links .btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 200, 66, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

/* Slot Game Container (for individual game pages like besoft.html) */
.slot-game__container {
    padding: 20px 0;
}

.slot-game-header {
    margin-bottom: 25px;
}

.slot-game-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.slot-game-header h3 i {
    color: var(--gold-light);
}

.slot-game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
    margin-bottom: 60px;
}

.slot-game-item {
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slot-game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.slot-game-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(245, 200, 66, 0.2);
    border-color: rgba(245, 200, 66, 0.4);
}

.slot-game-item:hover::before {
    opacity: 1;
}

.slot-game-item .slot-game-img {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.slot-game-item .slot-game-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slot-game-item:hover .slot-game-img img {
    transform: scale(1.1);
}

.slot-game-item .slot-game-name {
    padding: 14px 12px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.slot-game-item .progress {
    height: 18px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin: 0 12px 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-game-item .progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: width 0.6s ease;
    border-radius: 10px;
}

.slot-game-item .progress-bar.bg-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.slot-game-item .progress-bar.bg-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.slot-game-item .progress-bar.bg-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #000;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.slot-game-item .slot-game-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.slot-game-item .slot-game-hover {
    padding: 0 12px 15px;
    text-align: center;
}

.slot-game-item .slot-game-hover a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(245, 200, 66, 0.3);
}

.slot-game-item .slot-game-hover a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.slot-game-item .slot-game-hover a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(245, 200, 66, 0.5);
}

.slot-game-item .slot-game-hover a:hover::before {
    left: 100%;
}

/* ============================================
   RESPONSIVE GAME LIST
   ============================================ */
@media (max-width: 1200px) {
    .game-list-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .slot-game-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .game-list-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .slot-game-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .game-holder .game-bottom {
        padding: 12px 15px;
    }
    
    .game-holder .game-name {
        font-size: 0.95rem;
    }
    
    .game-holder .game-links .btn-custom {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .game__list .page-header {
        font-size: 1.4rem;
    }
    
    .game-list-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .slot-game-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .game-holder {
        border-radius: 12px;
    }
    
    .game-holder .game-bottom {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 10px;
    }
    
    .game-holder .game-name {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .game-holder .game-links {
        width: 100%;
    }
    
    .game-holder .game-links .btn-custom {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .slot-game-item .slot-game-name {
        font-size: 0.85rem;
        padding: 10px 12px 6px;
    }
    
    .slot-game-item .progress {
        height: 20px;
        margin: 0 12px 8px;
    }
    
    .slot-game-item .slot-game-hover {
        padding: 8px 12px 12px;
    }
    
    .slot-game-header h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .game__list .page-header {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .game-list-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .slot-game-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-holder {
        border-radius: 10px;
    }
    
    .game-holder .game-bottom {
        padding: 10px;
        gap: 8px;
    }
    
    .game-holder .game-name {
        font-size: 0.85rem;
    }
    
    .game-holder .game-links .btn-custom {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .slot-game-item .slot-game-name {
        font-size: 0.8rem;
        padding: 8px 10px 5px;
    }
    
    .slot-game-item .progress {
        height: 18px;
        margin: 0 10px 6px;
        font-size: 0.7rem;
    }
    
    .slot-game-item .slot-game-hover {
        padding: 6px 10px 10px;
    }
    
    .slot-game-item .slot-game-hover a {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .slot-game-header h3 {
        font-size: 1.1rem;
    }
}

/* ========== PERFORMANCE OPTIMIZATION - MOBILE ========== */
@media (max-width: 768px) {
    /* Disable heavy animations on mobile */
    .orb {
        display: none !important;
    }
    
    .particle {
        animation-duration: 20s !important;
    }
    
    .bg-animated {
        background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle,
    .orb,
    .bg-animated {
        display: none !important;
    }
}
