﻿/* ==========================================================================
   FIFA 2026 Country Qualification Page Styles
   Professional Design System
   ========================================================================== */

/* CSS Custom Properties */
.qualification-page-container {
    /* FIFA 2026 Brand Colors */
    --q-primary-navy: #003366;
    --q-primary-blue: #0066cc;
    --q-accent-gold: #ffd700;
    --q-accent-green: #28a745;
    --q-accent-red: #dc3545;
    
    /* Neutral Palette */
    --q-white: #ffffff;
    --q-light-gray: #f8f9fa;
    --q-gray: #6c757d;
    --q-dark-gray: #343a40;
    --q-black: #000000;
    
    /* Typography Scale */
    --q-font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --q-font-heading: 'Poppins', 'Inter', sans-serif;
    --q-font-mono: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    
    /* Elevation System */
    --q-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --q-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --q-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --q-shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.16);
    --q-shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.20);
    
    /* Border Radius Scale */
    --q-radius-xs: 4px;
    --q-radius-sm: 8px;
    --q-radius-md: 12px;
    --q-radius-lg: 16px;
    --q-radius-xl: 20px;
    --q-radius-2xl: 24px;
    
    /* Animation Curves */
    --q-ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
    --q-ease-in: cubic-bezier(0.4, 0.0, 1, 1);
    --q-ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
    
    /* Layout */
    background: linear-gradient(135deg, var(--q-light-gray) 0%, var(--q-medium-gray) 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    font-family: var(--q-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--q-dark-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Main Container
   ========================================================================== */
.q-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Hide scrollbars on qualification pages */
.qualification-page-container, 
.qualification-page-container * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.qualification-page-container *::-webkit-scrollbar {
    display: none !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.q-hero-section {
    background: linear-gradient(135deg, var(--q-primary-navy) 0%, var(--q-primary-blue) 100%);
    border-radius: var(--q-radius-2xl);
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    margin-top: 4.5rem;
    color: var(--q-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--q-shadow-xl);
}

/* Hero Background Effects */
.q-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-dots)"/></svg>');
    opacity: 0.4;
}

.q-hero-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(40px);
}

.q-hero-section .country-name {
    font-family: var(--q-font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, var(--q-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.q-hero-section .hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin: 0;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   Match Card
   ========================================================================== */
.q-match-card {
    border-radius: var(--q-radius-2xl);
    box-shadow: var(--q-shadow-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    transition: all 0.4s var(--q-ease-out);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.q-match-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--q-shadow-2xl);
}

/* Match Header */
.q-match-header {
    background: linear-gradient(135deg, var(--q-primary-navy) 0%, var(--q-primary-blue) 100%);
    color: var(--q-white);
    padding: 1.75rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: var(--q-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.q-match-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Match Body */
.q-match-body {
    padding: 0.125rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--theme-bg-primary);
    position: relative;
}

/* Team Sections */
.q-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--q-radius-xl);
    background: var(--theme-bg-primary);
    box-shadow: var(--q-shadow-sm);
    transition: all 0.3s var(--q-ease-out);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.q-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--q-primary-blue), var(--q-accent-gold));
}

.q-team:hover {
    transform: translateY(-6px);
    box-shadow: var(--q-shadow-lg);
}

.q-team-flag {
    width: 100px;
    height: 55px;
    object-fit: cover;
    border-radius: var(--q-radius-lg);
    box-shadow: var(--q-shadow-md);
    margin-bottom: 1.25rem;
    border: 3px solid var(--q-white);
    transition: all 0.3s var(--q-ease-out);
    position: relative;
}

.q-team-flag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--q-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.q-team:hover .q-team-flag {
    transform: scale(1.08);
    box-shadow: var(--q-shadow-xl);
}

.q-team-name {
    font-family: var(--q-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Score Container */
.q-score-container {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--theme-bg-primary);
    border-radius: var(--q-radius-xl);
    position: relative;
    overflow: hidden;
}

.q-score-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.q-final-score {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3.5rem, 10vw, 5rem);
    color: var(--theme-text-primary);
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.q-match-status {
    display: inline-block;
    font-family: var(--q-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--q-white);
    background: linear-gradient(135deg, var(--q-accent-green) 0%, #20c997 100%);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--q-shadow-md);
    position: relative;
    overflow: hidden;
}

.q-match-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: statusShine 2s infinite;
}

@keyframes statusShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Match Footer */
.q-match-footer {
    background: var(--theme-bg-primary);
    padding: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.q-footer-title {
    font-family: var(--q-font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--theme-text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.q-footer-title svg {
    width: 28px;
    height: 28px;
    fill: var(--theme-text-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    margin-top: 1.45rem;
}

.q-footer-content {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.q-footer-content li {
    background: var(--theme-bg-primary);
    padding: 1.5rem;
    border-radius: var(--q-radius-lg);
    box-shadow: var(--q-shadow-sm);
    transition: all 0.3s var(--q-ease-out);
    border-left: 5px solid var(--q-accent-gold);
    position: relative;
    overflow: hidden;
    color: var(--theme-text-primary);
}

.q-footer-content li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--theme-bg-primary);
}

.q-footer-content li:hover {
    transform: translateX(6px);
    box-shadow: var(--q-shadow-md);
}

.q-footer-content li strong {
    color: var(--theme-text-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ==========================================================================
   Narrative Section
   ========================================================================== */
.q-narrative-section {
    background: var(--theme-bg-primary);
    padding: 3.5rem;
    border-radius: var(--q-radius-2xl);
    text-align: left;
    line-height: 1.75;
    font-family: var(--q-font-primary);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.q-narrative-section h3 {
    font-family: var(--q-font-heading);
    color: var(--theme-text-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 2.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--q-accent-gold);
    position: relative;
    letter-spacing: -0.02em;
}

.q-narrative-section h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--q-primary-blue);
    border-radius: 2px;
}

.q-narrative-section p {
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
    color: var(--theme-text-secondary);
    letter-spacing: 0.01em;
}

.q-narrative-section ul {
    background: var(--theme-bg-secondary);
    padding: 2.5rem;
    border-radius: var(--q-radius-xl);
    margin: 2.5rem 0;
    border-left: 6px solid var(--q-primary-blue);
    box-shadow: var(--q-shadow-sm);
    color: var(--theme-text-primary);
}

.q-narrative-section ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.q-narrative-section ul li::before { content: '⚽'; position: absolute; left: 0; color: var(--q-primary-blue); font-size: 1.2rem; top: 0.1rem; }

.q-narrative-section .highlight h1 {
    color: var(--theme-text-primary);
    
}

.q-narrative-section .highlight {
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
    color: var(--theme-text-secondary);
    letter-spacing: 0.01em;
    margin-bottom: 5rem;
    position: relative;
    margin-top: 3rem;
}

.q-narrative-section .highlight::before {
    content: 'Summary';
    display: block;
    font-family: var(--q-font-heading);
    color: var(--theme-text-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 2.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--q-accent-gold);
    position: relative;
    letter-spacing: -0.02em;
}

.q-narrative-section .highlight::after {
    content: '';
    position: absolute;
    top: 5.9rem;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--q-primary-blue);
    border-radius: 2px;
}

/* ==========================================================================
   Team Logo Header Section - Universal for All Countries
   ========================================================================== */
   .q-team-logo-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--q-white) 0%, var(--q-light-gray) 100%);
    border-radius: var(--q-radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--q-shadow-sm);
    position: relative;
    overflow: hidden;
}

.q-logo-container {
    flex-shrink: 0;
    position: relative;
}

.q-team-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: all 0.3s var(--q-ease-out);
    background: var(--q-white);
    border-radius: var(--q-radius-md);
    padding: 8px;
    border: 2px solid rgba(0, 102, 204, 0.2);
}

.q-team-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    border-color: var(--q-primary-blue);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.q-logo-info {
    flex: 1;
    min-width: 0;
    margin-top: 1.5rem;
}

.q-team-title {
    font-family: var(--q-font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--q-primary-navy);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.q-team-subtitle {
    font-size: 1rem;
    color: var(--q-gray);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Status-based styling variants */
.q-team-logo-header.qualified::before {
    background: linear-gradient(90deg, var(--q-accent-green) 0%, var(--q-accent-gold) 50%, var(--q-accent-green) 100%);
}

.q-team-logo-header.host::before {
    background: linear-gradient(90deg, var(--q-accent-gold) 0%, #ffed4e 50%, var(--q-accent-gold) 100%);
}

.q-team-logo-header.eliminated::before {
    background: linear-gradient(90deg, var(--q-accent-red) 0%, #ff6b6b 50%, var(--q-accent-red) 100%);
}

/* ==========================================================================
   Responsive Design for Logo Header
   ========================================================================== */
@media (max-width: 768px) {
    .q-team-logo-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .q-team-logo {
        width: 80px;
        height: 80px;
    }
    
    .q-team-title {
        font-size: 1.5rem;
    }
    
    .q-team-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .q-team-logo-header {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .q-team-logo {
        width: 70px;
        height: 70px;
    }
    
    .q-team-title {
        font-size: 1.3rem;
    }
    
    .q-team-subtitle {
        font-size: 0.8rem;
    }
}

/* Dark theme support */
[data-theme="dark"] .q-team-logo-header {
    background: linear-gradient(135deg, var(--q-dark-gray) 0%, rgba(52, 58, 64, 0.8) 100%);
}

[data-theme="dark"] .q-team-logo {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .q-team-title {
    color: var(--q-white);
}

[data-theme="dark"] .q-team-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Print styles */
@media print {
    .q-team-logo-header {
        background: white !important;
        border: 2px solid #ddd;
        box-shadow: none;
    }
    
    .q-team-logo {
        border-color: #ddd !important;
    }
    
    .q-team-title {
        color: black !important;
    }
    
    .q-team-subtitle {
        color: #666 !important;
    }
}

/* ==========================================================================
   Professional Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.q-hero-section {
    animation: fadeInUp 1s var(--q-ease-out);
}

.q-match-card {
    animation: fadeInUp 1s var(--q-ease-out) 0.2s both;
}

.q-narrative-section {
    animation: fadeInUp 1s var(--q-ease-out) 0.4s both;
}

/* ==========================================================================
   Accessibility & Performance
   ========================================================================== */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    margin: -1px;
    word-wrap: normal !important;
}

/* Focus Management */
.q-team:focus-within,
.q-match-card:focus-within {
    outline: 3px solid var(--q-accent-gold);
    outline-offset: 4px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .qualification-page-container {
        --q-primary-navy: #000000;
        --q-primary-blue: #0000ff;
        --q-dark-gray: #000000;
        --q-light-gray: #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Responsive Design System
   ========================================================================== */
@media (max-width: 1200px) {
    .qualification-page-container {
        padding: 1.5rem 1rem;
    }
    
    .q-narrative-section {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .qualification-page-container {
        padding: 1rem 0.75rem;
    }

    .q-hero-section {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }

    .q-match-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .q-team {
        padding: 1.5rem;
    }

    .q-team-flag {
        width: 70px;
        height: 50px;
    }

    .q-score-container {
        order: -1;
        padding: 2rem 1.5rem;
    }

    .q-final-score {
        font-size: 3.5rem;
    }

    .q-footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .q-match-footer {
        padding: 2rem;
    }

    .q-narrative-section {
        padding: 2rem;
    }

    .q-narrative-section h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .qualification-page-container {
        padding: 0.75rem 0.5rem;
    }

    .q-hero-section {
        padding: 2.5rem 1rem;
    }

    .q-match-body {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .q-team {
        padding: 1.25rem;
    }

    .q-team-flag {
        width: 60px;
        height: 40px;
    }

    .q-final-score {
        font-size: 3rem;
    }

    .q-match-header {
        font-size: 1rem;
        padding: 1.25rem 1rem;
    }

    .q-narrative-section {
        padding: 1.5rem;
    }

    .q-narrative-section h3 {
        font-size: 1.75rem;
    }

    .q-narrative-section p {
        font-size: 1rem;
    }

    .q-footer-content li {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .qualification-page-container {
        background: white;
        padding: 0;
    }
    
    .q-hero-section,
    .q-match-card,
    .q-narrative-section {
        box-shadow: none;
        border: 2px solid #ddd;
        break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .q-hero-section {
        background: white !important;
        color: black !important;
    }
    
    .q-match-header {
        background: #f5f5f5 !important;
        color: black !important;
    }
    
    .q-final-score {
        color: black !important;
    }
}

/* ===== PROFESSIONAL COUNTRY NAVIGATION ENHANCEMENTS ===== */

/* ===== ENHANCED COUNTRY NAVIGATION TOGGLE ===== */
.country-nav-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-right: none;
    border-radius: 16px 0 0 16px;
    padding: 16px 10px 16px 16px;
    cursor: pointer;
    box-shadow: -4px 0 20px var(--theme-shadow-light);
    transition: var(--transition-base);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 100px;
    justify-content: center;
    backdrop-filter: blur(15px);
    border-left: 3px solid var(--fifa-blue);
}

.country-nav-toggle:hover {
    background: var(--theme-card-bg);
    transform: translateY(-50%);
    box-shadow: -8px 0 24px var(--theme-shadow-medium);
    border-left-color: var(--fifa-gold);
}

.country-nav-toggle.hidden {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
}

.nav-arrow {
    font-size: 1.8rem;
    color: var(--fifa-blue);
    font-weight: 700;
    transition: var(--transition-fast);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-label {
    font-size: 0.75rem;
    color: var(--theme-text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-heading);
}

.country-nav-toggle:hover .nav-arrow {
    color: var(--fifa-gold);
    transform: translateX(-3px) scale(1.1);
}

.country-nav-toggle:hover .nav-label {
    color: var(--theme-text-primary);
}

/* ===== ENHANCED COUNTRY NAVIGATION SIDEBAR ===== */
.country-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    pointer-events: none;
    transition: var(--transition-base);
    visibility: hidden;
    opacity: 0;
}

.country-navigation.active {
    pointer-events: all;
    visibility: visible;
    opacity: 1;
}

/* ===== ENHANCED OVERLAY ===== */
.country-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-overlay-bg);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: var(--transition-base);
}

.country-navigation.active .country-nav-overlay {
    opacity: 1;
}

/* ===== ENHANCED NAVIGATION PANEL ===== */
.country-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: var(--theme-card-bg);
    transform: translateX(100%);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px var(--theme-shadow-heavy);
    z-index: 1002;
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--theme-border-color);
}

.country-navigation.active .country-nav-panel {
    transform: translateX(0);
}

/* ===== ENHANCED NAVIGATION HEADER ===== */
.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    border-bottom: 2px solid var(--theme-border-color);
    background: linear-gradient(135deg, var(--theme-card-bg) 0%, var(--theme-bg-secondary) 100%);
    position: relative;
}

.nav-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--fifa-blue) 0%, var(--fifa-gold) 50%, var(--fifa-blue) 100%);
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon {
    font-size: 2rem;
    color: var(--fifa-blue);
    filter: drop-shadow(0 2px 4px var(--theme-shadow-light));
}

.title-text h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--theme-text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.85rem;
    color: var(--theme-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-close {
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    font-size: 1.5rem;
    color: var(--theme-text-secondary);
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: var(--transition-base);
    line-height: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.nav-close:hover {
    background: var(--fifa-red);
    color: var(--fifa-white);
    border-color: var(--fifa-red);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ===== ENHANCED FILTER TABS ===== */
.nav-filters {
    display: flex;
    padding: 1.5rem 1.5rem 0;
    gap: 4px;
    background: var(--theme-card-bg);
}

.filter-tab {
    flex: 1;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-tab:hover {
    background: var(--theme-bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-tab.active {
    background: var(--theme-card-bg);
    border-bottom-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fifa-blue) 0%, var(--fifa-gold) 100%);
    border-radius: 0 0 2px 2px;
}

.tab-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--theme-text-secondary);
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tab.active .tab-text {
    color: var(--theme-text-primary);
}

.tab-count {
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    font-weight: 600;
    background: var(--theme-bg-tertiary);
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid var(--theme-border-color);
}

.filter-tab.active .tab-count {
    background: var(--fifa-blue);
    color: var(--fifa-white);
    border-color: var(--fifa-blue);
    transform: scale(1.05);
}

/* ===== ENHANCED NAVIGATION CONTENT ===== */
.nav-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--theme-card-bg);
}

.countries-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--fifa-blue) var(--theme-bg-secondary);
}

.countries-list::-webkit-scrollbar {
    width: 6px;
}

.countries-list::-webkit-scrollbar-track {
    background: var(--theme-bg-secondary);
    border-radius: 3px;
}

.countries-list::-webkit-scrollbar-thumb {
    background: var(--fifa-blue);
    border-radius: 3px;
    transition: var(--transition-base);
}

.countries-list::-webkit-scrollbar-thumb:hover {
    background: var(--fifa-gold);
}

/* ===== ENHANCED COUNTRY ITEMS ===== */
.country-tab {
    margin: 0 1rem 4px;
    transition: var(--transition-base);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    position: relative;
}

.country-tab:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--fifa-blue);
}

.country-tab:not(:last-child) {
    margin-bottom: 8px;
}

/* ===== ENHANCED COUNTRY LINKS ===== */
.country-link {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
    position: relative;
    gap: 1rem;
    min-height: 80px;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

.country-link:not(.current-country):hover {
    background: linear-gradient(135deg, var(--theme-card-bg) 0%, var(--theme-bg-tertiary) 100%);
}

.current-country {
    background: linear-gradient(135deg, var(--fifa-blue) 0%, var(--fifa-navy) 100%);
    color: var(--fifa-white);
    cursor: default;
    border: 2px solid var(--fifa-gold);
    box-shadow: var(--shadow-lg);
}

.current-country .country-name,
.current-country .country-meta {
    color: var(--fifa-white);
}

/* ===== ENHANCED STATUS INDICATORS ===== */
.country-tab.host::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--fifa-gold) 0%, #ffed4e 100%);
    border-radius: 0 2px 2px 0;
}

.country-tab.qualified::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--fifa-blue) 0%, var(--fifa-navy) 100%);
    border-radius: 0 2px 2px 0;
}

/* ===== ENHANCED COUNTRY FLAGS ===== */
.country-banner {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--theme-card-bg);
    transition: var(--transition-base);
    border: 2px solid var(--theme-border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.country-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 10px;
}

.country-link:hover .country-banner {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--fifa-gold);
    box-shadow: var(--shadow-md);
}

.current-country .country-banner {
    border-color: var(--fifa-white);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== ENHANCED COUNTRY INFO ===== */
.country-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.country-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-heading);
    letter-spacing: -0.25px;
}

.country-meta {
    font-size: 0.8rem;
    color: var(--theme-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* ===== ENHANCED NAVIGATION ELEMENTS ===== */
.nav-chevron {
    font-size: 1.2rem;
    color: var(--theme-text-secondary);
    transition: var(--transition-base);
    flex-shrink: 0;
    opacity: 0.6;
    background: var(--theme-bg-tertiary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--theme-border-color);
}

.country-link:hover .nav-chevron {
    color: var(--fifa-white);
    background: var(--fifa-blue);
    border-color: var(--fifa-blue);
    transform: translateX(4px) scale(1.1);
    opacity: 1;
    box-shadow: var(--shadow-sm);
}

.current-indicator {
    font-size: 1rem;
    color: var(--fifa-gold);
    flex-shrink: 0;
    opacity: 1;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 4px var(--fifa-gold));
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ===== ENHANCED NAVIGATION FOOTER ===== */
.nav-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--theme-border-color);
    background: linear-gradient(135deg, var(--theme-bg-secondary) 0%, var(--theme-card-bg) 100%);
    position: relative;
}

.nav-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--fifa-blue) 0%, var(--fifa-gold) 50%, var(--fifa-blue) 100%);
}

.qualification-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--theme-text-secondary);
    background: var(--theme-card-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--theme-border-color);
    box-shadow: var(--shadow-sm);
}

.note-icon {
    font-size: 1.1rem;
    color: var(--fifa-blue);
    background: var(--theme-bg-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fifa-blue);
}

.note-text {
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE NAVIGATION ENHANCEMENTS ===== */
@media (max-width: 1024px) {
    .country-nav-panel {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .country-nav-toggle {
        right: 15px;
        padding: 12px 8px 12px 12px;
        min-height: 80px;
        border-radius: 12px 0 0 12px;
    }
    
    .nav-arrow {
        font-size: 1.5rem;
    }
    
    .nav-label {
        font-size: 0.7rem;
    }
    
    .country-nav-panel {
        width: 340px;
    }
    
    .nav-header {
        padding: 1.5rem 1.25rem;
    }
    
    .nav-filters {
        padding: 1.25rem 1.25rem 0;
        gap: 2px;
    }
    
    .filter-tab {
        padding: 0.75rem 1rem;
    }
    
    .tab-text {
        font-size: 0.8rem;
    }
    
    .tab-count {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .country-tab {
        margin: 0 1rem 6px;
    }
    
    .country-link {
        padding: 1rem 1.25rem;
        min-height: 72px;
    }
    
    .country-banner {
        font-size: 1.8rem;
        width: 42px;
        height: 42px;
    }
    
    .country-name {
        font-size: 1rem;
    }
    
    .country-meta {
        font-size: 0.75rem;
    }
    
    .nav-footer {
        padding: 1.25rem;
    }
    
    .qualification-note {
        font-size: 0.8rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .country-nav-toggle {
        right: 10px;
        padding: 10px 6px 10px 10px;
        min-height: 70px;
    }
    
    .nav-arrow {
        font-size: 1.3rem;
    }
    
    .nav-label {
        font-size: 0.65rem;
    }
    
    .country-nav-panel {
        width: 300px;
    }
    
    .nav-header {
        padding: 1.25rem 1rem;
    }
    
    .title-text h3 {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.75rem;
    }
    
    .nav-filters {
        padding: 1rem 1rem 0;
        gap: 1px;
    }
    
    .filter-tab {
        padding: 0.6rem 0.75rem;
    }
    
    .tab-text {
        font-size: 0.75rem;
    }
    
    .tab-count {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
    
    .country-tab {
        margin: 0 0.75rem 4px;
    }
    
    .country-link {
        padding: 0.875rem 1rem;
        min-height: 64px;
        gap: 0.75rem;
    }
    
    .country-banner {
        font-size: 1.6rem;
        width: 38px;
        height: 38px;
    }
    
    .country-name {
        font-size: 0.9rem;
    }
    
    .country-meta {
        font-size: 0.7rem;
    }
    
    .nav-chevron {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .nav-footer {
        padding: 1rem 0.75rem;
    }
    
    .qualification-note {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }
    
    .note-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

/* ===== DARK THEME NAVIGATION ENHANCEMENTS ===== */
[data-theme="dark"] .country-nav-panel {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .nav-header {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
}

[data-theme="dark"] .nav-footer {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
}

[data-theme="dark"] .country-tab {
    background: rgba(64, 64, 64, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .country-tab:hover {
    background: rgba(64, 64, 64, 0.8);
    border-color: var(--fifa-blue);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

[data-theme="dark"] .country-banner {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-chevron {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .qualification-note {
    background: rgba(45, 45, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .country-navigation,
    .country-nav-panel,
    .country-nav-overlay,
    .country-nav-toggle,
    .country-link,
    .filter-tab,
    .country-banner,
    .nav-chevron,
    .current-indicator {
        transition: none;
        animation: none;
    }
}

/* ===== FOCUS STATES ===== */
.country-nav-toggle:focus,
.nav-close:focus,
.filter-tab:focus,
.country-link:focus {
    outline: 3px solid var(--fifa-gold);
    outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .country-nav-togle {
        border-width: 2px;
        border-color: var(--theme-text-primary);
    }
    
    .country-tab.host::before,
    .country-tab.qualified::before {
        width: 6px;
    }
    
    .nav-header,
    .nav-footer {
        border-width: 3px;
    }
    
    .country-banner,
    .nav-chevron {
        border-width: 2px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .country-navigation,
    .country-nav-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   View Players List Button - Professional CTA Design
   ========================================================================== */
.players-list-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--q-light-gray) 0%, var(--q-white) 100%);
    border-radius: var(--q-radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--q-shadow-sm);
    position: relative;
    overflow: hidden;
}

.players-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="players-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="rgba(0,102,204,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23players-dots)"/></svg>');
    opacity: 0.5;
}

.btn-view-players {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    font-family: var(--q-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--q-white);
    background: linear-gradient(135deg, var(--q-primary-navy) 0%, var(--q-primary-blue) 100%);
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--q-shadow-lg);
    transition: all 0.4s var(--q-ease-out);
    cursor: pointer;
    overflow: hidden;
}

/* Button shine effect */
.btn-view-players::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s var(--q-ease-out);
}

.btn-view-players:hover::before {
    left: 100%;
}

/* Button gold accent line */
.btn-view-players::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--q-accent-gold);
    transform: translateX(-50%);
    transition: all 0.4s var(--q-ease-out);
}

.btn-view-players:hover::after {
    width: 80%;
}

/* Button hover state */
.btn-view-players:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--q-shadow-2xl);
    border-color: var(--q-accent-gold);
    background: linear-gradient(135deg, var(--q-primary-blue) 0%, var(--q-primary-navy) 100%);
}

/* Button active/pressed state */
.btn-view-players:active {
    transform: translateY(-2px) scale(1);
    box-shadow: var(--q-shadow-lg);
}

/* Button icon */
.btn-view-players .btn-icon {
    font-size: 1.4rem;
    transition: transform 0.4s var(--q-ease-out);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-view-players:hover .btn-icon {
    transform: translateX(6px) scale(1.1);
}

/* Button text */
.btn-view-players .btn-text {
    position: relative;
    z-index: 1;
}

/* Alternative button style - Gold version */
.btn-view-players.gold-style {
    background: linear-gradient(135deg, var(--q-accent-gold) 0%, #ffed4e 100%);
    color: var(--q-primary-navy);
    border-color: var(--q-accent-gold);
}

.btn-view-players.gold-style:hover {
    background: linear-gradient(135deg, #ffed4e 0%, var(--q-accent-gold) 100%);
    border-color: var(--q-primary-navy);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

/* Alternative button style - Outline version */
.btn-view-players.outline-style {
    background: transparent;
    color: var(--q-primary-navy);
    border: 3px solid var(--q-primary-navy);
    box-shadow: none;
}

.btn-view-players.outline-style:hover {
    background: var(--q-primary-navy);
    color: var(--q-white);
    border-color: var(--q-accent-gold);
}

/* Section with heading and description */
.players-section-wrapper {
    text-align: center;
    margin: 3rem 0;
}

.players-section-heading {
    font-family: var(--q-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--q-primary-navy);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.players-section-description {
    font-size: 1.125rem;
    color: var(--q-gray);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

/* Responsive design for players button */
@media (max-width: 768px) {
    .players-list-section {
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .btn-view-players {
        padding: 1.125rem 2.5rem;
        font-size: 1rem;
        gap: 0.875rem;
    }

    .btn-view-players .btn-icon {
        font-size: 1.25rem;
    }

    .players-section-heading {
        font-size: 1.75rem;
    }

    .players-section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .players-list-section {
        margin: 1.5rem 0;
        padding: 1.25rem;
    }

    .btn-view-players {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .btn-view-players .btn-icon {
        font-size: 1.125rem;
    }

    .players-section-heading {
        font-size: 1.5rem;
    }

    .players-section-description {
        font-size: 0.9rem;
    }
}

/* Dark theme support */
[data-theme="dark"] .players-list-section {
    background: linear-gradient(135deg, var(--q-dark-gray) 0%, rgba(52, 58, 64, 0.8) 100%);
}

[data-theme="dark"] .players-section-heading {
    color: var(--q-white);
}

[data-theme="dark"] .players-section-description {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .btn-view-players.outline-style {
    color: var(--q-white);
    border-color: var(--q-accent-gold);
}

[data-theme="dark"] .btn-view-players.outline-style:hover {
    background: var(--q-accent-gold);
    color: var(--q-primary-navy);
}

/* Focus state for accessibility */
.btn-view-players:focus {
    outline: 3px solid var(--q-accent-gold);
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .players-list-section {
        background: white !important;
        border: 2px solid #ddd;
        box-shadow: none;
    }

    .btn-view-players {
        background: white !important;
        color: black !important;
        border: 2px solid black !important;
    }
}

/* Loading state (optional) */
.btn-view-players.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-view-players.loading::before {
    left: -100%;
    animation: buttonLoading 1.5s infinite;
}

@keyframes buttonLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Success state animation (optional) */
@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); }
}

.btn-view-players.success {
    background: linear-gradient(135deg, var(--q-accent-green) 0%, #20c997 100%);
    animation: successPulse 1s ease-out;
}