:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --secondary: #00b894;
    --accent: #e84393;
    --dark: #f0f4f8;
    --dark-card: #ffffff;
    --dark-surface: #f7f9fc;
    --text-light: #2d3436;
    --text-muted: #636e72;
    --border-color: rgba(108, 92, 231, 0.15);
    --gradient-1: linear-gradient(135deg, #6c5ce7, #a855f7);
    --gradient-2: linear-gradient(135deg, #00b894, #0984e3);
    --gradient-3: linear-gradient(135deg, #e84393, #fd79a8);
    --gradient-4: linear-gradient(135deg, #fdcb6e, #e17055);
    --shadow: 0 4px 24px rgba(108, 92, 231, 0.08);
    --shadow: 0 4px 24px rgba(108, 92, 231, 0.08);
    --shadow-glow: 0 4px 20px rgba(108, 92, 231, 0.12);

    /* Modern Glass UI Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text-light);
    min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    -webkit-text-fill-color: var(--secondary);
}

.nav-link {
    color: #4a4a68 !important;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(108, 92, 231, 0.08);
}

.navbar-toggler-icon {
    filter: invert(0.4);
}

/* ===== CARDS ===== */
.card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.card:hover {
    border-color: rgba(108, 92, 231, 0.25);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.card-header {
    background: var(--dark-surface) !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-weight: 600;
    padding: 1rem 1.25rem;
    color: var(--text-light);
}

.card-body {
    padding: 1.25rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.3;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== CHAMPION BANNER ===== */
.champion-banner {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 50%, #e67e22 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 50px rgba(243, 156, 18, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.champion-banner .trophy-icon {
    font-size: 5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    animation: bounceTrophy 2s infinite ease-in-out;
}

@keyframes bounceTrophy {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
    }
}

.champion-banner h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.champion-banner .champion-name {
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Confetti Effect */
.confetti {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
    opacity: 0.7;
    animation: confettiFall 4s linear infinite;
    z-index: 0;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

.confetti:nth-child(1) {
    left: 10%;
    background: #ff7675;
    animation-duration: 3s;
}

.confetti:nth-child(2) {
    left: 20%;
    background: #fdcb6e;
    animation-duration: 4.5s;
}

.confetti:nth-child(3) {
    left: 30%;
    background: #00cec9;
    animation-duration: 3.5s;
}

.confetti:nth-child(4) {
    left: 40%;
    background: #6c5ce7;
    animation-duration: 4s;
}

.confetti:nth-child(5) {
    left: 50%;
    background: #fab1a0;
    animation-duration: 5s;
}

.confetti:nth-child(6) {
    left: 60%;
    background: #e84393;
    animation-duration: 3.2s;
}

.confetti:nth-child(7) {
    left: 70%;
    background: #55efc4;
    animation-duration: 4.1s;
}

.confetti:nth-child(8) {
    left: 80%;
    background: #ffeaa7;
    animation-duration: 3.8s;
}

.confetti:nth-child(9) {
    left: 90%;
    background: #a29bfe;
    animation-duration: 4.6s;
}

/* ===== TABLES ===== */
.table {
    color: var(--text-light);
    margin-bottom: 0;
}

.table thead th {
    background: var(--dark-surface);
    border-bottom: 2px solid var(--border-color);
    color: #4a4a68;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.85rem 1rem;
    white-space: nowrap;
}

/* Custom Scrollbar for Responsive Tables */
.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.table tbody td {
    border-bottom: 1px solid rgba(108, 92, 231, 0.06);
    padding: 0.85rem 1rem;
    vertical-align: middle;
    color: var(--text-light);
}

.table tbody tr:hover {
    background: rgba(108, 92, 231, 0.04);
}

.table-standings tr:first-child td {
    background: rgba(0, 184, 148, 0.08);
    border-left: 3px solid var(--secondary);
    font-weight: 700;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
    background: #fff;
    border: 1px solid #dfe6e9;
    color: var(--text-light);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    background: #fff;
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.form-control::placeholder {
    color: #b2bec3;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a4a68;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gradient-1);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.5rem;
    transition: all 0.3s;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.35);
    background: var(--gradient-1);
}

.btn-success {
    background: linear-gradient(135deg, #00b894, #00cec9);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #e17055, #d63031);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    color: #fff;
}

.btn-warning {
    background: var(--gradient-4);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    color: #fff;
}

.btn-outline-light {
    border-radius: 10px;
    font-weight: 600;
    color: #4a4a68;
    border-color: #dfe6e9;
}

.btn-outline-light:hover {
    background: var(--dark-surface);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

/* ===== BADGES ===== */
.badge {
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 8px;
    font-size: 0.75rem;
}

.badge-cup {
    background: var(--gradient-3);
    color: #fff;
}

.badge-league {
    background: var(--gradient-2);
    color: #fff;
}

/* ===== PLAYER LOGO ===== */
.player-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #dfe6e9;
    margin-right: 0.5rem;
}

.player-logo-sm {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #dfe6e9;
    margin-right: 0.4rem;
}

/* ===== MATCH CARD ===== */
.match-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.match-card:hover {
    border-color: rgba(108, 92, 231, 0.25);
    box-shadow: var(--shadow-glow);
}

.match-vs {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.match-score {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.schedule-badge {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    color: #2d3436;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
}

.match-player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== LOGIN PAGE ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.06;
    top: -200px;
    right: -200px;
}

.login-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient-2);
    opacity: 0.06;
    bottom: -150px;
    left: -150px;
}

.login-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.08);
    position: relative;
    z-index: 1;
}

.login-card h2 {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.login-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 184, 148, 0.03) 0%, transparent 50%);
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e293b;
    letter-spacing: -2px;
}

.hero-section h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}


@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* ===== STATUS BADGES ===== */
.status-pending {
    background: rgba(253, 203, 110, 0.15);
    color: #d68910;
    border: 1px solid rgba(253, 203, 110, 0.4);
}

.status-confirmed {
    background: rgba(0, 184, 148, 0.12);
    color: #00856a;
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.status-disputed {
    background: rgba(214, 48, 49, 0.1);
    color: #c0392b;
    border: 1px solid rgba(214, 48, 49, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .stat-card {
        min-height: auto;
        padding: 1rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .match-score {
        font-size: 1.5rem;
    }

    .player-logo {
        width: 32px;
        height: 32px;
    }

    .login-card {
        margin: 1rem;
        padding: 1.5rem;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .content-wrapper {
        padding: 1rem 0;
    }

    section {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.85rem;
    }

    .match-score {
        font-size: 1.25rem;
    }

    .match-player strong {
        font-size: 0.85rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .stat-card h3 {
        font-size: 1.25rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .match-player strong,
    .match-player span {
        font-size: 0.8rem;
    }

    .hero-icon {
        font-size: 2.5rem;
    }

    .tournament-title {
        font-size: 1.5rem !important;
    }

    /* Match Table Optimization */
    .table-match td {
        padding: 0.6rem 0.4rem !important;
        vertical-align: middle;
    }

    .player-name-cell {
        max-width: 100px;
    }

    .player-name {
        font-size: 0.8rem;
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .match-score-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        white-space: nowrap;
        font-weight: 800;
        font-size: 0.95rem;
    }

    .score-divider {
        color: var(--text-muted);
        font-weight: 400;
        opacity: 0.5;
    }

    .vs-text {
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        font-weight: 500;
    }
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.12);
    border-color: var(--primary);
}

/* Floating Elements */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: floatingOrb 20s infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes floatingOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.1);
    }
}

/* Hero Image Container */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(108, 92, 231, 0.25);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    z-index: -1;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #c8d6e5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
    margin-bottom: 0.5rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== MODAL ===== */
.modal-content {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.btn-close {
    filter: none;
}

/* ===== LOGO PREVIEW ===== */
.logo-preview-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    border: 2px dashed #dfe6e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.logo-preview-wrapper:hover {
    border-color: var(--primary);
}

.logo-preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== SIDEBAR (Optional future use) ===== */
.content-wrapper {
    padding: 2rem 0;
    min-height: calc(100vh - 56px);
}

/* ===== ALERT CUSTOM ===== */
.alert {
    border-radius: 12px;
    border: none;
}

/* ===== INPUT GROUP (light theme) ===== */
.input-group-text {
    background: var(--dark-surface);
    border-color: #dfe6e9;
    color: var(--text-muted);
}

/* ===== MATCHDAY FILTER ===== */
.matchday-filter {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.matchday-filter::-webkit-scrollbar { height: 0; }

.matchday-pill {
    flex-shrink: 0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid #dfe6e9;
    background: #fff;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.matchday-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}
.matchday-pill.active {
    background: var(--gradient-1);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.25);
}

/* ===== PROMOTION / RELEGATION ZONES ===== */
.zone-promotion {
    background: rgba(0, 184, 148, 0.08) !important;
    border-left: 3px solid #00b894 !important;
}
.zone-promotion td:first-child::after {
    content: '';
}
.zone-relegation {
    background: rgba(214, 48, 49, 0.06) !important;
    border-left: 3px solid #d63031 !important;
}

/* ===== DIVISION TABS ===== */
.division-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.division-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    color: var(--text-muted);
    border: none;
}
.division-tab:first-child { border-right: 1px solid var(--border-color); }
.division-tab.active {
    color: #fff;
}
.division-tab.div-1.active {
    background: var(--gradient-1);
}
.division-tab.div-2.active {
    background: var(--gradient-2);
}
.division-tab:hover:not(.active) {
    background: var(--dark-surface);
    color: var(--text-light);
}

/* ===== SEASON CARD ===== */
.season-card {
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}
.season-card:hover {
    border-left-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.season-card.completed {
    border-left-color: #fdcb6e;
    opacity: 0.85;
}

/* ===== PROMO/RELEGATION BADGE ===== */
.badge-promo {
    background: rgba(0, 184, 148, 0.12);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.3);
}
.badge-relegation {
    background: rgba(214, 48, 49, 0.1);
    color: #d63031;
    border: 1px solid rgba(214, 48, 49, 0.25);
}

/* ===== CONFLICT WARNING ===== */
.conflict-warning {
    background: rgba(253, 203, 110, 0.15);
    border: 1px solid rgba(253, 203, 110, 0.4);
    color: #856404;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ===== MATCHDAY FILTER MOBILE ===== */
@media (max-width: 768px) {
    .matchday-filter {
        padding: 2px;
    }
    .matchday-pill {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
    .division-tabs {
        border-radius: 10px;
    }
    .division-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}