/* Page Hero Section */
.page-hero {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 50% 0%, rgba(234, 3, 9, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 20% 100%, rgba(234, 3, 9, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 80% 100%, rgba(234, 3, 9, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   Current Tournament Banner
   ============================================ */
.current-tournament-banner {
    padding: var(--space-6) 0;
}

.tournament-banner-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-8);
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.12) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(234, 3, 9, 0.4);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.tournament-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.tournament-banner-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 60px rgba(234, 3, 9, 0.2);
    transform: translateY(-2px);
}

.tournament-banner-card .banner-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 3, 9, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex: 1;
    position: relative;
    z-index: 1;
}

.banner-info {
    flex: 1;
}

.banner-badges {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
}

.banner-badge.live {
    background: rgba(239, 68, 68, 0.25);
    color: #ff6b6b;
    border: 1px solid rgba(239, 68, 68, 0.5);
    animation: liveGlow 2s ease-in-out infinite;
}

@keyframes liveGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
}

.banner-badge.live .live-dot {
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: livePulse 1s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.banner-badge.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.banner-badge.upcoming {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.banner-badge.season {
    background: rgba(234, 3, 9, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(234, 3, 9, 0.4);
}

.banner-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
}

.banner-meta .meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.banner-meta .meta-item i {
    color: var(--primary-light);
}

.banner-prize {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.banner-prize .prize-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.banner-prize .prize-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.banner-link:hover {
    background: var(--primary-light);
    transform: translateX(4px);
    color: white;
    box-shadow: 0 4px 20px rgba(234, 3, 9, 0.4);
}

/* ============================================
   Twitch Embed Section
   ============================================ */
.twitch-section {
    padding: var(--space-8) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(145, 70, 255, 0.03) 50%, transparent 100%);
}

.twitch-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.live-indicator {
    width: 12px;
    height: 12px;
    background: #9146FF;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(145, 70, 255, 0.6);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.twitch-embed-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.twitch-embed,
.twitch-chat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.twitch-embed iframe,
.twitch-chat iframe {
    display: block;
    border: none;
}

@media (max-width: 992px) {
    .twitch-embed-container {
        grid-template-columns: 1fr;
    }

    .twitch-chat {
        height: 300px;
    }

    .twitch-chat iframe {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .twitch-embed iframe {
        height: 250px;
    }
}

/* ============================================
   Edition Filter - Floating Bar
   ============================================ */
.editions-filter {
    position: sticky;
    top: 80px;
    z-index: 100;
    padding: var(--space-4);
    margin: var(--space-6) auto var(--space-8);
    max-width: 900px;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.edition-dropdown {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: var(--space-3) var(--space-5);
    padding-right: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a1a1aa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.edition-dropdown:hover {
    border-color: var(--border-hover);
}

.edition-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 3, 9, 0.2);
}

.edition-dropdown option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-tertiary);
    padding: 4px;
    border-radius: var(--radius-lg);
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(234, 3, 9, 0.4);
}

/* ============================================
   Section Styling
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto;
}

.podium-section,
.full-leaderboard,
.killer-section {
    padding: var(--space-12) 0;
    position: relative;
}

/* ============================================
   Podium - Premium Design
   ============================================ */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-5);
    padding: var(--space-8) 0;
}

.podium-place {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 240px;
    transition: transform 0.4s ease;
}

.podium-place:hover {
    transform: translateY(-8px);
}

.podium-place.first { order: 2; width: 280px; }
.podium-place.second { order: 1; }
.podium-place.third { order: 3; }

/* Crown / Medal Icons */
.podium-crown,
.podium-medal {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.podium-crown i {
    color: #ffd700;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

.podium-place.second .podium-medal i {
    color: #c0c0c0;
    filter: drop-shadow(0 0 15px rgba(192, 192, 192, 0.4));
}

.podium-place.third .podium-medal i {
    color: #cd7f32;
    filter: drop-shadow(0 0 15px rgba(205, 127, 50, 0.4));
}

/* Avatar */
.podium-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-4);
}

.podium-place.first .podium-avatar {
    width: 120px;
    height: 120px;
}

.podium-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.podium-place.first .podium-avatar img {
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.podium-place.second .podium-avatar img {
    border-color: #c0c0c0;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.2);
}

.podium-place.third .podium-avatar img {
    border-color: #cd7f32;
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.2);
}

.podium-place:hover .podium-avatar img {
    transform: scale(1.08);
}

/* Info */
.podium-info {
    margin-bottom: var(--space-4);
}

.podium-rank {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.podium-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    display: block;
}

.podium-place.first .podium-name {
    font-size: 1.5rem;
}

/* Stats */
.podium-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.podium-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    position: relative;
    min-width: 70px;
}

.podium-stats .stat:first-child {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.15) 0%, rgba(234, 3, 9, 0.05) 100%);
    border: 1px solid rgba(234, 3, 9, 0.3);
}

.podium-stats .stat:last-child {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.podium-stats .stat-value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.podium-stats .stat:first-child .stat-value {
    background: linear-gradient(135deg, #ea0309 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.podium-stats .stat:last-child .stat-value {
    background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.podium-stats .stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 2px;
}

/* Podium Stand */
.podium-stand {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
}

.podium-stand.gold {
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: none;
}

.podium-stand.silver {
    height: 90px;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.05) 100%);
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-bottom: none;
}

.podium-stand.bronze {
    height: 60px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.2) 0%, rgba(205, 127, 50, 0.05) 100%);
    border: 1px solid rgba(205, 127, 50, 0.3);
    border-bottom: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-12);
    width: 100%;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: var(--space-4);
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-state p {
    color: var(--text-muted);
}

/* ============================================
   Full Leaderboard
   ============================================ */
.leaderboard-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px;
    padding: var(--space-4) var(--space-6);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
}

.header-item {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-item.player {
    padding-left: var(--space-2);
}

.leaderboard-body {
    max-height: 500px;
    overflow-y: auto;
}

.leaderboard-body::-webkit-scrollbar {
    width: 6px;
}

.leaderboard-body::-webkit-scrollbar-track {
    background: var(--bg-elevated);
}

.leaderboard-body::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

.leaderboard-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Rank Rows */
.rank-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    align-items: center;
}

.rank-row:last-child {
    border-bottom: none;
}

.rank-row:hover {
    background: rgba(234, 3, 9, 0.05);
}

.rank-row.top-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.rank-row.top-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.08) 0%, transparent 50%);
}

.rank-row.top-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.08) 0%, transparent 50%);
}

/* Rank Cell */
.rank-cell {
    display: flex;
    align-items: center;
}

.rank-badge {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1rem;
}

.rank-badge.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #ffd700;
}

.rank-badge.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.25) 0%, rgba(169, 169, 169, 0.1) 100%);
    color: #c0c0c0;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.25) 0%, rgba(176, 101, 42, 0.1) 100%);
    color: #cd7f32;
}

.rank-number {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-muted);
}

/* Player Cell */
.player-cell {
    padding-left: var(--space-2);
}

.player-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Stat Cells */
.points-cell,
.elims-cell {
    font-family: var(--font-display);
    font-weight: 700;
}

.points-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.15) 0%, rgba(234, 3, 9, 0.05) 100%);
    border: 1px solid rgba(234, 3, 9, 0.25);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background-clip: padding-box;
    color: #ff6b6b;
    min-width: 50px;
    text-align: center;
    transition: all 0.2s ease;
}

.points-value::before {
    content: '\2B50';
    font-size: 0.7rem;
    margin-right: 6px;
    filter: grayscale(1) brightness(1.5);
}

.rank-row:hover .points-value {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.25) 0%, rgba(234, 3, 9, 0.1) 100%);
    border-color: rgba(234, 3, 9, 0.4);
    box-shadow: 0 0 12px rgba(234, 3, 9, 0.2);
}

.elims-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 1px solid rgba(147, 51, 234, 0.25);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: #c084fc;
    min-width: 50px;
    text-align: center;
    transition: all 0.2s ease;
}

.elims-value::before {
    content: '\1F480';
    font-size: 0.7rem;
    margin-right: 6px;
}

.rank-row:hover .elims-value {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25) 0%, rgba(147, 51, 234, 0.1) 100%);
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.2);
}

/* Top 3 special styling */
.rank-row.top-1 .points-value,
.rank-row.top-2 .points-value,
.rank-row.top-3 .points-value {
    font-weight: 800;
}

.rank-row.top-1 .elims-value,
.rank-row.top-2 .elims-value,
.rank-row.top-3 .elims-value {
    font-weight: 800;
}

/* ============================================
   Top Killer Section
   ============================================ */
.killer-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(239, 68, 68, 0.03) 100%);
}

.killer-podium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

/* Top Killer Card */
.top-killer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-10);
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-xl);
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.top-killer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.killer-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-5);
}

.killer-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: var(--space-5);
}

.killer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ef4444;
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.3);
}

.killer-avatar .killer-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: killerPulse 3s ease-in-out infinite;
}

@keyframes killerPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.killer-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

.killer-stats {
    display: flex;
    gap: var(--space-4);
}

.killer-stat {
    text-align: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.killer-stat.main {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.killer-stat:not(.main) {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.killer-stat.main .stat-value {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.killer-stat .stat-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
}

.killer-stat:not(.main) .stat-value {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.killer-stat .stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: var(--space-1);
}

/* Killer List */
.killer-list {
    position: relative;
    background: linear-gradient(165deg, rgba(234, 3, 9, 0.14) 0%, rgba(127, 29, 29, 0.08) 35%, var(--bg-card) 100%);
    border: 1px solid rgba(234, 3, 9, 0.34);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 52px rgba(127, 29, 29, 0.28);
    overflow: hidden;
}

.killer-list::before {
    content: none;
}

.killer-list h4 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(234, 3, 9, 0.35);
}

.killer-list h4::before {
    content: '\f532';
    font-family: "uicons-solid-rounded";
    color: var(--primary);
    font-size: 0.95rem;
}

.killer-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 10px 12px;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(234, 3, 9, 0.2);
    border-radius: 12px;
    margin: 0;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.killer-list-item:hover {
    background: rgba(234, 3, 9, 0.12);
    border-color: rgba(234, 3, 9, 0.35);
    transform: translateX(3px);
}

.killer-list-item:last-child {
    border-bottom: none;
}

.killer-rank {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    color: #ff8a8f;
    background: rgba(234, 3, 9, 0.12);
    border: 1px solid rgba(234, 3, 9, 0.28);
    border-radius: 50%;
}

.killer-list-item:nth-of-type(1) .killer-rank {
    color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.24) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.killer-list-item:nth-of-type(2) .killer-rank {
    color: #d1d5db;
    background: linear-gradient(135deg, rgba(209, 213, 219, 0.24) 0%, rgba(156, 163, 175, 0.1) 100%);
    border-color: rgba(209, 213, 219, 0.4);
}

.killer-list-item:nth-of-type(3) .killer-rank {
    color: #d6a06e;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.24) 0%, rgba(176, 101, 42, 0.1) 100%);
    border-color: rgba(205, 127, 50, 0.45);
}

.killer-list-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.killer-kills {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.15) 0%, rgba(234, 3, 9, 0.05) 100%);
    border: 1px solid rgba(234, 3, 9, 0.25);
    border-radius: 999px;
    color: #ff6b6b;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.killer-kills i {
    font-size: 0.72rem;
    color: #ff8a8f;
}

.killer-list-item:hover .killer-kills {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.25) 0%, rgba(234, 3, 9, 0.1) 100%);
    border-color: rgba(234, 3, 9, 0.4);
}

/* ============================================
   Light Mode
   ============================================ */
[data-theme="light"] .tournament-banner-card {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
}

[data-theme="light"] .editions-filter {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .edition-dropdown {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .view-toggle {
    background: #f4f4f5;
}

[data-theme="light"] .leaderboard-wrapper {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .leaderboard-header {
    background: #f8f9fa;
}

[data-theme="light"] .rank-row:hover {
    background: rgba(234, 3, 9, 0.03);
}

[data-theme="light"] .top-killer-card {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}

[data-theme="light"] .killer-list {
    background: linear-gradient(145deg, rgba(234, 3, 9, 0.1) 0%, rgba(234, 3, 9, 0.04) 42%, #ffffff 100%);
    border-color: rgba(234, 3, 9, 0.22);
    box-shadow: 0 14px 34px rgba(234, 3, 9, 0.14);
}

/* Light mode stat styles */
[data-theme="light"] .podium-stats .stat:first-child {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.1) 0%, rgba(234, 3, 9, 0.03) 100%);
    border-color: rgba(234, 3, 9, 0.2);
}

[data-theme="light"] .podium-stats .stat:last-child {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(147, 51, 234, 0.03) 100%);
    border-color: rgba(147, 51, 234, 0.2);
}

[data-theme="light"] .points-value {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.1) 0%, rgba(234, 3, 9, 0.03) 100%);
    border-color: rgba(234, 3, 9, 0.2);
    color: #dc2626;
}

[data-theme="light"] .elims-value {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(147, 51, 234, 0.03) 100%);
    border-color: rgba(147, 51, 234, 0.2);
    color: #9333ea;
}

[data-theme="light"] .killer-kills {
    background: linear-gradient(135deg, rgba(234, 3, 9, 0.1) 0%, rgba(234, 3, 9, 0.03) 100%);
    border-color: rgba(234, 3, 9, 0.2);
    color: #dc2626;
}

[data-theme="light"] .killer-list-item {
    border-bottom-color: rgba(234, 3, 9, 0.14);
}

[data-theme="light"] .killer-stat.main {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    border-color: rgba(239, 68, 68, 0.2);
}

[data-theme="light"] .killer-stat:not(.main) {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(147, 51, 234, 0.03) 100%);
    border-color: rgba(147, 51, 234, 0.15);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
    .leaderboard-header,
    .rank-row {
        grid-template-columns: 60px 1fr 80px 80px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 40px;
    }

    .tournament-banner-card {
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-5);
    }

    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .banner-prize {
        align-items: flex-start;
    }

    .banner-link {
        width: 100%;
        justify-content: center;
    }

    .filter-controls {
        flex-direction: column;
    }

    .edition-dropdown {
        width: 100%;
        max-width: none;
    }

    .view-toggle {
        width: 100%;
        justify-content: center;
    }

    .podium-container {
        flex-direction: column;
        align-items: center;
    }

    .podium-place {
        order: unset !important;
        width: 100%;
        max-width: 280px;
    }

    .podium-stand {
        display: none;
    }

    .leaderboard-header,
    .rank-row {
        grid-template-columns: 50px 1fr 70px 70px;
        padding: var(--space-3) var(--space-4);
    }

    .killer-stats {
        gap: var(--space-3);
    }

    .podium-stats .stat {
        min-width: 60px;
        padding: var(--space-2);
    }

    .podium-stats .stat-value {
        font-size: 1.15rem;
    }

    .points-value,
    .elims-value {
        padding: 4px 8px;
        font-size: 0.85rem;
        min-width: 45px;
    }

    .points-value::before,
    .elims-value::before {
        font-size: 0.6rem;
        margin-right: 4px;
    }
}

@media (max-width: 480px) {
    .editions-filter {
        top: 60px;
        padding: var(--space-3);
        border-radius: var(--radius-lg);
    }

    .toggle-btn span {
        display: none;
    }

    .toggle-btn {
        padding: var(--space-2) var(--space-3);
    }

    .leaderboard-header,
    .rank-row {
        grid-template-columns: 40px 1fr 60px;
    }

    .header-item.elims,
    .elims-cell {
        display: none;
    }

    .killer-stat.main .stat-value {
        font-size: 2rem;
    }

    .killer-stat {
        padding: var(--space-2) var(--space-3);
    }

    .killer-stat .stat-value {
        font-size: 1.2rem;
    }

    .podium-stats {
        gap: var(--space-2);
    }

    .podium-stats .stat {
        min-width: 55px;
        padding: 6px 8px;
    }

    .podium-stats .stat-value {
        font-size: 1rem;
    }

    .podium-stats .stat-label {
        font-size: 0.55rem;
    }
}
