:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --premium-gold: #ffd700;
    --premium-dark: #8b6b00;
}

/* Section Title */
.section-title {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

/* Player Profile */
.player-info {
    margin-top: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    color: rgba(255, 255, 255, 0.7);
}

.info-value {
    font-weight: 600;
    color: white;
}

/* Battle Pass Progress */
.battlepass-progress {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-display {
    background: rgba(220, 53, 69, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.exp-display .text-muted {
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.7;
}

.progress-container {
    position: relative;
    margin-top: 15px;
}

.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
}

.level-indicators {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.level-indicator {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.level-indicator.reached {
    background: var(--success-color);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.5);
}

/* Battle Pass Items */
.battlepass-items-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 15px;
}

.battlepass-track {
    display: flex;
    gap: 15px;
    padding: 10px 5px;
}

.battlepass-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 120px;
    flex-shrink: 0;
    position: relative;
}

.battlepass-level::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 0;
}

.battlepass-level.unlocked::before {
    background: linear-gradient(90deg, transparent, var(--success-color), transparent);
}

.level-number {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.battlepass-level.unlocked .level-number {
    background: var(--success-color);
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.reward-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* Basic Item Styling */
.reward-card.basic {
    background: linear-gradient(135deg, rgba(10, 30, 80, 0.8), rgba(0, 70, 150, 0.8));
    border: 1px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.reward-card.basic::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.8), 
        rgba(13, 110, 253, 0.8), 
        rgba(20, 108, 148, 0.8));
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

/* Premium Item Styling */
.reward-card.premium {
    background: linear-gradient(135deg, rgba(60, 50, 10, 0.8), rgba(100, 80, 0, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2);
}

.reward-card.premium::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.8), 
        rgba(255, 165, 0, 0.8), 
        rgba(255, 69, 0, 0.8));
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.reward-card.claimed {
    opacity: 0.6;
    filter: grayscale(80%);
}

.reward-card.premium-locked {
    filter: grayscale(70%);
    opacity: 0.8;
}

.reward-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 2;
}

.reward-badge.basic {
    background: rgba(13, 110, 253, 0.2);
    color: #7db8ff;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

.reward-badge.premium {
    background: rgba(255, 193, 7, 0.2);
    color: var(--premium-gold);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.reward-image {
    height: 60px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.reward-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.reward-card:hover .reward-image img {
    transform: scale(1.1);
}

.premium-lock {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--premium-gold);
    font-size: 20px;
}

.reward-details {
    margin-bottom: 10px;
}

.reward-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reward-duration {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 10px;
    display: inline-block;
}

.reward-card.basic .reward-duration {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.reward-card.premium .reward-duration {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Buttons */
.btn-claim, .btn-claim-premium, .btn-locked, .btn-claimed, .btn-premium-locked {
    width: 100%;
    font-size: 12px;
    padding: 5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-claim {
    border-color: #0d6efd;
    color: white;
}

.btn-claim:hover {
    border-color: #0a58ca;
}

.btn-claim-premium {
    border-color: #ffc720;
    color: white;
}

.btn-claim-premium:hover {
    border-color: #ffc720;
}

.btn-locked {
    color: rgba(255, 255, 255, 0.5);
}

.btn-claimed {
    border-color: var(--success-color);
    color: white;
}

.btn-premium-locked {
    color: var(--premium-gold);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Hover Effects */
.reward-card:hover {
    transform: translateY(-5px);
}

.reward-card.basic:hover {
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.reward-card.premium:hover {
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.reward-card:hover::before {
    opacity: 0.7;
    animation: neoBorderGlow 2s infinite alternate;
}

@keyframes neoBorderGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Battle Pass Purchase Section */
.battlepass-purchase {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.battlepass-purchase .card-header {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1));
    color: #ffd700;
}

.premium-benefits {
    list-style-type: none;
    padding-left: 0;
}

.premium-benefits li {
    margin-bottom: 5px;
}

.premium-price {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.premium-price .price {
    font-size: 28px;
}

.premium-price .currency {
    font-size: 16px;
    margin-left: 5px;
    opacity: 0.8;
}

/* SCROLLBAR STYLING */
.battlepass-items-container::-webkit-scrollbar {
    height: 8px;
}

.battlepass-items-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.battlepass-items-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.battlepass-items-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 24px;
    }
    
    .battlepass-level {
        width: 100px;
    }
    
    .reward-image {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 20px;
    }
    
    .battlepass-level {
        width: 90px;
    }
    
    .reward-name {
        font-size: 10px;
    }
}

/* Final Premium Countdown Styles */
.season-countdown-container {
    background: linear-gradient(135deg, rgba(40,50,80,0.8) 0%, rgba(20,30,60,0.9) 100%);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 25px;
}

.countdown-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 15px 0;
}

.countdown-segment {
    flex: 1;
    padding: 10px 5px;
    position: relative;
}

.countdown-segment:not(:last-child):after {
    content: ":";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
}

.countdown-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,215,0,0.7);
    transition: all 0.3s ease;
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-expire {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    padding-top: 10px;
    border-top: 1px dashed rgba(255,215,0,0.3);
}

.countdown-expired {
    background: rgba(255,0,0,0.1);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #ff6b6b;
}

.btn-renew {
    background: linear-gradient(135deg, rgba(255,107,107,0.2) 0%, rgba(255,107,107,0.3) 100%);
    border: 1px solid #ff6b6b;
    color: #ffd700;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.btn-renew:hover {
    background: linear-gradient(135deg, rgba(255,107,107,0.3) 0%, rgba(255,107,107,0.4) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,107,0.2);
    color: #fff;
}

.text-decoration-line-through {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .countdown-expired {
        text-align: center;
    }
    .btn-renew {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

@keyframes pulse {
    0% { opacity: 0.9; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(255,107,107,0.5); }
    100% { opacity: 0.9; }
}