:root {
    --primary: #e50914;
    --dark: #0a0a0a;
}

body {
    background: #111;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background: rgba(0,0,0,0.95) !important;
    border-bottom: 1px solid #333;
}

.navbar .nav-link {
    color: #aaa !important;
    transition: 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #111, transparent);
}

.match-card {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: #e50914;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.match-card .card-img-top {
    height: 150px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    background: #1a1a2e;
}

.match-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
}

.match-card .card-body {
    position: relative;
    padding: 15px;
}

.match-card .card-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.match-card .btn-danger {
    background: #e50914;
    border: none;
    border-radius: 8px;
}

.match-card .btn-danger:hover {
    background: #b2070f;
}

.badge.bg-danger.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Player Page */
.player-container {
    background: #0a0a0a;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-container iframe {
    width: 100%;
    height: 70vh;
    border: none;
    border-radius: 12px;
}

.match-info {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.match-info .teams {
    font-size: 1.5rem;
    font-weight: bold;
}

.match-info .teams span {
    color: #e50914;
}

.back-btn {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 999;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
}

.back-btn:hover {
    background: #e50914;
    color: #fff;
}

.live-badge {
    animation: pulse 1.5s ease-in-out infinite;
    background: #e50914;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .player-container iframe {
        height: 50vh;
    }
    .match-info .teams {
        font-size: 1.1rem;
    }
    .back-btn {
        top: 70px;
        left: 10px;
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}
/* Dark Mode Toggle */
body.dark-mode {
    background: #0a0a0a;
    color: #eee;
}
body.dark-mode .navbar {
    background: #0a0a0a !important;
}
body.dark-mode .match-card {
    background: #1a1a2e;
}
body.dark-mode .article-card {
    background: #1a1a2e;
}
body.dark-mode .banner-side {
    background: #1a1a2e;
}
body.dark-mode .bg-dark {
    background: #0a0a0a !important;
}
body.dark-mode .card {
    background: #1a1a2e;
}
body.dark-mode .table {
    color: #ddd;
}
body.dark-mode .modal-content {
    background: #1a1a2e;
}