/* General Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f5f9;
    color: #334155;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .navbar {
    padding: 1rem 0;
}

.header .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
}

.header .navbar-brand i {
    margin-left: 8px;
}

.header .nav-link {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 10px;
    transition: all 0.3s;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
}

/* Section Styles */
.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e293b;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Live Indicator */
.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--danger-color);
    border-radius: 50%;
    margin-left: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Match Card */
.match-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.match-card.live {
    border: 2px solid var(--danger-color);
}

.match-header {
    padding: 12px 15px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.league-name {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.match-time {
    font-size: 0.85rem;
    color: #64748b;
}

.match-body {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team {
    flex: 1;
    text-align: center;
}

.team img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.team span {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.match-score {
    flex: 0 0 80px;
    text-align: center;
}

.match-score .score {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.match-score .separator {
    margin: 0 10px;
    color: #cbd5e1;
}

.match-vs {
    flex: 0 0 60px;
    text-align: center;
    font-weight: bold;
    color: #94a3b8;
    font-size: 1.2rem;
}

.match-footer {
    padding: 12px 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Match Details Card */
.match-details-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.league-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #64748b;
}

.teams-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.team-info {
    flex: 1;
    text-align: center;
}

.team-info img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e293b;
}

.score-info {
    flex: 0 0 150px;
    text-align: center;
}

.score-display {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.score-separator {
    margin: 0 15px;
    color: #cbd5e1;
}

.match-time-display {
    font-size: 1.5rem;
    color: #64748b;
}

.match-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

/* Video Player */
.player-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.stream-selector {
    margin-top: 20px;
}

.stream-selector h5 {
    margin-bottom: 15px;
    color: #1e293b;
}

.stream-btn {
    margin: 5px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    color: #1e293b;
}

.sidebar-match {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s;
}

.sidebar-match:hover {
    background: #e2e8f0;
    transform: translateX(-5px);
}

.sidebar-match-teams {
    font-weight: 600;
    margin-bottom: 5px;
}

.sidebar-match-teams span {
    margin: 0 5px;
}

.sidebar-match-time {
    font-size: 0.85rem;
    color: #64748b;
}

/* News Card */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1e293b;
    margin: 10px 0;
}

.news-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    margin: 10px 0;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-right: 10px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .match-body {
        flex-direction: column;
        gap: 15px;
    }
    
    .team {
        width: 100%;
    }
    
    .teams-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .score-info {
        flex: 1;
    }
    
    .match-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Additional Styles for New Pages */

/* Page Header Section */
.page-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-header-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Filters Section */
.filters-section .form-select,
.filters-section .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e0;
}

/* Categories Filter */
.categories-filter .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.categories-filter .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* League Card */
.league-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.league-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.league-logo {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.league-logo-placeholder {
    color: #cbd5e1;
}

.league-card-body {
    padding: 25px;
}

.league-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 5px;
}

.league-name-en {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.league-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.league-info .badge {
    padding: 6px 12px;
}

.league-stats {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.league-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

/* Single News Article */
.single-news-article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.news-category-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.news-featured-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.news-featured-image img {
    width: 100%;
    height: auto;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.news-content p {
    margin-bottom: 20px;
}

/* Share Buttons */
.share-buttons {
    padding: 25px;
    background: #f8fafc;
    border-radius: 10px;
}

.share-buttons h5 {
    margin-bottom: 15px;
    color: #1e293b;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-links .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.btn-facebook { background: #1877f2; }
.btn-twitter { background: #1da1f2; }
.btn-whatsapp { background: #25d366; }

.share-links .btn:hover {
    transform: scale(1.1);
}

/* Related News */
.related-news-card {
    display: block;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.related-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.related-news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-news-card h5 {
    padding: 15px;
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
}

/* Sidebar News Item */
.sidebar-news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.sidebar-news-item:hover {
    background: #f8fafc;
    transform: translateX(-5px);
}

.sidebar-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.sidebar-news-item h6 {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.sidebar-news-item small {
    color: #64748b;
    font-size: 0.8rem;
}

/* News Grid */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-card .news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-card .news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
}

.news-card .news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-card .news-title a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
}

.news-card .news-title a:hover {
    color: var(--primary-color);
}

.news-card .news-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

.news-card .news-meta {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* Match Info Enhancements */
.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Stream Selector Enhanced */
.stream-selector h5 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.stream-btn {
    margin: 5px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.stream-btn:hover {
    transform: translateY(-2px);
}

.stream-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.stream-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Ads Styles */
.ads-container {
    margin: 20px 0;
    text-align: center;
}

.ads-header {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ads-sidebar {
    position: sticky;
    top: 20px;
}

.ads-sidebar .ad-item {
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.ads-footer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.ads-between_matches {
    margin: 30px 0;
}

.ad-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s;
}

.ad-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-item img {
    display: block;
    border-radius: 8px;
}

/* Responsive ads */
@media (max-width: 768px) {
    .ads-sidebar {
        position: relative;
        top: 0;
    }
    
    .ad-item {
        width: 100% !important;
        height: auto !important;
    }
}


