* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    /* Ensure proper scroll context */
    overflow-x: hidden !important;
    position: relative !important;
}

:root {
    /* Color Variables */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --success-color-rgb: 16, 185, 129;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Border Colors */
    --border-primary: rgba(148, 163, 184, 0.2);
    --border-secondary: rgba(148, 163, 184, 0.1);
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.3);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    height: 100%;
    /* Lock down body positioning */
    position: relative !important;
    transform: none !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* App Container - ensure it doesn't interfere with header */
.app-container {
    min-height: 100vh;
    /* Reserve extra space below the fixed header so content doesn't get hidden */
    padding-top: 220px !important;
    background: 
        radial-gradient(ellipse at top, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    /* Ensure this container doesn't create new stacking context that interferes with header */
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
    will-change: auto !important;
}

/* NUCLEAR OPTION: Override any possible interference with header */
.app-container .app-header,
.app-container > .app-header,
* .app-header,
header.app-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    transform: none !important;
    will-change: auto !important;
}

/* Header Styles */
.app-header {
    padding: 0.75rem 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.chatbot-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    background: #ffffff;
    color: #2d3748;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    border: 3px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 180px;
    justify-content: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.chatbot-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s;
}

.chatbot-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
    border-color: #667eea;
    color: #667eea;
}

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

.chatbot-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.15);
    background: #edf2f7;
}

.chatbot-btn i {
    font-size: 1.2rem;
    animation: robotPulse 2s infinite;
    color: #667eea;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.logo-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.logo-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Navigation Buttons */
.nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    background: #ffffff;
    color: #2d3748;
    text-decoration: none;
    border: 3px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 180px;
    justify-content: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 147, 251, 0.2), transparent);
    transition: left 0.6s;
}

.nav-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

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

.nav-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.15);
    background: #edf2f7;
}

.nav-btn i {
    font-size: 1.2rem;
}

.contact-btn:hover {
    border-color: #f093fb;
    color: #f093fb;
}

.contact-btn::before {
    background: linear-gradient(90deg, transparent, rgba(240, 147, 251, 0.2), transparent);
}

.contact-btn i {
    animation: contactPulse 2s infinite;
    color: #f093fb;
}

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

.community-btn:hover {
    border-color: #4facfe;
    color: #4facfe;
}

.community-btn::before {
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.2), transparent);
}

.community-btn i {
    animation: communityPulse 2s infinite;
    color: #4facfe;
}

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

.team-lab-btn:hover {
    border-color: #ed8936;
    color: #ed8936;
}

.team-lab-btn::before {
    background: linear-gradient(90deg, transparent, rgba(237, 137, 54, 0.2), transparent);
}

.team-lab-btn i {
    animation: teamLabPulse 2s infinite;
    color: #ed8936;
}

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

/* Upload Section */
.upload-section {
    padding: var(--space-xl) 0;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.upload-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.upload-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.upload-icon {
    font-size: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.upload-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.upload-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.upload-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.file-input {
    display: none;
}

.upload-btn,
.extract-btn,
.action-btn {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.upload-btn {
    background: var(--primary-gradient);
    color: white;
}

.extract-btn {
    background: var(--success-gradient);
    color: white;
}

.upload-btn:hover,
.extract-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.extract-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Save Team Button */
#saveTeamBtn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

#saveTeamBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

#saveTeamBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.upload-help {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Image Preview */
.image-preview {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.image-preview h4 {
    margin: 0 0 var(--space-md) 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.image-preview img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-sm);
}

/* Players Section */
.players-section {
    padding: 0 0 var(--space-xl) 0;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-lg) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.section-title {
    flex: 1;
}

.section-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-item .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: var(--space-xs);
}

.stat-separator {
    color: var(--text-muted);
    font-size: 1.2rem;
    opacity: 0.5;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-actions {
    display: flex;
    gap: var(--space-sm);
}

.action-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.action-btn.secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.action-btn.primary,
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary:hover,
.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Table Styles */
.table-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.table-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

.players-table {
    width: 100%;
    border-collapse: collapse;
}

.players-table thead {
    background: var(--bg-tertiary);
}

.players-table th {
    padding: var(--space-md) var(--space-sm);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.players-table td {
    padding: var(--space-md) var(--space-sm);
    border-bottom: 1px solid var(--border-secondary);
    color: var(--text-secondary);
    vertical-align: middle;
}

.players-table tbody tr {
    transition: all 0.2s ease;
}

.players-table tbody tr:hover {
    background: var(--bg-card-hover);
    transform: scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Table Column Styling */
.col-avatar {
    width: 60px;
}

.col-player {
    min-width: 200px;
}

/* Opposition column width is already defined as col-opposition */

/* Position and difficulty columns removed */

.col-opposition {
    width: 150px;
}

.col-fixture {
    width: 120px;
}

.col-actions {
    width: 200px;
}

/* Player Avatar */
.player-avatar-cell {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Player Name */
.player-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Position Badge */
.position-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.position-badge.gk {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.position-badge.def {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.position-badge.mid {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.position-badge.fwd {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Opposition Container */
.opposition-container {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.opposition-name.unknown-opposition {
    color: var(--text-tertiary);
    font-style: italic;
}

.opposition-edit-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    opacity: 0.7;
}

.opposition-edit-btn:hover {
    opacity: 1;
    background: rgba(var(--primary-color-rgb), 0.1);
}

/* Opposition Selection Dropdown */
.opposition-dropdown {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
    transition: border-color 0.2s ease;
}

.opposition-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.opposition-dropdown option {
    padding: 8px;
    font-size: 14px;
}

/* Player Info in Team Modal */
.player-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.player-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.player-info strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Opposition */
.opposition-name {
    font-weight: 500;
    color: var(--text-secondary);
}

/* Fixture Type */
.fixture-type {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.fixture-type.home {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.fixture-type.away {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Difficulty Badge */
.difficulty-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.difficulty-badge.diff-1,
.difficulty-badge.diff-2 {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.difficulty-badge.diff-3 {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.difficulty-badge.diff-4,
.difficulty-badge.diff-5 {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Table Action Buttons */
.action-buttons-row {
    display: flex;
    gap: var(--space-xs);
}

.table-action-btn {
    border: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 85px;
    justify-content: center;
}

.table-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.table-action-btn.news {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.table-action-btn.news:hover {
    background: rgba(33, 150, 243, 0.3);
    color: #1976d2;
}

.table-action-btn.ai {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.table-action-btn.ai:hover {
    background: rgba(156, 39, 176, 0.3);
    color: #7b1fa2;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 25, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 80px 1rem 2rem;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-primary);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-tertiary);
}

.modal-player-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.player-details h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.modal-action-type {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-action-type i {
    color: var(--primary-color);
}

.close-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-content {
    padding: var(--space-lg);
}

/* Fixture Info */
.fixture-info {
    margin-bottom: var(--space-lg);
}

.fixture-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--border-primary);
}

.fixture-display {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
}

.vs-text {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.opponent-team {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.fixture-location {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: var(--space-sm);
}

.fixture-location.home {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.fixture-location.away {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.action-btn.news,
.action-btn.ai {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 50px;
}

.action-btn.news {
    background: var(--secondary-gradient);
    color: white;
}

.action-btn.ai {
    background: var(--primary-gradient);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover .btn-glow {
    left: 100%;
}

/* Results Container */
.results-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.results-container.active {
    display: block;
}

.result-section {
    padding: var(--space-md);
}

.result-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.result-section p {
    line-height: 1.6;
    color: var(--text-secondary);
}

.news-article {
    background: var(--bg-tertiary);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    border-left: 4px solid;
    border-image: var(--primary-gradient) 1;
    transition: all 0.3s ease;
}

.news-article:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.news-article h5 {
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-weight: 500;
    line-height: 1.4;
}

.news-article .date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.news-article .link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-article .link:hover {
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg) auto;
}

.spinner-ring {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 8px solid transparent;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #667eea;
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    border-top-color: #764ba2;
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    border-top-color: #f093fb;
    animation-delay: -0.15s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.loading-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-content {
        padding: 0 var(--space-md);
    }
    
    .upload-container,
    .table-container {
        padding: 0 var(--space-md);
    }
    
    .section-header {
        padding: 0 var(--space-md) var(--space-lg) var(--space-md);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: var(--space-md);
        gap: var(--space-sm);
    }
    
    .nav-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9rem;
        min-width: 120px;
        gap: var(--space-xs);
    }
    
    .nav-btn span {
        font-size: 0.8rem;
    }
    
    .nav-btn i {
        margin: 0;
    }
    
    .chatbot-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: var(--space-lg) var(--space-xl);
        font-size: 1.2rem;
        min-width: auto;
    }
    
    .logo-text h1 {
        font-size: 2rem;
    }
    
    .upload-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .upload-btn,
    .extract-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .section-stats {
        flex-direction: row;
        gap: var(--space-lg);
        margin-top: var(--space-md);
    }
    
    .section-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .table-wrapper {
        overflow-x: auto;
    }
    
    .players-table {
        min-width: 800px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .modal {
        margin: var(--space-md);
        width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .app-container {
        /* FORCE header clearance on mobile - cannot be overridden */
        padding-top: 220px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .upload-card,
    .table-wrapper,
    .empty-state {
        border-radius: var(--radius-md);
        margin: 0 var(--space-sm);
    }
    
    .upload-container,
    .table-container {
        padding: 0;
    }
    
    .modal-overlay.active {
        padding: var(--space-sm);
    }
}

/* Enhanced Chatbot Styles with Modern Design */
.chatbot-section {
    margin-bottom: var(--space-xl);
    position: relative;
}

.chatbot-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.chatbot-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.chatbot-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.chatbot-header {
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }
}

.chatbot-features {
    display: flex;
    gap: var(--space-md);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.feature-badge i {
    font-size: 0.9rem;
    color: #667eea;
}

.welcome-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.welcome-header h3 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.welcome-subtitle {
    margin: 0 0 var(--space-md) 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.capability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.capability-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.capability-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.capability-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.capability-text strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.capability-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.3;
}

.example-queries {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.example-label {
    margin: 0 0 var(--space-sm) 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.example-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.example-query {
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 400;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    letter-spacing: 0.2px;
}

.chat-messages {
    height: 600px;
    overflow-y: auto;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(20, 25, 30, 0.9) 100%);
    scroll-behavior: smooth;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.6));
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

.message {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    animation: messageSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    position: relative;
    transition: all 0.3s ease;
}

.message-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.3),
        0 4px 8px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.user-message .message-avatar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #667eea;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.message-avatar:hover {
    transform: scale(1.05);
}

.message-content {
    flex: 1;
    padding: var(--space-lg);
    border-radius: 20px;
    line-height: 1.7;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.bot-message .message-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bot-message .message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.6), transparent);
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
    max-width: 75%;
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.3),
        0 4px 8px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.user-message .message-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.user-message {
    flex-direction: row-reverse;
}

.message-content p {
    margin: 0 0 var(--space-sm) 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.message-content li {
    margin-bottom: var(--space-xs);
}

.chat-input-container {
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.chat-input-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
}

.chat-input-wrapper {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
}

.chat-input-wrapper input {
    flex: 1;
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.chat-input-wrapper input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.send-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.3),
        0 4px 8px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.send-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.4),
        0 6px 12px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.send-btn:hover::before {
    opacity: 1;
}

.send-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: 
        0 4px 8px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.suggestion-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: var(--space-sm);
    letter-spacing: 0.5px;
}

.suggestion-btn {
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.suggestion-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.suggestion-btn:hover::before {
    opacity: 1;
}

.suggestion-btn:active {
    transform: translateY(-1px);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.typing-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation: typingBounce 1.6s infinite ease-in-out;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.typing-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes typingBounce {
    0%, 70%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    35% {
        transform: translateY(-12px) scale(1.1);
        opacity: 1;
    }
}

/* Error message styling */
.error-message {
    padding: var(--space-md);
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: var(--radius-md);
    color: #f44336;
    margin: var(--space-sm) 0;
}

/* Responsive chatbot styles */
@media (max-width: 768px) {
    .chatbot-header {
        padding: var(--space-md) var(--space-lg);
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .chatbot-features {
        order: -1;
    }
    
    .chat-messages {
        height: 450px;
        padding: var(--space-lg);
    }
    
    .message-content {
        padding: var(--space-md);
    }
    
    .capability-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .chat-suggestions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .suggestion-label {
        margin-bottom: var(--space-xs);
    }
    
    .example-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .chatbot-section::before {
        width: 150px;
        height: 150px;
    }
    
    .chatbot-container {
        margin: 0 var(--space-sm);
        border-radius: 20px;
    }
    
    .chatbot-header {
        padding: var(--space-md);
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 4px var(--space-xs);
    }
    
    .chat-messages {
        height: 400px;
        padding: var(--space-md);
    }
    
    .message-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
    
    .message-content {
        padding: var(--space-sm);
        border-radius: 16px;
    }
    
    .welcome-header h3 {
        font-size: 1.2rem;
    }
    
    .capability-item {
        padding: var(--space-sm);
    }
    
    .chat-input-container {
        padding: var(--space-lg);
    }
    
    .chat-input-wrapper input {
        padding: var(--space-md);
        border-radius: 16px;
    }
    
    .send-btn {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    
    .suggestion-btn {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
        border-radius: 12px;
    }
}

/* Contact Modal Styles */
.contact-modal {
    max-width: 500px;
    width: 90%;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.modal-title h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.modal-title i {
    color: #f093fb;
    font-size: 1.3rem;
}

.contact-form {
    padding: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #f093fb;
    box-shadow: 0 0 0 3px rgba(240, 147, 251, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    margin-top: var(--space-xl);
}

.form-btn {
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cancel-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.cancel-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.submit-btn {
    background: var(--secondary-gradient);
    color: white;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Authentication styles for dashboard */
.auth-section {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: var(--space-lg);
}

.auth-buttons {
    display: flex;
    gap: var(--space-sm);
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.auth-btn.login-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.auth-btn.login-btn:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.auth-btn.signup-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.auth-btn.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.2;
}

.user-email {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: var(--space-xs);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-item i {
    width: 16px;
    color: var(--text-secondary);
}

/* Responsive auth section */
@media (max-width: 768px) {
    .auth-section {
        margin-left: 0;
        margin-top: var(--space-md);
    }
    
    .user-details {
        display: none;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-btn {
        justify-content: center;
        padding: var(--space-md);
    }
}

/* Player Name Editing Styles */
.low-confidence {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    padding-left: 8px;
}

.confidence-warning {
    margin-left: 8px;
    color: #ff6b35;
    cursor: pointer;
    font-size: 14px;
}

.original-name {
    font-size: 11px;
    color: #6c757d;
    font-style: italic;
    margin-top: 2px;
}

.table-action-btn.edit {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.table-action-btn.edit:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851a);
    transform: translateY(-1px);
}

/* Edit Player Modal */
.edit-player-modal-overlay,
.edit-opposition-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.edit-player-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.edit-player-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-player-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.edit-player-content,
.edit-opposition-content {
    padding: 24px;
}

.ocr-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.ocr-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.ocr-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.confidence-score {
    background: #ffc107;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.player-search,
.opposition-selection {
    margin-bottom: 24px;
}

.player-search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.player-search input,
.opposition-selection select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.player-search input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-results {
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.search-result-item:hover {
    background-color: #007bff;
    color: white;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item i {
    color: #007bff;
    transition: color 0.2s ease;
}

.search-result-item:hover i {
    color: white;
}

.search-hint, .no-results {
    padding: 12px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
}

.edit-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cancel-btn, .save-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.save-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.save-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-1px);
}

/* STUNNING Player Comparison Design */
.comparison-table-container {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.06),
        0 4px 8px rgba(0, 0, 0, 0.03);
    background: white;
    backdrop-filter: blur(10px);
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6f42c1 100%);
    position: relative;
}

.comparison-table thead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.comparison-table thead th {
    padding: 20px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: none;
    position: relative;
    background: transparent;
}

.comparison-table thead th:first-child {
    text-align: left;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 16px 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 16px 0 0;
}

.comparison-table .metric-cell {
    padding: 18px 24px;
    text-align: center;
    border: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    backdrop-filter: blur(5px);
}

.comparison-table .metric-cell:first-child {
    text-align: left;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-weight: 800;
    color: #2d3748;
    border-right: 3px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.comparison-table .metric-cell.best {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 50%, #b8dcc4 100%);
    color: #155724;
    font-weight: 800;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

.comparison-table .metric-cell.worst {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 50%, #f1b0b7 100%);
    color: #721c24;
    font-weight: 800;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.comparison-table .metric-cell.neutral {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #495057;
    font-weight: 600;
}

.comparison-table .metric-cell.positive {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    font-weight: 600;
}

.comparison-table .metric-cell.negative {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    font-weight: 600;
}

.comparison-table .sentiment-cell {
    font-weight: 700;
    position: relative;
    text-transform: capitalize;
    font-size: 13px;
    letter-spacing: 0.5px;
}



.comparison-table .sentiment-cell.bullish {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 50%, #b8dcc4 100%);
    color: #155724;
}

.comparison-table .sentiment-cell.positive {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 50%, #a6d5db 100%);
    color: #0c5460;
}

.comparison-table .sentiment-cell.neutral {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #495057;
}

.comparison-table .sentiment-cell.negative {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 50%, #fdcb6e 100%);
    color: #856404;
}

.comparison-table .sentiment-cell.bearish {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 50%, #f1b0b7 100%);
    color: #721c24;
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.comparison-table tbody tr:hover .metric-cell {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.comparison-table tbody tr:last-child .metric-cell {
    border-bottom: none;
}

.comparison-table tbody tr:last-child .metric-cell:first-child {
    border-radius: 0 0 0 16px;
}

.comparison-table tbody tr:last-child .metric-cell:last-child {
    border-radius: 0 0 16px 0;
}

/* STUNNING Comparison Action Buttons */
.comparison-actions {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.comparison-actions .action-btn {
    min-width: 160px;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    border: none;
    position: relative;
    overflow: hidden;
}

.comparison-actions .action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.comparison-actions .action-btn:hover::before {
    left: 100%;
}

.comparison-actions .action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.comparison-actions .btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4190 100%);
}

.comparison-actions .btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 50%, #2f855a 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-actions .btn-success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 50%, #276749 100%);
}

.comparison-actions .action-btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

/* STUNNING Added Players Display */
.player-comparison-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-comparison-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04);
}

.player-comparison-item:last-child {
    margin-bottom: 0;
}

.player-comparison-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.player-comparison-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6f42c1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 4px 8px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.player-comparison-details {
    flex: 1;
}

.player-comparison-name {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
    font-size: 15px;
}

.player-comparison-vs {
    font-weight: 600;
    font-size: 13px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.remove-player-btn {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    box-shadow: 
        0 2px 4px rgba(245, 101, 101, 0.3),
        inset 0 1px 0 rgba(90, 124, 113, 0.2);
    font-weight: 600;
}

.remove-player-btn:hover {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    transform: scale(1.1) translateY(-1px);
    box-shadow: 
        0 4px 8px rgba(245, 101, 101, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.remove-player-btn:active {
    transform: scale(1.05) translateY(0);
    transition: all 0.1s ease;
} 