:root {
    /* Primary Colors */
    --bg-dark: #111111;
    /* Top Nav Background */
    --bg-light: #0a0a0a;
    /* Dark background fallback */
    --card-bg: rgba(10, 15, 20, 0.85);
    /* Dark glassmorphism for cards */

    /* Accent Colors */
    --accent-red: #d32f2f;
    /* Red for active tabs, logout, highlight */
    --accent-gold: #c29d59;
    /* Gold for buttons, borders */
    --text-dark: #f0f0f0;
    /* Main text color is now light/white */
    --text-light: #ffffff;
    /* Pure white */
    --text-muted: #aaaaaa;
    /* Light gray for secondary info */

    /* Fonts */
    --font-main: 'Rajdhani', sans-serif;
    --font-body: 'Barlow', sans-serif;

    /* Other Settings */
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-dark);
    /* Dark fallback for the new dark background */
    /* Background Image */
    background-image: url('../img/home/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.6;
    padding-top: 60px;
    /* Offset for fixed header */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b71c1c;
}

/* Logo Animation */
@keyframes floatingLogo {
    0% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    }

    50% {
        transform: translateY(-15px) scale(1.02);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    }

    100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    }
}

.animated-logo {
    animation: floatingLogo 4s ease-in-out infinite;
    max-width: 500px;
    width: 90%;
    height: auto;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   3. TOP NAVIGATION BAR (The Dark Header)
   ========================================================================== */
.top-navbar {
    background-color: var(--bg-dark);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.top-nav-logo a {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-nav-logo a span {
    color: var(--accent-gold);
}

.top-nav-links-mobile {
    display: none;
}

.top-nav-links {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.top-nav-links a {
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 0;
}

.top-nav-links a:hover,
.top-nav-links a.active {
    color: var(--accent-red);
}



.top-nav-user {
    position: absolute;
    right: 50px;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .top-navbar {
        padding: 0 20px;
    }

    .top-nav-user {
        right: 20px;
    }
}

@media (max-width: 992px) {
    .top-nav-links {
        gap: 15px;
    }

    .top-nav-links a {
        font-size: 13px;
    }

    .top-nav-logo a {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .top-nav-logo img {
        height: 30px;
    }

    /* Simple mobile scrollable menu */
    .top-nav-links-mobile {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 15px;
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 998;
    }

    .top-nav-links-mobile a {
        font-size: 12px;
        color: #fff;
        font-weight: bold;
    }
}



/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */
.main-wrapper {
    max-width: 1200px;
    margin: 40px auto 50px;
    /* Reduced space */
    padding: 0 20px;
    position: relative;
}

.content-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.card-title {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   5. COMPONENTS (Buttons, Tabs, Inputs)
   ========================================================================== */
/* Buttons */
.btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    transition: var(--transition);
}

.btn-red {
    background-color: var(--accent-red);
    color: white;
}

.btn-red:hover {
    background-color: #b71c1c;
}

.btn-gold {
    background: linear-gradient(45deg, #c29d59, #e0ceab);
    color: #000;
    box-shadow: 0 4px 15px rgba(194, 157, 89, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(45deg, #e0ceab, #c29d59);
    box-shadow: 0 6px 20px rgba(194, 157, 89, 0.6);
    transform: translateY(-2px);
}

/* Premium Navigation & Auth Styles (Defined after base styles to ensure precedence) */
.user-profile-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 15px 5px 5px;
    border-radius: 50px;
    gap: 15px;
    transition: var(--transition);
}

.user-profile-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(194, 157, 89, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.user-badge-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.avatar-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.avatar-wrapper img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--accent-gold) !important;
    box-shadow: 0 0 10px rgba(194, 157, 89, 0.4);
}

.online-pulse {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 5px #00ff88;
}

.online-pulse::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid #00ff88;
    opacity: 0;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
        opacity: 0;
    }

    80%,
    100% {
        opacity: 0;
    }
}

.user-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.account-name {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.account-status {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-button,
.admin-link {
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.logout-button:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: scale(1.1);
}

.admin-link:hover {
    color: var(--accent-gold);
    background: rgba(194, 157, 89, 0.1);
    transform: scale(1.1);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-gold-outline {
    background: rgba(194, 157, 89, 0.05);
    border: 1px solid var(--accent-gold) !important;
    color: var(--accent-gold);
    box-shadow: inset 0 0 10px rgba(194, 157, 89, 0.1);
}

.btn-gold-outline:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(194, 157, 89, 0.4);
}

.btn-red-glow {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-red-glow:hover {
    background: #ff4444;
    box-shadow: 0 0 25px rgba(211, 47, 47, 0.6);
    transform: translateY(-2px);
}

/* Tabs System */
.custom-tabs {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-link {
    padding: 15px 30px;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    /* overlap border */
    text-transform: uppercase;
}

.tab-link:hover {
    color: var(--text-dark);
}

.tab-link.active {
    color: var(--accent-red);
    border-bottom: 3px solid var(--accent-red);
}

/* Form Controls / Tools */
.tab-tools {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
}

/* ==========================================================================
   6. NEWS LIST (Home Page)
   ========================================================================== */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.news-date {
    color: var(--text-muted);
    font-size: 14px;
    width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title {
    flex-grow: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.btn-read-more {
    background: #8b6b4a;
    /* Brown/Gold color from image */
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    /* Slight rounding, not full pill */
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-read-more:hover {
    background: #73573c;
}

/* ==========================================================================
   7. STATS GRID (VIP/Profile Page)
   ========================================================================== */
.stats-section-title {
    font-family: var(--font-main);
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
    padding-bottom: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.stat-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    color: var(--text-muted);
    font-size: 20px;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-value {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.stat-value::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-red);
}

/* VIP Badge */
.vip-badge {
    background: var(--accent-red);
    color: white;
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* ==========================================================================
   8. FLOATING RIGHT MENU
   ========================================================================== */
.floating-right-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.float-btn {
    width: 60px;
    height: 60px;
    background: #000;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-gold);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.float-btn:hover {
    transform: scale(1.1);
    background: var(--accent-gold);
    color: #fff;
}

/* ==========================================================================
   9. EVENTS SECTION
   ========================================================================== */
.events-section-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.events-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.event-card {
    background: rgba(10, 15, 20, 0.8);
    border: 2px solid rgba(194, 157, 89, 0.3);
    border-radius: 8px;
    padding: 10px;
    width: 30%;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.event-card.active {
    transform: scale(1.1);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(194, 157, 89, 0.3);
    z-index: 2;
}

.event-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.event-img-wrapper img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.event-timeframe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #e0ceab;
    font-size: 11px;
    padding: 5px 0;
    font-family: var(--font-body);
    letter-spacing: 1px;
}

.event-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-status {
    background: #4a3e35;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    width: 80%;
}

.event-card.active .event-status {
    background: #2a2015;
}

/* ==========================================================================
   10. EVENTS PAGE (SCHEDULE)
   ========================================================================== */
.event-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.event-hero-section {
    background: rgba(10, 15, 20, 0.85);
    border: 2px solid rgba(194, 157, 89, 0.3);
    border-radius: var(--border-radius);
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.event-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(194, 157, 89, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-main);
    font-size: 24px;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hero-countdown {
    font-family: var(--font-main);
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 25px rgba(211, 47, 47, 0.8);
    margin: 10px 0;
    line-height: 1;
}

.hero-event-name {
    font-size: 22px;
    font-family: var(--font-main);
    font-weight: bold;
    color: var(--text-light);
    margin-top: 15px;
    letter-spacing: 1px;
}

.server-time-display {
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 10px 25px;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(194, 157, 89, 0.4);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tab-content.active {
    display: grid;
}

.event-card-dynamic {
    background: rgba(10, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-card-dynamic:hover {
    border-color: rgba(194, 157, 89, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.event-card-dynamic.live-active {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.event-time {
    font-size: 28px;
    font-family: var(--font-main);
    font-weight: 900;
    color: var(--text-light);
}

.event-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.badge-hourly {
    background: rgba(194, 157, 89, 0.2);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.badge-daily {
    background: rgba(33, 150, 243, 0.2);
    color: #4fc3f7;
    border: 1px solid #4fc3f7;
}

.event-card-dynamic .event-name {
    font-size: 22px;
    font-family: var(--font-main);
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.status-text {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}

.status-text.live {
    background: rgba(211, 47, 47, 0.2);
    color: #ff5252;
    border: 1px solid rgba(211, 47, 47, 0.6);
    animation: pulseRed 2s infinite;
}

.status-text i {
    font-size: 12px;
    display: inline-block;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

/* ==========================================================================
   11. STORE PAGE
   ========================================================================== */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Adjusted width for better look */
    justify-content: center;
    /* Center the grid items */
    gap: 80px 30px;
    margin-top: 100px;
}

.product-card {
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(194, 157, 89, 0.4);
    border-top: 4px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 65px 20px 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(194, 157, 89, 0.3), 0 20px 40px rgba(0, 0, 0, 0.7);
    background: rgba(20, 25, 30, 0.95);
}

.product-img-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: radial-gradient(circle, rgba(194, 157, 89, 0.2) 0%, transparent 70%);
    /* Subtle glow behind item */
}

.product-img-wrapper img {
    max-width: 110px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.9));
    transition: all 0.4s ease;
    animation: floatItem 3s ease-in-out infinite;
}

@keyframes floatItem {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 1));
    animation-play-state: paused;
}

.product-title {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.product-amount {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.product-price {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(194, 157, 89, 0.4);
}

/* Modal */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cart-modal-content {
    background: rgba(15, 20, 25, 0.95);
    border: 2px solid rgba(194, 157, 89, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: var(--accent-red);
}

.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-gold);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(194, 157, 89, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-cart:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-red);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.payment-option {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.payment-option img {
    height: 30px;
    margin-bottom: 5px;
}

.payment-option.selected {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(194, 157, 89, 0.2);
    color: var(--accent-gold);
}

.custom-file-upload input[type="file"] {
    display: none;
}

.custom-file-upload label {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.custom-file-upload label:hover {
    background: rgba(194, 157, 89, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
}

/* ==========================================================================
   12. FLOATING EVENT WIDGET
   ========================================================================== */
.floating-event-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(194, 157, 89, 0.3);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    cursor: default;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.floating-event-widget:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(194, 157, 89, 0.15);
}

.event-widget-icon {
    width: 45px;
    height: 45px;
    background: rgba(194, 157, 89, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 20px;
    position: relative;
}

.event-widget-icon.live {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.event-widget-icon.live::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid #00ff88;
    animation: iconPulse 1.5s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.event-widget-info {
    display: flex;
    flex-direction: column;
}

.event-widget-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.event-widget-name {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.event-widget-time {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 600;
}

.event-widget-time.live {
    color: #00ff88;
}

@media (max-width: 768px) {
    .floating-event-widget {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 12px;
    }
}

/* ==========================================================================
   13. RANKINGS PAGE STYLES - EPIC REBOOT
   ========================================================================== */
.rankings-section {
    padding: 100px 20px;
    background: url('../img/home/bg.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Removed dark overlay to keep it clean as requested */
.rankings-section::before {
    content: none;
}

.ranking-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: #0a0f16;
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* TITLES */
.store-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
    display: block;
}

.store-highlight {
    color: var(--accent-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.store-subtitle {
    font-size: 14px;
    letter-spacing: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 50px;
    display: block;
}

/* EPIC PODIUM */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 80px;
    perspective: 1000px;
    width: 100%;
}

.podium-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.podium-column:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Heights for 3D look */
.rank-1 {
    order: 2;
    z-index: 10;
}

.rank-2 {
    order: 1;
    margin-top: 50px;
}

.rank-3 {
    order: 3;
    margin-top: 80px;
}

.podium-avatar-wrapper {
    position: relative;
    margin-bottom: -20px;
    z-index: 5;
}

.podium-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #222;
    background: #000;
    object-fit: cover;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.rank-1 .podium-avatar {
    width: 180px;
    height: 180px;
    border-color: var(--accent-gold);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.rank-2 .podium-avatar {
    border-color: #c0c0c0;
    box-shadow: 0 0 40px rgba(192, 192, 192, 0.2);
}

.rank-3 .podium-avatar {
    border-color: #cd7f32;
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.2);
}

.podium-username {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Base (Podium Step) */
.podium-block {
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rank-1 .podium-block {
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.2);
}

.rank-2 .podium-block {
    height: 140px;
}

.rank-3 .podium-block {
    height: 110px;
}

.podium-rank-badge {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.podium-prize {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 800;
    z-index: 2;
}

/* LIST REFRESH */
.ranking-list-modern {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 10px;
}

.dashboard-list-header {
    display: grid;
    grid-template-columns: 100px 1fr 200px 200px;
    padding: 25px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}

.dashboard-list-row {
    display: grid;
    grid-template-columns: 100px 1fr 200px 200px;
    padding: 20px 25px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: 0.3s;
}

.dashboard-list-row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
}

.dash-rank {
    font-size: 20px;
    color: #555;
}

.dash-name {
    font-size: 18px;
    color: #fff;
}

.dash-avatar {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.col-points {
    font-size: 20px;
    color: var(--accent-gold);
    font-weight: 800;
}

/* TABS */
.ranking-tabs {
    background: rgba(0, 0, 0, 0.5);
    display: inline-flex;
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 auto 60px auto;
}

.btn-rank-tab {
    border: none;
    padding: 12px 35px;
    border-radius: 40px;
    color: #888;
    background: transparent;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-rank-tab.active {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

@media (max-width: 992px) {
    .podium-container {
        gap: 15px;
    }

    .podium-column {
        width: 180px;
    }

    .podium-avatar {
        width: 100px !important;
        height: 100px !important;
    }
}

/* Event navigation centering */
.event-nav-scroller {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.event-nav-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
    padding: 8px 15px;
    border-radius: 8px;
    margin: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.event-nav-btn.active {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .dashboard-list-header,
    .dashboard-list-row {
        grid-template-columns: 50px 1fr 80px;
    }

    .col-prize {
        display: none;
    }
}