/* ========================================
   PREDICTGOAL - Ultra Dark Professional v3.0
   Bookmaker Premium Design - NO ORANGE
   ======================================== */

:root {
    /* Palette principale - Tons sombres professionnels */
    --primary: #5865f2;
    --primary-dark: #4752c4;
    --primary-light: #7289da;
    --primary-glow: rgba(88, 101, 242, 0.4);
    
    --secondary: #00d9a3;
    --secondary-dark: #00c48c;
    --secondary-glow: rgba(0, 217, 163, 0.3);
    
    --accent: #8b5cf6;
    --accent-dark: #7c3aed;
    --accent-glow: rgba(139, 92, 246, 0.3);
    
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --success: #22c55e;
    --info: #3b82f6;
    
    /* Backgrounds - Ultra Dark */
    --bg-primary: #0b0d13;
    --bg-secondary: #10131a;
    --bg-tertiary: #15181f;
    --bg-card: #1a1d26;
    --bg-hover: #1f232e;
    --bg-elevated: #252932;
    
    /* Texte - Haute lisibilité */
    --text-primary: #f0f2f5;
    --text-secondary: #b4b9c5;
    --text-muted: #7e8492;
    --text-dim: #5a5f6b;
    
    /* Bordures - Subtiles */
    --border-primary: #252932;
    --border-secondary: #2d323d;
    --border-accent: rgba(88, 101, 242, 0.25);
    --border-glow: rgba(88, 101, 242, 0.5);
    
    /* Ombres - Profondes et élégantes */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.7);
    --shadow-inner: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-glow-primary: 0 0 30px var(--primary-glow);
    --shadow-glow-secondary: 0 0 30px var(--secondary-glow);
    
    /* Gradients Premium */
    --gradient-primary: linear-gradient(135deg, #5865f2 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #00d9a3 0%, #00c48c 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(145deg, #1a1d26 0%, #10131a 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #1a1d26 60%, #0b0d13 100%);
    --gradient-card: linear-gradient(135deg, #1a1d26 0%, #15181f 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(26, 29, 38, 0.6);
    --glass-border: rgba(88, 101, 242, 0.15);
    
    /* Animations */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--primary-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--primary-glow);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    background: rgba(16, 19, 26, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 1px rgba(88, 101, 242, 0.3);
    transition: var(--transition-base);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-base);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: float 3s ease-in-out infinite;
}

.logo:hover .logo-icon {
    animation: pulse 0.5s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: var(--transition-base);
    font-size: 0.95rem;
}

.nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 1.1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
}

.user-email {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.user-email i {
    color: var(--primary);
}

.logout-btn {
    background: var(--danger);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: var(--danger-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    background: var(--gradient-hero);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-accent);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #f0f2f5 0%, #b4b9c5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

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

.hero-home {
    background: var(--gradient-hero);
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(88, 101, 242, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-base);
}

.feature-badge:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.feature-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    margin: 4rem 0;
    animation: fadeIn 0.6s ease;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 5px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-title::before {
    content: '';
    width: 5px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: var(--shadow-glow-primary);
}

.section-header-main {
    text-align: center;
    margin: 5rem 0 3rem;
}

.section-title-main {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.view-all-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.view-all-btn:hover {
    gap: 0.75rem;
    border-color: var(--border-accent);
    background: var(--bg-hover);
}

/* ========================================
   MATCHES GRID
   ======================================== */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.matches-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ========================================
   MATCH CARDS
   ======================================== */
.match-card,
.match-card-home {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease;
    animation-fill-mode: both;
}

.match-card::before,
.match-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(88, 101, 242, 0.08),
        transparent
    );
    transition: left 0.7s ease;
}

.match-card:hover::before,
.match-card-home:hover::before {
    left: 100%;
}

.match-card:hover,
.match-card-home:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
    border-color: var(--border-glow);
}

/* Animations décalées */
.match-card:nth-child(1),
.match-card-home:nth-child(1) { animation-delay: 0.1s; }
.match-card:nth-child(2),
.match-card-home:nth-child(2) { animation-delay: 0.15s; }
.match-card:nth-child(3),
.match-card-home:nth-child(3) { animation-delay: 0.2s; }
.match-card:nth-child(4),
.match-card-home:nth-child(4) { animation-delay: 0.25s; }
.match-card:nth-child(5),
.match-card-home:nth-child(5) { animation-delay: 0.3s; }
.match-card:nth-child(6),
.match-card-home:nth-child(6) { animation-delay: 0.35s; }

/* Match Header */
.match-header,
.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.match-league,
.match-league-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.league-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.match-date-time,
.match-datetime {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: 10px;
    border: 1px solid var(--border-primary);
}

.match-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.match-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.match-date-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Match Teams */
.match-teams,
.match-teams-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.team,
.team-home,
.team-away {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.team-logo,
.team-logo-home {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: var(--transition-base);
    border: 2px solid var(--border-primary);
    box-shadow: var(--shadow-sm);
}

.match-card:hover .team-logo,
.match-card-home:hover .team-logo-home {
    border-color: var(--primary);
    transform: scale(1.15);
    box-shadow: var(--shadow-md), var(--shadow-glow-primary);
}

.team-logo img,
.team-logo-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-name,
.team-name-home {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.team-score-live {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
}

.vs-separator,
.vs-badge {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dim);
    padding: 1rem;
    background: var(--bg-elevated);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-primary);
    letter-spacing: 2px;
}

/* Match Odds */
.match-odds,
.odds-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.odd-item,
.odd-box {
    background: var(--bg-elevated);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.odd-item::before,
.odd-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.odd-item:hover,
.odd-box:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.odd-item:hover::before,
.odd-box:hover::before {
    opacity: 0.1;
}

.odd-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.odd-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

/* Match Actions */
.match-actions,
.match-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 14px;
    font-weight: 700;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-card {
    width: 100%;
    padding: 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-base);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

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

.btn-card-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-glow-primary);
}

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

.btn-card-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-glow-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.btn .arrow {
    transition: transform var(--transition-base);
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* ========================================
   BADGES
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-live {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.badge-finished {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-today {
    background: var(--gradient-secondary);
    color: white;
}

.badge-success {
    background: var(--gradient-secondary);
    color: white;
}

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

.badge-danger {
    background: var(--danger);
    color: white;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-elevated);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========================================
   CONFIDENCE BADGE
   ======================================== */
.confidence-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(88, 101, 242, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.confidence-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.confidence-text {
    flex: 1;
}

.confidence-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.confidence-bar {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 10px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1s ease;
}

/* ========================================
   EMPTY & ERROR STATES
   ======================================== */
.empty-state,
.empty-state-home {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid var(--border-primary);
}

.empty-state-icon,
.empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.4;
    filter: grayscale(1);
}

.empty-state h3,
.empty-state-home h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.empty-state p,
.empty-state-home p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.error-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(239, 68, 68, 0.08);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--danger);
}

/* ========================================
   LOADING
   ======================================== */
.loading {
    text-align: center;
    padding: 4rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-primary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: var(--bg-secondary);
    padding: 6rem 0;
    margin-top: 6rem;
    border-top: 1px solid var(--border-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
    border-color: var(--border-glow);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    margin: 6rem 0;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer,
.footer-home {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
    color: var(--text-secondary);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--info);
    font-weight: 600;
    margin-top: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .matches-grid-home {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat-value {
        font-size: 2.5rem;
    }
    
    .matches-grid,
    .matches-grid-home {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-title-main {
        font-size: 2.2rem;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .match-teams,
    .match-teams-home {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .vs-separator,
    .vs-badge {
        transform: rotate(90deg);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .match-card,
    .match-card-home {
        padding: 1.5rem;
    }
    
    .team-logo,
    .team-logo-home {
        width: 70px;
        height: 70px;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ========================================
   MATCH DETAILS PREMIUM REDESIGN
   Ultra Professional Design
   ======================================== */

/* Hero Section */
.match-details-hero {
    background: var(--gradient-hero);
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.match-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 217, 163, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.back-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.back-btn-premium:hover {
    border-color: var(--primary);
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.match-hero-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    animation: fadeInScale 0.6s ease;
    position: relative;
    z-index: 5;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.league-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.league-badge-premium i {
    color: var(--primary);
    font-size: 1.2rem;
}

.live-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--danger);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    animation: pulse 2s infinite;
}

.upcoming-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

/* Teams Display */
.teams-display-premium {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.team-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.team-premium.home {
    align-items: flex-start;
    text-align: left;
}

.team-premium.away {
    align-items: flex-end;
    text-align: right;
}

.team-logo-wrapper-premium {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 3px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
}

.team-logo-wrapper-premium::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    z-index: -1;
}

.match-hero-card:hover .team-logo-wrapper-premium::before {
    opacity: 0.2;
}

.match-hero-card:hover .team-logo-wrapper-premium {
    transform: scale(1.05);
}

.team-logo-premium {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-logo-placeholder-premium {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-muted);
}

.team-name-premium {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

.team-score-premium {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Match Center */
.match-center-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-width: 250px;
}

.vs-display-premium {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-muted);
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-primary);
}

.score-display-premium {
    text-align: center;
}

.score-display-premium .final-score {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.score-display-premium .match-status {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-datetime-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.match-date-premium,
.match-time-premium {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.match-time-premium {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 900;
}

.venue-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.venue-premium i {
    color: var(--primary);
}

/* Content Section */
.match-content-section {
    padding: 4rem 0;
}

/* AI Prediction Premium */
.ai-prediction-premium {
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
    animation: fadeIn 0.6s ease 0.2s both;
}

.prediction-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-primary);
    flex-wrap: wrap;
    gap: 2rem;
}

.prediction-title-premium {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ai-icon-premium {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-glow-primary);
}

.prediction-title-premium h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.prediction-title-premium p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.confidence-score-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.confidence-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.confidence-score-premium.medium .confidence-circle {
    background: var(--gradient-primary);
}

.confidence-percent {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.confidence-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

/* Prediction Results */
.prediction-results-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.prediction-box-premium {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-base);
}

.prediction-box-premium:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.prediction-box-premium.highlight {
    background: rgba(88, 101, 242, 0.1);
    border-color: var(--primary);
}

.prediction-box-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.prediction-box-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prediction-box-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prediction-box-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

/* Probabilities */
.probabilities-premium {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.probabilities-premium h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
}

.probabilities-premium h3 i {
    color: var(--primary);
}

.prob-grid-premium {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prob-item-premium {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prob-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prob-team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.prob-percentage {
    font-size: 1.5rem;
    font-weight: 900;
}

.prob-percentage.home {
    color: var(--primary);
}

.prob-percentage.draw {
    color: var(--accent);
}

.prob-percentage.away {
    color: var(--secondary);
}

.prob-bar-container {
    height: 16px;
    background: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
}

.prob-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.prob-bar-fill.home {
    background: var(--gradient-primary);
}

.prob-bar-fill.draw {
    background: var(--gradient-accent);
}

.prob-bar-fill.away {
    background: var(--gradient-secondary);
}

/* Analysis */
.analysis-premium {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
}

.analysis-premium h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
}

.analysis-premium h3 i {
    color: var(--primary);
}

.analysis-premium p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.analysis-premium p:last-child {
    margin-bottom: 0;
}

.analysis-premium .analysis-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analysis-premium .analysis-text p {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.75;
}

/* Stats Tabs Premium */
.stats-tabs-premium {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.6s ease 0.4s both;
}

.tabs-header-premium {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-primary);
    overflow-x: auto;
}

.tab-btn-premium {
    padding: 1.25rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.tab-btn-premium:hover {
    color: var(--text-primary);
}

.tab-btn-premium.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

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

.tab-content-premium {
    display: none;
}

.tab-content-premium.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Teams Form Grid */
.teams-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.team-form-premium {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
}

.form-header-premium {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-primary);
}

.form-header-premium h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.matches-list-premium {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-match-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    transition: var(--transition-base);
}

.recent-match-premium:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.match-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.match-date-small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.match-teams-small {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.match-score-small {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

/* H2H Summary */
.h2h-summary-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.h2h-stat-premium {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-base);
}

.h2h-stat-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.h2h-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.h2h-stat-premium.home .h2h-number {
    color: var(--primary);
}

.h2h-stat-premium.draw .h2h-number {
    color: var(--accent);
}

.h2h-stat-premium.away .h2h-number {
    color: var(--secondary);
}

.h2h-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
}

.h2h-matches-list {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
}

.h2h-matches-list h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
}

.h2h-match-premium {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.h2h-match-premium:last-child {
    margin-bottom: 0;
}

.h2h-match-premium:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.h2h-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.h2h-teams {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.h2h-score-result {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

/* Comparison Stats */
.comparison-stats-premium {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
}

.comparison-stats-premium h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
}

.stats-comparison-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-comparison-row {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    transition: var(--transition-base);
}

.stat-comparison-row:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.stat-value-left,
.stat-value-right {
    font-size: 1.8rem;
    font-weight: 900;
}

.stat-value-left {
    color: var(--primary);
    text-align: left;
}

.stat-value-right {
    color: var(--secondary);
    text-align: right;
}

.stat-label-center {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

/* Premium Locked */
.premium-locked-premium {
    background: var(--gradient-card);
    border: 2px dashed var(--border-accent);
    border-radius: 24px;
    padding: 6rem 3rem;
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.lock-animation {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-glow-primary);
    animation: pulse 3s infinite;
}

.premium-locked-premium h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.premium-locked-premium > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.premium-features-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.premium-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.premium-features-list i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.btn-premium-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-glow-primary);
}

.btn-premium-upgrade:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
}

/* No Data States */
.no-data-premium {
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
}

.no-data-premium i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data-premium p {
    font-size: 1rem;
    font-style: italic;
}

.no-data-premium.large {
    padding: 5rem 3rem;
}

.no-data-premium.large i {
    font-size: 5rem;
}

/* Responsive Match Details Premium */
@media (max-width: 1200px) {
    .teams-display-premium {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-premium.home,
    .team-premium.away {
        align-items: center;
        text-align: center;
    }
    
    .teams-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .match-hero-card {
        padding: 2rem;
    }
    
    .team-name-premium {
        font-size: 1.8rem;
    }
    
    .team-logo-wrapper-premium {
        width: 100px;
        height: 100px;
    }
    
    .ai-prediction-premium {
        padding: 2rem;
    }
    
    .prediction-header-premium {
        flex-direction: column;
        text-align: center;
    }
    
    .prediction-results-premium {
        grid-template-columns: 1fr;
    }
    
    .tabs-header-premium {
        overflow-x: auto;
    }
    
    .h2h-summary-premium {
        grid-template-columns: 1fr;
    }
    
    .h2h-match-premium,
    .stat-comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .stat-value-left,
    .stat-value-right {
        text-align: center;
    }
    
    .premium-locked-premium {
        padding: 4rem 2rem;
    }
    
    .premium-locked-premium h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .team-name-premium {
        font-size: 1.5rem;
    }
    
    .team-logo-wrapper-premium {
        width: 80px;
        height: 80px;
    }
    
    .vs-display-premium {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .match-time-premium {
        font-size: 1.5rem;
    }
}
/* ========================================
   AUTH PAGES (LOGIN/REGISTER)
   Ultra Professional Authentication Design
   ======================================== */

.auth-section {
    min-height: calc(100vh - 80px);
    padding: 5rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 40%, rgba(88, 101, 242, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 60%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.auth-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    animation: fadeInScale 0.6s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.auth-title i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    animation: fadeIn 0.4s ease;
}

.alert i {
    font-size: 1.3rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary);
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.password-toggle:hover {
    color: var(--primary);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-primary);
    border-radius: 6px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.form-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1.2rem 1.5rem;
    font-size: 1.05rem;
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-primary);
}

.auth-divider span {
    position: relative;
    background: var(--bg-card);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.text-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Features Sidebar */
.auth-features {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.6s ease 0.2s both;
}

.features-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item div {
    flex: 1;
}

.feature-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-primary);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Auth Pages */
@media (max-width: 1200px) {
    .auth-container {
        grid-template-columns: 1fr 350px;
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .auth-features {
        order: -1;
    }
    
    .stats-box {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .auth-section {
        padding: 3rem 0;
    }
    
    .auth-card,
    .auth-features {
        padding: 2rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .features-title {
        font-size: 1.5rem;
    }
    
    .stats-box {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}
