/* Page-specific styles */

/* Rankings page */
section {
    position: relative;
    z-index: 1;
}

/* Admin page background */
body.admin-page {
    background: 
        linear-gradient(180deg, 
            rgba(26, 26, 46, 0.85) 0%, 
            rgba(22, 33, 62, 0.85) 25%, 
            rgba(15, 20, 25, 0.85) 50%, 
            rgba(10, 14, 21, 0.85) 75%, 
            rgba(5, 6, 8, 0.85) 100%),
        url('../assets/Prontera_city_hero_background_09f15f55.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: hsl(210, 5%, 92%);
    font-family: 'Poppins', sans-serif;
}

body.admin-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Battle Pass styles */
.font-display { 
    font-family: 'Orbitron', sans-serif; 
}

.font-body { 
    font-family: 'Poppins', sans-serif; 
}

.bp-track {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.bp-progress-bar {
    position: relative;
    height: 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    overflow: hidden;
}

.bp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.5s ease;
}

.bp-level-badge {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 1;
}

/* New Battle Pass UI Styles */
.battlepass-light-theme {
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%) !important;
    position: relative;
}

.battlepass-light-theme::before {
    display: none !important;
}

/* Fantasy Battle Pass Theme (Gambar 1 Style) */
.battlepass-fantasy-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    position: relative;
    min-height: 100vh;
}

.battlepass-fantasy-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.battlepass-tab {
    transition: all 0.3s ease;
    cursor: pointer;
}

.battlepass-tab.active {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.battlepass-tab:hover {
    transform: scale(1.08);
}

.custom-scrollbar::-webkit-scrollbar {
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .battlepass-fantasy-theme {
        padding-top: 4rem !important;
    }
    
    .battlepass-fantasy-theme .bg-gradient-to-br {
        padding: 1rem !important;
    }
}

.battlepass-container {
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%);
}

.battlepass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reward-card-regular {
    background: #dbeafe;
    border: 2px solid #93c5fd;
    transition: all 0.3s ease;
}

.reward-card-regular:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.reward-card-advanced {
    background: #fef3c7;
    border: 2px solid #fcd34d;
    transition: all 0.3s ease;
}

.reward-card-advanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.3);
}

.reward-card-locked {
    opacity: 0.5;
    filter: grayscale(50%);
}

.premium-emblem {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
    }
}

.bg-card-glass {
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-reward-card {
    transition: all 0.3s ease;
}

.bp-reward-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.bp-locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.bp-unlocked {
    opacity: 1;
}

.bp-claimed {
    opacity: 0.7;
}

/* Downloads page styles */
.download-card {
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* 404 page animations */
.animate-bounce-slow {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

/* Test page styles */
.result {
    background: #2a2a2a;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border-left: 4px solid #4CAF50;
}

.result.error {
    border-left-color: #f44336;
}

.result.info {
    border-left-color: #2196F3;
}

.result pre {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 3px;
    overflow-x: auto;
}

