/* Boosters Page Specific Styles */
:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #141414;
    --accent-blue: #3b82f6;
    --accent-gold: #fbbf24;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: #27272a;
    --hover-bg: #1f1f23;
    --discord-color: #5865f2;
    --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --menu-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --valorant-red: #ff4655;
    --valorant-blue: #0f1923;
    --excellence-purple: #9333ea;
    --diamond-blue: #60a5fa;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--primary-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Main Content Area */
.main-content {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: var(--menu-gradient);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 70%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Boosters Container */
.boosters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* Page Header */
.page-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filters Sidebar */
.filters-sidebar {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 16px;
    padding: 2rem;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 120px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filters-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.5);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.filter-button {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.filter-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.featured-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.featured-toggle input[type="checkbox"] {
    transform: scale(1.2);
}

/* Badge Info */
.rating-badge-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.badge-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.badge-legend-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.legend-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.legend-top-booster {
    background: linear-gradient(135deg, #ff6b9d, #fbbf24);
}

.legend-excellence {
    background: linear-gradient(135deg, #9333ea, #c084fc);
}

.legend-high-rated {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

/* Main Content */
.boosters-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Featured Section Lightning Animations */
@keyframes lightning {
    0% {
        opacity: 0.3;
        transform: scale(0.8) rotate(-10deg);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    25% {
        opacity: 1;
        transform: scale(1.3) rotate(5deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1) rotate(-3deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
    }
    75% {
        opacity: 1;
        transform: scale(1.4) rotate(8deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.9));
    }
    100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(-10deg);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
}

@keyframes thunderGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
    25% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 255, 255, 0.4), inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 50px rgba(255, 255, 255, 0.3), inset 0 0 25px rgba(255, 215, 0, 0.15);
    }
    75% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 80px rgba(255, 255, 255, 0.6), 0 0 100px rgba(255, 215, 0, 0.3), inset 0 0 40px rgba(255, 215, 0, 0.25);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* Badge Animations */
@keyframes lightningPulse {
    0%, 100% {
        background: linear-gradient(135deg, #ffd700, #ffed4a);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        background: linear-gradient(135deg, #ffed4a, #ffd700);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes excellencePulse {
    0%, 100% {
        background: linear-gradient(135deg, #9333ea, #c084fc);
        box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
    }
    50% {
        background: linear-gradient(135deg, #c084fc, #9333ea);
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.8), 0 0 30px rgba(192, 132, 252, 0.3);
    }
}

@keyframes highRatedPulse {
    0%, 100% {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
        box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    }
    50% {
        background: linear-gradient(135deg, #3b82f6, #60a5fa);
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.8), 0 0 30px rgba(59, 130, 246, 0.3);
    }
}

/* Boosters Grid */
.boosters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Booster Cards */
.booster-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.booster-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.booster-card.featured {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8) 0%, rgba(251, 191, 36, 0.05) 100%);
    animation: thunderGlow 3s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.booster-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 18px;
    z-index: -1;
    animation: sparkle 2s linear infinite;
}

.booster-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(251, 191, 36, 0.6), 0 0 60px rgba(255, 255, 255, 0.3);
}

.lightning-icon {
    position: absolute;
    top: -15px;
    right: 15px;
    color: var(--accent-gold);
    font-size: 2.5rem;
    animation: lightning 2.5s ease-in-out infinite;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    text-shadow: 0 0 5px rgba(255, 215, 0, 1), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Badges */
.booster-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 1;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-top-booster {
    background: linear-gradient(135deg, #ff6b9d, #fbbf24);
    animation: lightningPulse 2s ease-in-out infinite;
}

.badge-excellence {
    background: linear-gradient(135deg, #9333ea, #c084fc);
    animation: excellencePulse 2.2s ease-in-out infinite;
}

.badge-high-rated {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    animation: highRatedPulse 2.5s ease-in-out infinite;
}

/* Booster Card Content */
.booster-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.booster-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.booster-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

.availability-dot.offline {
    background: #ef4444;
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.booster-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    color: var(--accent-gold);
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.booster-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.detail-icon {
    color: var(--accent-blue);
    width: 16px;
}

.languages {
    display: flex;
    gap: 0.25rem;
}

.language-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.booster-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-primary {
    flex: 1;
    background: var(--accent-blue);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--hover-bg);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination a {
    background: rgba(20, 20, 30, 0.8);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination a:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
}

.pagination .disabled {
    background: rgba(20, 20, 30, 0.8);
    color: var(--border-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
}

.pagination-info {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .boosters-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filters-sidebar {
        position: static;
    }

    .boosters-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .boosters-container {
        padding: 1rem;
    }

    .boosters-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .badge-legend {
        justify-content: center;
    }
}