@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Professional Dark Theme Palette */
    --bg-deep: #06080a;
    --bg-surface: #0f1218;
    --bg-elevated: #1a1f26;
    
    --primary: #00ffa3; /* Electric Mint */
    --primary-dim: rgba(0, 255, 163, 0.1);
    --secondary: #6366f1; /* Indigo */
    
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gold: linear-gradient(135deg, #fde047 0%, #ca8a04 100%);
    --gold-glow: 0 0 15px rgba(252, 211, 77, 0.3);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global resets & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: -0.011em; /* Modern tight spacing */
}

h1, h2, h3, h4, .stat-value, .player-ovr, .logo-text, .score-display {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em; /* Tighter for display fonts */
    line-height: 1.1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Button System */
.btn-primary {
    background: var(--primary);
    color: var(--bg-deep);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--border-hover);
}

/* Card System */
.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    border-color: var(--border-hover);
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
    background: rgba(6, 8, 10, 0.8);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-size: 1.75rem;
    letter-spacing: -0.05em;
    font-weight: 900;
}


.logo-text span {
    color: var(--primary);
}

/* Sections */
#dashboard-wrapper {
    padding-bottom: 4rem;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-surface);
    padding: 0.4rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
    width: fit-content;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


.nav-btn:hover {
    color: var(--text-main);
    background: var(--bg-elevated);
}

.nav-btn.active {
    background: var(--primary-dim);
    color: var(--primary);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.resp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .resp-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat-card {
    padding: 1.5rem;
    text-align: left;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}


.stat-value {
    font-size: 2rem;
    color: var(--text-main);
}

/* Club Selection Grid */
#user-clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.club-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.club-card:hover {
    border-color: var(--primary);
    background: var(--bg-elevated);
    transform: translateY(-4px);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 95%;
    max-width: 850px;
    margin: 2rem auto;
    padding: 2.5rem !important;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 600px) {
    .modal-content {
        padding: 1.5rem !important;
        border-radius: 12px;
    }
    
    .stats-comparison-grid {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }
}

.premium-gold-badge {
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--gold-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.premium-gold-badge svg {
    width: 14px;
    height: 14px;
}

/* Registration Section Grid */
.reg-grid {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 600px) {
    .reg-grid {
        grid-template-columns: 1fr;
    }
}
/* Pulse CTA for Free Pro Claim */
.pulse-cta {
    animation: cta-pulse 2s infinite;
    position: relative;
    border: 2px solid var(--primary) !important;
}

@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 163, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 163, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 163, 0);
    }
}

.animate-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Input Fields */
input, select {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus, select:focus {
    border-color: var(--primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

@keyframes pulse-subtle {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.005); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}
.animate-pulse-subtle {
    animation: pulse-subtle 3s infinite ease-in-out;
}

/* Skeleton */
.skeleton {
    background: var(--bg-elevated);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Fix for existing JS hooks that expect specific classes */
/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
}

.status-pill-active {
    background: rgba(0, 255, 163, 0.08);
    color: var(--primary);
    border-color: rgba(0, 255, 163, 0.2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.result-badge {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}
.result-badge.win { background: var(--success); color: var(--bg-deep); }
.result-badge.loss { background: var(--danger); }
.result-badge.draw { background: var(--warning); color: var(--bg-deep); }

.match-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.match-card:hover {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.08));
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.3);
}

.match-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.match-card:hover::before {
    opacity: 1;
}

.match-score {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: Outfit;
    background: var(--bg-deep);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    color: white;
    min-width: 60px;
    text-align: center;
    border: 1px solid var(--border);
}

.match-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.team-home {
    text-align: right;
    font-weight: 700;
}

.team-away {
    text-align: left;
    font-weight: 500;
}

.player-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.player-card:hover {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.04), rgba(16, 185, 129, 0.08));
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(16, 185, 129, 0.2);
}

.player-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 70%);
    pointer-events: none;
}

.player-card .stat-pill-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(15, 18, 24, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.player-card .stat-pill {
    text-align: center;
}

.player-card .stat-val {
    font-family: Outfit;
    font-weight: 800;
    font-size: 1.1rem;
}

.player-card .stat-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .nav-container { padding: 0 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { overflow-x: auto; width: 100%; }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.2rem !important; }
    .stat-value { font-size: 1.5rem !important; }
}

@media (max-width: 480px) {
    .stats-grid, #user-clubs-grid, .squad-grid {
        grid-template-columns: 1fr !important;
    }
    .nav-btn { padding: 0.5rem 0.75rem; font-size: 0.7rem; }
    .btn-primary, .btn-secondary { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .container { padding: 0 0.75rem; }
}

/* Premium Gold Badge */
.premium-gold-badge {
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--gold-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.premium-gold-badge svg {
    width: 14px;
    height: 14px;
}

/* Registration Section Grid */
.reg-grid {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 600px) {
    .reg-grid {
        grid-template-columns: 1fr;
    }
    .reg-grid button {
        width: 100%;
    }
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--primary-dim);
}

.step-body h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.step-body p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
}

@media (max-width: 900px) {
    #workflow-modal .modal-content > div {
        grid-template-columns: 1fr !important;
    }
    #workflow-modal div[style*="border-right"] {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
}

/* Last Match Redesign */
/* Last Match Redesign */
.match-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, rgba(15, 18, 24, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}

.match-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-40-39c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm50 38c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM21 39c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm56 25c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM34 26c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm23-7c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-38 37c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm44 4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-40 20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm53-53c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM69 82c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM5 54c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22 28c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm59-56c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM33 7c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%2310b981' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.match-hero .team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.match-hero .team-name {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: Outfit;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 250px;
    line-height: 1.2;
}

.match-hero .score-display {
    font-size: 5rem;
    font-weight: 900;
    font-family: Outfit;
    line-height: 1;
    color: white;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.match-hero .vs-badge {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.8rem;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.match-hero .team-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    word-break: break-word;
    letter-spacing: -0.04em;
}


.match-hero .score-display {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.05em;
}


.match-hero .score-display.winner {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.match-hero .vs-badge {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-deep);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

@media (max-width: 900px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    .match-hero {
        flex-direction: column;
        gap: 1rem;
    }
    .match-hero .vs-badge {
        margin: 1rem 0;
    }
}

/* Premium Table */
.premium-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.premium-table th {
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-bottom: 1rem;
}

.premium-table tr {
    transition: background 0.2s ease;
}

.premium-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

.premium-table td {
    vertical-align: middle;
}

/* Player Details Grid Responsiveness */
.player-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 800px) {
    .player-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.5rem !important;
        margin: 1rem auto;
    }
    
    .player-details-grid {
        gap: 1rem;
    }

    .modal-header-main h1 {
        font-size: 1.75rem !important;
    }

    .stat-mini-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

.modal-header-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Premium Player Analysis */
.player-analysis-badge {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #000;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.analysis-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.analysis-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #34d399);
    border-radius: 3px;
    transition: width 1s ease-out;
}

.radar-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.insight-pill {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.insight-pill i {
    color: var(--primary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .player-details-grid {
        grid-template-columns: 1fr !important;
    }
    
    .modal-header-main h1 {
        font-size: 1.75rem !important;
    }
}

/* Match Player Table Interactivity */
.match-player-row {
    transition: all 0.2s ease;
    cursor: pointer;
}

.match-player-row:hover {
    background: rgba(16, 185, 129, 0.08) !important;
    box-shadow: inset 4px 0 0 0 var(--primary);
}

.match-player-row:hover td {
    color: white !important;
}

.expanded-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.2s;
}

.expanded-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: scale(1.02);
}

.player-expanded-stats {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

.expanded-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.expanded-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.expanded-stat-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expanded-stat-value {
    font-family: Outfit;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
