:root {
    /* Futuristic Dark Theme Colors */
    --bg-dark: #0a0b10;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-primary: #00f2ff;
    /* Electric Cyan */
    --accent-secondary: #7000ff;
    /* Electric Purple */
    --text-light: #e0e6ed;
    --text-muted: #94a3b8;
    --border-glow: rgba(0, 242, 255, 0.3);
    --purple-glow: rgba(112, 0, 255, 0.3);
    --glass-bg: rgba(15, 17, 26, 0.7);
    --sidebar-width: 250px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(112, 0, 255, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body.home-bg {
    background-image: linear-gradient(rgba(10, 11, 16, 0.5), rgba(10, 11, 16, 0.5)), url('../images/webp/alwaysLandBGColor.webp') !important;
}

body.tournaments-bg {
    background-image: linear-gradient(rgba(10, 11, 16, 0.5), rgba(10, 11, 16, 0.5)), url('../images/webp/fondo.webp') !important;
}

body.teams-bg {
    background-image: linear-gradient(rgba(10, 11, 16, 0.5), rgba(10, 11, 16, 0.5)), url('../images/webp/menuBG.webp') !important;
}

body.global-bg {
    background-image: linear-gradient(rgba(10, 11, 16, 0.5), rgba(10, 11, 16, 0.5)), url('../images/webp/tipTopBGColor.webp') !important;
}

/* Grid Background Overlay Removed - Replaced with minimal decorative icons */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
} */

.corner-icon {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 1001;
    /* Above main but below special overlays */
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.page-corner {
    position: absolute !important;
}

body:hover .corner-icon {
    opacity: 0.8;
}

.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

.achievement-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    transform: rotate(15deg);
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.4));
    z-index: 10;
}

.credits-footer {
    margin-top: 5rem;
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.credits-footer img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.credits-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.credits-text b {
    color: var(--accent-primary);
}

/* Navbar */
nav {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 8px var(--border-glow));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: all 0.3s;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-primary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--border-glow);
}

.nav-links a.active::after {
    width: 100%;
}

#nav-market {
    display: none !important;
}

/* Main Content */
main {
    flex: 1;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
}

.section {
    display: none;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.active {
    display: block;
    will-change: transform, opacity;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Information Section (Home) */
.presentation-card {
    display: flex;
    align-items: center;
    background: rgba(15, 17, 26, 0.6);
    /* No blur, solid glass look */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-bottom: 5rem;
    position: relative;
}

.presentation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.presentation-card img {
    width: 45%;
    object-fit: cover;
    min-height: 450px;
    mask-image: linear-gradient(to right, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent);
}

.presentation-content {
    padding: 4rem;
    flex: 1;
}

.presentation-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.presentation-content p {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 600px;
}

/* News Section */
.section-title {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 32px;
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
    border-radius: 2px;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.notice-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    will-change: transform, box-shadow;
}

.notice-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 242, 255, 0.1);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notice-id {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 242, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
}

.notice-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.notice-content {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-light);
}

.notice-image {
    margin-top: 1.5rem;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Show full image without cropping */
    background: rgba(0, 0, 0, 0.2);
    /* Added subtle background for empty spaces */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.5s;
}

.notice-card:hover .notice-image {
    transform: scale(1.05);
}

/* Discord Markdown Enhancements */
.mention {
    background-color: rgba(0, 242, 255, 0.1);
    color: var(--accent-primary);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.mention:hover {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    text-decoration: none;
}

blockquote {
    border-left: 4px solid var(--accent-secondary);
    padding: 1rem 1.5rem;
    background: rgba(112, 0, 255, 0.05);
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    color: #d1d5db;
    font-style: italic;
}

code {
    font-family: 'JetBrains Mono', monospace;
    background: #1e1e1e !important;
    color: #ff9d00 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
}

pre {
    background: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Tournaments Grid */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    /* Removed backdrop-filter */
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(112, 0, 255, 0.1);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

/* Table Design */
.table-container {
    background: rgba(255, 255, 255, 0.03);
    /* Simplified background */
    border-radius: 24px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

td {
    padding: 1.5rem 2rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 1rem;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

/* Search Input */
.search-container {
    margin-bottom: 3rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s;
    /* Removed backdrop-filter for performance */
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Discord Button Styling */
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.4),
        0 0 20px rgba(88, 101, 242, 0.2);
    filter: brightness(1.1);
}

.btn-back {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
    transform: translateX(-5px);
}

.team-logo-small {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links a {
        padding: 1.5rem 2rem;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a::after {
        display: none;
    }

    main {
        padding: 2rem 5%;
    }

    .presentation-card {
        flex-direction: column;
        padding: 2rem !important;
    }

    .presentation-content {
        padding: 2rem 0 !important;
    }

    .presentation-content h2 {
        font-size: 2.2rem;
    }

    .presentation-card img {
        width: 100%;
        height: 300px;
        min-height: auto;
        mask-image: none;
        border-radius: 12px;
    }

    h1 {
        font-size: 2.2rem;
    }

    th,
    td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .news-container {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   MATCH STATS MODAL
   ═══════════════════════════════════════════════════════════ */
.match-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.match-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.match-modal {
    background: linear-gradient(135deg, rgba(15, 17, 26, 0.95), rgba(20, 22, 35, 0.95));
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 255, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.match-modal-overlay.active .match-modal {
    transform: translateY(0) scale(1);
}

.match-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.match-modal-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0.5rem 0;
}

.match-modal-score .vs-separator {
    color: var(--accent-primary);
    margin: 0 0.75rem;
    font-size: 1.5rem;
}

.match-modal-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.match-modal-teams .team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.match-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.match-modal-close:hover {
    color: var(--accent-primary);
}

.match-modal .stats-team-section {
    margin-bottom: 1.5rem;
}

.match-modal .stats-team-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
}

.match-modal .stats-table {
    width: 100%;
    border-collapse: collapse;
}

.match-modal .stats-table th {
    padding: 0.6rem 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.match-modal .stats-table td {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.match-modal .no-stats {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

/* Match row clickable highlight */
tr.match-row-clickable {
    cursor: pointer;
    transition: background 0.2s;
}

tr.match-row-clickable:hover td {
    background: rgba(0, 242, 255, 0.05) !important;
}

/* ═══════════════════════════════════════════════════════════
   PHASE VISUAL (SVG diagrams above tables)
   ═══════════════════════════════════════════════════════════ */
.phase-visual {
    margin: 1rem 0 0.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.phase-visual svg {
    display: block;
    margin: 0 auto;
}

.phase-visual svg text {
    font-family: 'Outfit', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL RANKING — Player Tables by Position
   ═══════════════════════════════════════════════════════════ */
.ranking-selector {
    margin-bottom: 2rem;
}

.ranking-selector select {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 250px;
}

.ranking-selector select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.ranking-selector select option {
    background: #1a1c2e;
    color: var(--text-light);
}

.ranking-tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ranking-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.ranking-category-header {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ranking-category-header.dc {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.05);
}

.ranking-category-header.mc {
    color: #ffd93d;
    border-color: rgba(255, 217, 61, 0.3);
    background: rgba(255, 217, 61, 0.05);
}

.ranking-category-header.gk {
    color: #6bcb77;
    border-color: rgba(107, 203, 119, 0.3);
    background: rgba(107, 203, 119, 0.05);
}

.ranking-category table {
    width: 100%;
}

.ranking-category th {
    padding: 0.8rem 1rem;
    font-size: 0.7rem;
}

.ranking-category td {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

/* Phase Winners */
.phase-winners {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.winner-card {
    display: flex;
    align-items: center;
    background: var(--surface-light);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, border-color 0.2s;
}

.winner-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-secondary);
}

.winner-pos {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-secondary);
    margin-right: 1.25rem;
}

.winner-info {
    display: flex;
    flex-direction: column;
}

.winner-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}