/* ===================================
   كورة لايف - Sports Theme CSS
   Colors from Logo:
   - Primary Green: #5CB85C
   - Dark Gray: #3A3A3A
   - Gradient variations
   =================================== */

/* ===================================
   1. Global Styles & Reset
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #5CB85C;
    --primary-green-dark: #4A9D4A;
    --primary-green-light: #6FD06F;
    --dark-bg: #3A3A3A;
    --dark-bg-light: #4A4A4A;
    --dark-bg-lighter: #5A5A5A;
    --text-light: #FFFFFF;
    --text-gray: #CCCCCC;
    --text-dark: #333333;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #5CB85C 0%, #4A9D4A 100%);
    --gradient-dark: linear-gradient(135deg, #3A3A3A 0%, #2A2A2A 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(58, 58, 58, 0.8), rgba(58, 58, 58, 0.95));
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #F5F5F5;
    color: var(--text-dark);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   2. Header Styles
   =================================== */
.main-header {
    background: var(--gradient-dark);
    box-shadow: 0 2px 10px var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.social-links a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.header-date {
    color: var(--text-gray);
}

.header-date i {
    color: var(--primary-green);
    margin-left: 5px;
}

/* Navbar */
.navbar {
    padding: 15px 0;
}

.navbar-brand .logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--primary-green);
    color: white;
}

.navbar-toggler {
    border-color: var(--primary-green);
    background: var(--primary-green);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Search */
.header-search {
    margin-right: 15px;
    position: relative;
}

.search-toggle {
    background: var(--primary-green);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: var(--primary-green-dark);
    transform: scale(1.1);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.search-dropdown.active {
    display: block;
    opacity: 1;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    background: white;
    color: var(--dark-bg);
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-submit {
    background: var(--primary-green);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-submit:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.4);
    transition: all 0.3s ease;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(92, 184, 92, 0.6);
}

/* Responsive Search Dropdown */
@media (max-width: 767px) {
    .search-dropdown {
        width: 280px;
        left: auto;
        right: -10px;
        transform: none;
    }
    
    .search-dropdown::before {
        left: auto;
        right: 20px;
        transform: none;
    }
    
    .search-input {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .search-submit {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .search-dropdown {
        width: 260px;
        padding: 15px;
    }
}

/* ===================================
   3. Hero Section
   =================================== */
.hero-section {
    padding: 20px 0 15px;
    background: linear-gradient(135deg, #3A3A3A 0%, #2A2A2A 50%, #3A3A3A 100%);
    margin-bottom: 0;
}

.featured-match {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 30px var(--shadow-dark);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-match:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

.featured-match:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.featured-match::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.match-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.team {
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.team h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.match-time {
    text-align: center;
    flex: 0 0 150px;
}

.match-time .time {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.match-time .vs {
    font-size: 20px;
    font-weight: 700;
    opacity: 0.8;
    color: #fff;
}

.match-time .date {
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
}

/* عرض النتيجة للمباراة الجارية أو المنتهية */
.match-time .match-score-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.match-time .score-number {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.match-time .score-separator {
    font-size: 28px;
    font-weight: 700;
    opacity: 0.8;
    color: #fff;
}

.match-time .live-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    animation: pulse-status 2s ease-in-out infinite;
}

.match-time .live-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #FF0000;
    border-radius: 50%;
    animation: pulse-dot-status 1.5s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% {
        background: rgba(255, 0, 0, 0.15);
    }
    50% {
        background: rgba(255, 0, 0, 0.25);
    }
}

@keyframes pulse-dot-status {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.match-time .finished-status {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
}

.match-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.match-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.match-details i {
    font-size: 16px;
}

/* Live Matches */
.live-matches {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px var(--shadow);
    height: 92%;
    margin-bottom: 0;
}

.live-matches h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    background: #ff0000;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    animation: pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(255, 0, 0, 0);
    }
}

.live-match-item {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border-right: 4px solid var(--primary-green);
}

.live-match-item:last-child {
    margin-bottom: 0;
}

.live-match-item .teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    gap: 10px;
}

.live-match-item .teams span {
    white-space: nowrap;
}

.live-match-item .teams img {
    object-fit: contain;
    flex-shrink: 0;
}

.live-match-item .score {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
}

.live-match-item .match-status {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ===================================
   4. Matches Section
   =================================== */
.matches-section {
    padding: 25px 0;
    background: #F5F5F5;
    overflow-x: hidden;
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header h2 i {
    color: var(--primary-green);
}

.view-all {
    color: var(--primary-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--primary-green-dark);
    gap: 12px;
}

/* Matches Filter */
.matches-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

/* Match Cards */
.matches-container {
    display: grid;
    gap: 20px;
}

.match-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    border-right: 4px solid var(--primary-green);
    overflow: visible;
    position: relative;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
    cursor: pointer;
}

/* رابط المباراة - يغطي كامل الـ card */
.match-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.match-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* زر البث المباشر - يجب أن يكون فوق الرابط الرئيسي */
.btn-live-stream {
    position: relative !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-flex !important;
    /* منع أي تدخل من JavaScript */
    touch-action: manipulation !important;
}

.btn-live-stream:hover {
    text-decoration: none !important;
}

.btn-live-stream:active {
    transform: scale(0.95);
}

/* التأكد من أن الأيقونة لا تمنع النقر */
.btn-live-stream i {
    pointer-events: none !important;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.league-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    padding: 2px;
    background: #F8F9FA;
}

.league-info span {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    width: 100%;
}

.match-content .team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.match-content .team.home {
    justify-content: flex-start;
}

.match-content .team.away {
    justify-content: flex-end;
}

.team-logo-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 5px;
    background: #F8F9FA;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.team-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-bg);
    line-height: 1.3;
}

.match-center {
    text-align: center;
    flex: 0 0 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.match-time-status .time {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1.2;
}

.match-time-status .live-badge {
    background: #ff0000;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 5px;
    display: inline-block;
}

.match-time-status .score {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-green);
    margin-top: 5px;
    display: block;
}

.match-vs {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    margin-top: 3px;
}

.match-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

.btn-action {
    background: #F8F9FA;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.btn-action:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-action i {
    font-size: 14px;
}

/* ===================================
   5. Highlights Section
   =================================== */
.highlights-section {
    padding: 25px 0;
    background: white;
}

.highlight-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.highlight-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 62.5%; /* 16:10 Aspect Ratio */
}

.highlight-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(92, 184, 92, 0.5);
}

.highlight-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.highlight-info {
    padding: 20px;
}

.highlight-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.highlight-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.highlight-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

.highlight-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===================================
   6. News Section
   =================================== */
.news-section {
    padding: 25px 0;
    background: #F5F5F5;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.news-card.featured {
    margin-bottom: 20px;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-card.featured .news-image {
    padding-top: 0%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.news-content {
    padding: 20px;
}

.news-card:not(.featured) .news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-bg);
    line-height: 1.4;
}

.news-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    color: var(--primary-green);
}

/* Sidebar Widgets */
.sidebar {
    position: sticky;
    top: 100px;
    padding: 0;
    align-self: flex-start;
}

.widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.widget h3,
.widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.widget h3 i,
.widget h4 i {
    color: var(--primary-green);
    font-size: 20px;
}

/* Widget Title Styles */
.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.widget-title i {
    color: var(--primary-green);
    font-size: 20px;
}

/* Standings Table */
.standing-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.standing-row:last-child {
    border-bottom: none;
}

.standing-row:hover {
    background: #F8F9FA;
    border-radius: 8px;
}

.standing-row .position {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.standing-row img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    padding: 2px;
    background: white;
}

.standing-row .team-name {
    flex: 1;
    font-weight: 600;
    color: var(--dark-bg);
}

.standing-row .points {
    font-weight: 900;
    font-size: 18px;
    color: var(--primary-green);
}

/* Top Scorers */
.scorer-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.scorer-row:last-child {
    border-bottom: none;
}

.scorer-row:hover {
    background: #F8F9FA;
    border-radius: 8px;
}

.scorer-row img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.scorer-info {
    flex: 1;
}

.scorer-info .player-name {
    display: block;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 3px;
}

.scorer-info .team-name {
    display: block;
    font-size: 12px;
    color: #999;
}

.scorer-row .goals {
    font-weight: 900;
    font-size: 20px;
    color: var(--primary-green);
}

/* League List Widget */
.league-list-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.league-list-widget li {
    margin-bottom: 10px;
}

.league-list-widget li:last-child {
    margin-bottom: 0;
}

.league-list-widget li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F8F9FA;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.league-list-widget li a:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateX(-5px);
    box-shadow: 0 3px 12px rgba(92, 184, 92, 0.25);
}

.league-list-widget li a img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    padding: 4px;
    background: white;
}

.league-list-widget li a span:first-of-type {
    flex: 1;
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 14px;
}

.league-list-widget li a:hover span:first-of-type {
    color: white;
}

.league-list-widget li a .count {
    background: var(--primary-green);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.league-list-widget li a:hover .count {
    background: white;
    color: var(--primary-green);
}

/* ===================================
   7. Footer
   =================================== */
.main-footer {
    background: var(--gradient-dark);
    color: var(--text-gray);
    padding: 60px 0 0;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-widget p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-widget h5 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-right: 5px;
}

/* Footer League Links with Logos */
.footer-league-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.footer-league-logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 6px;
    padding: 3px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-league-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-league-name {
    flex: 1;
}

.footer-league-link:hover .footer-league-logo-wrapper {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(92, 184, 92, 0.3);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-green);
    width: 20px;
}

/* Footer About Widget */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-wrapper {
    margin-bottom: 5px;
}

.footer-logo-wrapper a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-wrapper a:hover {
    opacity: 0.8;
}

.footer-logo-wrapper .footer-logo {
    height: 65px;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.footer-description p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 14px;
    margin: 0;
}

.footer-social {
    margin-top: 5px;
}

.footer-social h6 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-social .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social .social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

.footer-bottom {
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ===================================
   7. Comments Section
   =================================== */

.comments-area {
    margin-top: 50px;
    padding: 40px;
    background: #F8F9FA;
    border-radius: 15px;
}

.comments-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title i {
    color: var(--primary-green);
    font-size: 22px;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-item {
    margin-bottom: 30px;
}

.comment-item .children {
    list-style: none;
    padding-right: 50px;
    margin-top: 20px;
}

.comment-body {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-body:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--border-color);
}

.comment-content-wrapper {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
}

.comment-author-name a {
    color: var(--dark-bg);
    text-decoration: none;
}

.comment-author-name a:hover {
    color: var(--primary-green);
}

.comment-metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #6C757D;
}

.comment-metadata a {
    color: #6C757D;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-metadata a:hover {
    color: var(--primary-green);
}

.comment-metadata .edit-link a {
    color: var(--primary-green);
}

.comment-awaiting-moderation {
    padding: 10px 15px;
    background: #FFF3CD;
    border-right: 3px solid #FFC107;
    border-radius: 6px;
    color: #856404;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-text {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.comment-text p {
    margin-bottom: 10px;
}

.comment-reply {
    margin-top: 10px;
}

.reply-link a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 15px;
    background: var(--primary-green);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reply-link a::before {
    content: '\f3e5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.reply-link a:hover {
    background: var(--primary-green-dark);
    transform: scale(1.05);
}

/* Comment Form */
.comment-reply-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-reply-title i {
    color: var(--primary-green);
}

.comment-reply-title small {
    margin-right: auto;
}

.comment-reply-title small a {
    font-size: 14px;
    color: #DC3545;
    text-decoration: none;
}

.comment-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment-notes {
    padding: 12px 15px;
    background: #E7F3FF;
    border-right: 3px solid #007BFF;
    border-radius: 6px;
    color: #004085;
    font-size: 14px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.comment-notes i {
    margin-top: 2px;
}

.comment-notes .required {
    color: #DC3545;
    font-weight: 700;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-wrapper label {
    display: block;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 8px;
    font-size: 14px;
}

.comment-form-wrapper label .required {
    color: #DC3545;
}

.comment-form-wrapper input[type="text"],
.comment-form-wrapper input[type="email"],
.comment-form-wrapper input[type="url"],
.comment-form-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.comment-form-wrapper input[type="text"]:focus,
.comment-form-wrapper input[type="email"]:focus,
.comment-form-wrapper input[type="url"]:focus,
.comment-form-wrapper textarea:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
}

.comment-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit-comment {
    padding: 12px 30px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-comment:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

.btn-submit-comment:active {
    transform: translateY(0);
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.comment-navigation a {
    padding: 10px 20px;
    background: var(--primary-green);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comment-navigation a:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.no-comments {
    padding: 30px;
    text-align: center;
    background: #F8F9FA;
    border-radius: 12px;
    color: #6C757D;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===================================
   7.5. Video-Style Comments (News)
   =================================== */

.video-comments-section {
    margin-top: 40px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.video-comments-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-comments-section h3 i {
    color: var(--primary-green);
}

/* Prevent any overflow */
.video-comments-section * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Comment Form - Video Style */
.comment-form-video {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.comment-form-video .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.comment-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comment-input-wrapper .comment-form {
    width: 100%;
}

/* Guest Input Fields (Name & Email) */
.guest-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #F8F9FA;
}

.guest-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
}

.guest-input::placeholder {
    color: #9E9E9E;
}

.comment-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    transition: border-color 0.3s ease;
    background: transparent;
}

.comment-input:focus {
    outline: none;
    border-bottom-color: var(--primary-green);
}

.comment-input::placeholder {
    color: #9E9E9E;
}

.comment-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-input:focus + .comment-actions,
.comment-actions:hover {
    opacity: 1;
}

.comment-input-wrapper:has(.comment-input:focus) .comment-actions {
    opacity: 1;
}

.btn-cancel,
.btn-comment {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: transparent;
    color: #666;
}

.btn-cancel:hover {
    background: #F0F0F0;
}

.btn-comment {
    background: var(--primary-green);
    color: white;
}

.btn-comment:hover {
    background: var(--primary-green-dark);
}

/* Comments List - Video Style */
.comments-list-video {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.comments-list-video > .comment-item-video {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    list-style: none;
}

.comment-item-video {
    display: block !important;
    width: 100%;
    max-width: 100%;
    clear: both;
    box-sizing: border-box;
    position: relative;
    float: none !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Comments inside children container */
.children .comment-item-video {
    margin-bottom: 15px;
}

.children .comment-item-video:last-child {
    margin-bottom: 0;
}

.comment-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
}

.comment-content-video {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
}

.comment-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.comment-item-video .comment-body {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-header-video {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.comment-header-video h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.comment-header-video h5 .reply-to {
    font-weight: 400;
    font-size: 13px;
    color: var(--primary-green);
    margin-right: 5px;
}

.comment-time-video {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 10px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.comment-awaiting-moderation {
    font-size: 13px;
    color: #FF9800;
    margin: 5px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Comment Actions - Video Style */
.comment-actions-video {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-action-btn:hover {
    background: #F0F0F0;
    color: var(--dark-bg);
}

.comment-action-btn i {
    font-size: 14px;
}

.comment-action-btn.like-btn:hover {
    color: var(--primary-green);
}

.comment-action-btn.dislike-btn:hover {
    color: #F44336;
}

.comment-action-btn.reply-btn:hover {
    color: var(--primary-green);
}

.like-count {
    font-weight: 600;
}

/* Load More Button */
.btn-load-more-comments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    margin-top: 30px;
    background: #F8F9FA;
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more-comments:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.btn-load-more-comments i {
    font-size: 16px;
}

/* Nested Comments (Replies) */
/* Children container - contains nested replies */
.children {
    display: block !important;
    clear: both;
    width: 100%;
    margin-top: 20px;
    margin-right: 55px;
    margin-bottom: 0;
    margin-left: 0;
    padding-right: 15px;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-right: 2px solid #E0E0E0;
    box-sizing: border-box;
    list-style: none;
}

/* Ensure children appear below parent */
.comment-item-video > .children {
    display: block !important;
    clear: both;
    float: none !important;
}

/* First level comments - no indentation */
.comment-item-video.depth-1 {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.comment-item-video.depth-1 > .children {
    margin-right: 55px;
    width: auto;
}

/* Nested replies styling - background and spacing */
.comment-item-video.depth-2,
.comment-item-video.depth-3,
.comment-item-video.depth-4,
.comment-item-video.depth-5 {
    background: rgba(248, 249, 250, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Reply indicator - connecting line */
.comment-item-video.depth-2::before,
.comment-item-video.depth-3::before,
.comment-item-video.depth-4::before,
.comment-item-video.depth-5::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 20px;
    width: 15px;
    height: 2px;
    background: #E0E0E0;
}

/* Deeper level replies - less indentation to prevent overflow */
.comment-item-video.depth-2 > .children {
    margin-right: 40px;
}

.comment-item-video.depth-3 > .children,
.comment-item-video.depth-4 > .children,
.comment-item-video.depth-5 > .children {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.comment-item-video.depth-4,
.comment-item-video.depth-5 {
    background: rgba(248, 249, 250, 0.8);
}

/* Reply Form Inside Comments */
.comment-wrapper > .comment-respond {
    margin-top: 15px;
    margin-right: 55px;
    padding: 15px;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: calc(100% - 55px);
    box-sizing: border-box;
}

.comment-item-video .comment-respond {
    margin-top: 15px;
    margin-right: 55px;
    padding: 15px;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: calc(100% - 55px);
    box-sizing: border-box;
}

/* Deeper level reply forms */
.comment-item-video.depth-3 .comment-respond,
.comment-item-video.depth-4 .comment-respond,
.comment-item-video.depth-5 .comment-respond {
    margin-right: 0;
    width: 100%;
}

.comment-item-video .comment-respond .comment-reply-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 12px;
}

.comment-item-video .comment-respond .comment-reply-title small {
    float: left;
}

.comment-item-video .comment-respond .comment-reply-title small a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-item-video .comment-respond .comment-reply-title small a:hover {
    color: var(--primary-green);
}

.comment-item-video .comment-respond .comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.comment-item-video .comment-respond .guest-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
}

.comment-item-video .comment-respond .comment-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 13px;
    min-height: 80px;
    box-sizing: border-box;
}

.comment-item-video .comment-respond .comment-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    opacity: 1;
}

.comment-item-video .comment-respond .btn-comment,
.comment-item-video .comment-respond .btn-cancel {
    padding: 6px 16px;
    font-size: 13px;
}

/* ===================================
   8. Responsive Design
   =================================== */

/* Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Medium Devices (Tablets, 768px to 991px) */
@media (max-width: 991px) {
    .section-header h2 {
        font-size: 26px;
    }
    
    .featured-match {
        padding: 30px 20px;
    }
    
    .match-info {
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }
    
    .team {
        flex: 1;
    }
    
    .match-time {
        flex: 0 0 80px;
    }

    .match-time .score-number {
        font-size: 28px;
    }

    .match-time .score-separator {
        font-size: 22px;
    }

    .match-time .match-score-display {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 8px;
    }

    .match-time .live-status,
    .match-time .finished-status {
        font-size: 11px;
        padding: 4px 10px;
    }

    .team-logo {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
    }
    
    .team h3 {
        font-size: 14px;
    }
    
    .navbar-nav {
        background: var(--dark-bg-light);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .sidebar {
        position: static;
        margin-top: 30px;
    }
}

/* Small Devices (Phones, 576px to 767px) */
@media (max-width: 767px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 20px;
        flex: 1;
        min-width: 0;
    }
    
    .section-header h2 i {
        font-size: 18px;
    }
    
    .view-all {
        flex-shrink: 0;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .matches-filter {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-green) #f1f1f1;
    }
    
    .matches-filter::-webkit-scrollbar {
        height: 6px;
    }
    
    .matches-filter::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .matches-filter::-webkit-scrollbar-thumb {
        background: var(--primary-green);
        border-radius: 10px;
    }
    
    .matches-filter::-webkit-scrollbar-thumb:hover {
        background: var(--primary-green-dark);
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .match-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .match-content .team {
        flex-direction: row;
        flex: 1 1 calc(50% - 50px);
        min-width: 120px;
    }

    .match-content .team.home {
        order: 1;
        justify-content: flex-start;
    }

    .match-center {
        order: 2;
        flex: 0 0 60px;
    }

    .match-content .team.away {
        order: 3;
        justify-content: flex-end;
    }

    .match-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .news-card .row {
        flex-direction: column;
    }
    
    .news-content h3 {
        font-size: 20px;
    }
    
    .news-content h4 {
        font-size: 16px;
    }
    
    .hero-section {
        padding: 12px 0 8px;
        margin-bottom: 0;
    }
    
    .live-matches {
        margin-top: 8px;
        margin-bottom: 0;
    }
    
    .matches-section {
        padding: 15px 0;
        margin-top: 0;
    }
    
    .highlights-section {
        padding: 15px 0;
    }
    
    .news-section {
        padding: 15px 0;
    }
    
    .matches-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .footer-widget h5::after {
        right: auto;
        left: 0;
    }

    /* Footer About Widget - Mobile */
    .footer-about {
        gap: 15px;
    }

    .footer-logo-wrapper .footer-logo {
        height: 50px;
        max-width: 150px;
    }

    .footer-description p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-social h6 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-social .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Footer League Links - Mobile */
    .footer-league-logo-wrapper {
        width: 24px;
        height: 24px;
        padding: 2px;
    }

    .footer-league-link {
        gap: 8px;
    }

    /* تصميم مباراة اليوم على الجوال - تخطيط أفقي مع خلفية خضراء مميزة */
    .featured-match {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
        padding: 20px;
        margin-bottom: 15px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .featured-match::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        opacity: 0.5;
        pointer-events: none;
    }

    /* شارة "مباراة اليوم" - نص أبيض على خلفية شفافة */
    .match-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        padding: 8px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        font-size: 13px;
        font-weight: 700;
        color: white;
        position: relative;
        z-index: 1;
    }

    .match-badge::before {
        content: '⭐';
        font-size: 16px;
    }

    /* تخطيط الفرق والوقت - أفقي */
    .match-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 0 12px 0;
        gap: 12px;
        position: relative;
        z-index: 1;
    }

    .featured-match .team {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .featured-match .team.home-team {
        justify-content: flex-start;
        text-align: right;
    }

    .featured-match .team.away-team {
        justify-content: flex-end;
        flex-direction: row-reverse;
        text-align: left;
    }

    .featured-match .team-logo {
        width: 45px;
        height: 45px;
        margin: 0;
        padding: 5px;
        background: white;
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .featured-match .team h3 {
        font-size: 15px;
        line-height: 1.3;
        font-weight: 700;
        color: white;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* الوقت والنتيجة */
    .featured-match .match-time {
        flex: 0 0 auto;
        text-align: center;
        padding: 0 10px;
    }

    .featured-match .match-time .time {
        font-size: 20px;
        font-weight: 900;
        color: white;
        margin-bottom: 5px;
    }

    .featured-match .match-time .vs {
        font-size: 12px;
        font-weight: 700;
        color: white;
        opacity: 0.9;
    }

    .featured-match .match-time .date {
        font-size: 12px;
        color: white;
        opacity: 0.9;
        margin-top: 5px;
    }

    .featured-match .match-time .score-number {
        font-size: 20px;
        font-weight: 900;
        color: white;
    }

    /* تفاصيل المباراة */
    .featured-match .match-details {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
        color: white;
        opacity: 0.95;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 1;
    }

    .featured-match .match-details span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .featured-match .match-details img {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        object-fit: contain;
        background: white;
        padding: 2px;
    }

    .featured-match .match-details i {
        color: white;
        opacity: 0.9;
    }

    /* تأثيرات Hover على الجوال */
    .featured-match:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
        width: 100%;
    }
    
    .top-bar {
        font-size: 12px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
    
    /* تصميم مباراة اليوم على الجوال - تخطيط أفقي مع خلفية خضراء مميزة */
    .featured-match {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
        padding: 18px;
        margin-bottom: 15px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .featured-match::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        opacity: 0.5;
        pointer-events: none;
    }

    /* شارة "مباراة اليوم" - نص أبيض على خلفية شفافة */
    .match-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
        padding: 6px 14px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        font-size: 12px;
        font-weight: 700;
        color: white;
        position: relative;
        z-index: 1;
    }

    .match-badge::before {
        content: '⭐';
        font-size: 14px;
    }

    /* تخطيط الفرق والوقت - أفقي */
    .match-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 0 10px 0;
        gap: 10px;
        position: relative;
        z-index: 1;
    }

    .featured-match .team {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .featured-match .team.home-team {
        justify-content: flex-start;
        text-align: right;
    }

    .featured-match .team.away-team {
        justify-content: flex-end;
        text-align: left;
        flex-direction: row-reverse;
    }

    .featured-match .team-logo {
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 5px;
        background: white;
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .featured-match .team h3 {
        font-size: 14px;
        line-height: 1.3;
        font-weight: 700;
        color: white;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* الوقت والنتيجة */
    .featured-match .match-time {
        flex: 0 0 auto;
        text-align: center;
        padding: 0 8px;
    }

    .featured-match .match-time .time {
        font-size: 18px;
        font-weight: 900;
        color: white;
        margin-bottom: 4px;
    }

    .featured-match .match-time .vs {
        font-size: 11px;
        font-weight: 700;
        color: white;
        opacity: 0.9;
    }

    .featured-match .match-time .date {
        font-size: 11px;
        color: white;
        opacity: 0.9;
        margin-top: 4px;
    }

    .featured-match .match-time .score-number {
        font-size: 18px;
        font-weight: 900;
        color: white;
    }

    /* تفاصيل المباراة */
    .featured-match .match-details {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
        color: white;
        opacity: 0.95;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 1;
    }

    .featured-match .match-details span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .featured-match .match-details img {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        object-fit: contain;
        background: white;
        padding: 2px;
    }

    .featured-match .match-details i {
        color: white;
        opacity: 0.9;
    }

    /* تأثيرات Hover على الجوال */
    .featured-match:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

    .match-time .score-separator {
        font-size: 16px;
    }

    .match-time .match-score-display {
        flex-direction: row;
        gap: 8px;
        margin-bottom: 6px;
    }

    .match-time .live-status,
    .match-time .finished-status {
        font-size: 9px;
        padding: 3px 8px;
    }

    .match-time .live-status::before {
        width: 6px;
        height: 6px;
    }

    .match-details {
        flex-direction: row;
        gap: 15px;
        font-size: 11px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .match-details span {
        font-size: 11px;
    }
    
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .section-header h2 {
        font-size: 18px;
        flex: 1;
        min-width: 0;
        gap: 8px;
    }
    
    .section-header h2 i {
        font-size: 16px;
    }
    
    .view-all {
        flex-shrink: 0;
        font-size: 12px;
        padding: 6px 12px;
        white-space: nowrap;
    }
    
    .view-all i {
        font-size: 10px;
    }
    
    .highlight-info h4 {
        font-size: 16px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .match-content {
        flex-direction: row;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
    }
    
    .match-content .team {
        flex-direction: row;
        flex: 1;
        min-width: 0;
        gap: 5px;
    }

    .match-content .team.home {
        order: 1;
        justify-content: flex-start;
    }

    .match-center {
        order: 2;
        flex: 0 0 55px;
        flex-shrink: 0;
    }

    .match-content .team.away {
        order: 3;
        justify-content: flex-end;
    }
    
    .team-logo-small {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        display: block;
        padding: 3px;
    }
    
    .team-name {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
    
    .match-time-status .time {
        font-size: 13px;
        font-weight: 900;
    }
    
    .match-vs {
        font-size: 9px;
        margin-top: 2px;
    }
    
    .match-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .btn-action {
        flex: 1 1 calc(50% - 4px);
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .match-card {
        padding: 12px;
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .league-info {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .match-content {
        margin-bottom: 10px;
    }
    
    .live-matches {
        padding: 20px 15px;
        border-radius: 15px;
        margin: 0;
    }
    
    .section-header {
        margin-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .matches-container {
        gap: 15px;
    }
    
    .hero-section .container,
    .matches-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Footer League Links - Extra Small */
    .footer-league-logo-wrapper {
        width: 22px;
        height: 22px;
        padding: 2px;
        border-radius: 4px;
    }

    .footer-league-link {
        gap: 6px;
        font-size: 13px;
    }

    /* Comments - Mobile */
    .comments-area {
        padding: 20px 15px;
        margin-top: 30px;
    }

    .comments-title {
        font-size: 20px;
    }

    .comment-body {
        flex-direction: column;
        padding: 15px;
    }

    .comment-author-avatar img {
        width: 50px;
        height: 50px;
    }

    .comment-item .children {
        padding-right: 20px;
    }

    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .comment-form-wrapper {
        padding: 20px 15px;
    }

    .comment-reply-title {
        font-size: 18px;
    }

    .comment-form-wrapper input[type="text"],
    .comment-form-wrapper input[type="email"],
    .comment-form-wrapper input[type="url"],
    .comment-form-wrapper textarea {
        font-size: 13px;
    }

    .btn-submit-comment {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }

    .comment-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .comment-navigation a {
        text-align: center;
    }

    /* Video-Style Comments - Mobile */
    .video-comments-section {
        margin-top: 30px;
    }

    .video-comments-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .comment-form-video {
        gap: 10px;
    }

    .comment-form-video .user-avatar {
        width: 40px;
        height: 40px;
    }

    .guest-input {
        font-size: 13px;
        padding: 8px 12px;
    }

    .comment-input {
        font-size: 13px;
        padding: 10px 12px;
    }

    .btn-cancel,
    .btn-comment {
        padding: 6px 16px;
        font-size: 13px;
    }

    .comment-content-video {
        gap: 10px;
    }

    .comment-user-avatar {
        width: 36px;
        height: 36px;
    }

    .comment-header-video h5 {
        font-size: 13px;
    }

    .comment-header-video h5 .reply-to {
        font-size: 12px;
        display: block;
        margin-top: 3px;
    }

    .comment-time-video {
        font-size: 11px;
    }

    .comment-text {
        font-size: 13px;
    }

    .comment-actions-video {
        gap: 10px;
        flex-wrap: wrap;
    }

    .comment-action-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .comment-action-btn i {
        font-size: 13px;
    }

    /* Mobile: reduce nesting to prevent overflow */
    .children {
        margin-right: 30px !important;
        padding-right: 10px;
        border-right-width: 1px;
    }

    .comment-item-video.depth-1 > .children {
        margin-right: 30px !important;
    }

    .comment-item-video.depth-2,
    .comment-item-video.depth-3,
    .comment-item-video.depth-4,
    .comment-item-video.depth-5 {
        padding: 10px;
    }

    .comment-item-video.depth-2::before,
    .comment-item-video.depth-3::before,
    .comment-item-video.depth-4::before,
    .comment-item-video.depth-5::before {
        width: 10px;
        right: -10px;
    }

    /* Reduce nesting for deeper levels on mobile */
    .comment-item-video.depth-2 > .children {
        margin-right: 20px !important;
    }

    .comment-item-video.depth-3 > .children,
    .comment-item-video.depth-4 > .children,
    .comment-item-video.depth-5 > .children {
        margin-right: 0 !important;
        padding-right: 0;
        border-right: none;
    }

    .comment-wrapper > .comment-respond,
    .comment-item-video .comment-respond {
        margin-right: 30px;
        padding: 12px;
        width: calc(100% - 30px);
    }

    /* Reply forms in deeper levels */
    .comment-item-video.depth-2 .comment-respond,
    .comment-item-video.depth-3 .comment-respond,
    .comment-item-video.depth-4 .comment-respond,
    .comment-item-video.depth-5 .comment-respond {
        margin-right: 0;
        width: 100%;
    }

    .btn-load-more-comments {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ===================================
   9. Animations & Utilities
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(92, 184, 92, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-green);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* WordPress Compatibility Classes */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: right;
    margin: 0 0 1em 1em;
}

.alignright {
    float: left;
    margin: 0 1em 1em 0;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   10. Matches Page Styles
   =================================== */
.page-header {
    background: var(--gradient-dark);
    padding: 40px 0;
    color: white;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-header h1 i {
    color: var(--primary-green);
}

.page-header p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.date-nav-btn {
    background: var(--primary-green);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-nav-btn:hover {
    background: var(--primary-green-dark);
    transform: scale(1.05);
}

.date-selector input[type="date"] {
    background: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark-bg);
}

.matches-filter-section {
    background: white;
    padding: 25px 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 120px;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.filter-tab {
    background: #F8F9FA;
    border: 2px solid transparent;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.filter-tab i {
    font-size: 16px;
}

.league-filters {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    padding-top: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) #f1f1f1;
    scroll-behavior: smooth;
    position: relative;
}

.league-filters::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 10px;
    width: 30px;
    background: linear-gradient(to left, transparent, rgba(245, 245, 245, 0.8));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.league-filters:not(:hover)::after {
    opacity: 1;
}

.league-filters::-webkit-scrollbar {
    height: 6px;
}

.league-filters::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.league-filters::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.league-filters::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}

.league-filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.league-filter-btn:hover,
.league-filter-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.matches-content-section {
    padding: 25px 0;
    background: #F5F5F5;
}

.matches-group {
    margin-bottom: 40px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
}

.group-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.match-count {
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.match-card-detailed {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.match-card-detailed:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.match-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #F8F9FA;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.live {
    background: #FF0000;
    color: white;
    animation: pulse-badge 2s infinite;
}

.status-badge.upcoming {
    background: var(--primary-green);
    color: white;
}

.status-badge.finished {
    background: #6C757D;
    color: white;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.match-minute,
.match-time,
.match-result {
    font-weight: 700;
    color: var(--dark-bg);
}

.league-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 0px;
    padding: 12px 20px 8px;
    border-bottom: 2px solid #F0F0F0;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.league-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    padding: 0px;
    background: #F8F9FA;
}

.match-status-badge {
    flex-shrink: 0;
}

.match-status-badge .status-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.match-status-badge .status-badge i {
    font-size: 10px;
}

.match-status-badge .status-badge.live i {
    animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.league-header span {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.match-round {
    margin-right: auto;
    color: #999;
    font-size: 12px;
}

.match-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
}

.team-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.team-section.home {
    justify-content: flex-start;
}

.team-section.away {
    justify-content: flex-end;
}

.team-section .team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 5px;
    background: #F8F9FA;
    object-fit: contain;
    flex-shrink: 0;
}

.team-info {
    min-width: 0;
    flex: 1;
}

.team-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-form {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 2px;
}

.form-badge {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.form-badge.win {
    background: #28A745;
}

.form-badge.draw {
    background: #FFC107;
}

.form-badge.loss {
    background: #DC3545;
}

.score-section {
    text-align: center;
    flex: 0 0 120px;
}

.score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.home-score,
.away-score {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-bg);
}

.home-score.winner,
.away-score.winner {
    color: var(--primary-green);
}

.score .separator {
    font-size: 20px;
    color: #999;
}

.vs-text {
    font-size: 20px;
    font-weight: 900;
    color: #999;
    margin-bottom: 5px;
}

.match-venue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.match-venue i {
    color: var(--primary-green);
}

.match-events {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
}

.event-icon {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #666;
}

.match-actions-row {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: #F8F9FA;
    border-top: 1px solid var(--border-color);
}

.action-btn {
    flex: 1;
    background: white;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn i {
    font-size: 14px;
}

/* Matches Sidebar */
.matches-sidebar {
    position: sticky;
    top: 220px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px var(--shadow);
    overflow: hidden;
    box-sizing: border-box;
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.sidebar-widget h4 i {
    color: var(--primary-green);
}

.quick-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

.quick-stats .stat-item {
    flex: none !important;
    text-align: center !important;
    padding: 10px 6px !important;
    background: #F8F9FA !important;
    border-radius: 8px !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    display: block !important;
    box-shadow: none !important;
}

.quick-stats .stat-value {
    display: block !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: var(--primary-green) !important;
    margin-bottom: 4px !important;
    line-height: 1 !important;
}

.quick-stats .stat-label {
    display: block !important;
    font-size: 10px !important;
    color: #666 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.leagues-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #F8F9FA;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.league-item:hover {
    background: var(--primary-green);
    color: white;
}

.league-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.league-item span:first-of-type {
    flex: 1;
    font-weight: 600;
}

.league-item .badge {
    background: var(--primary-green);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.league-item:hover .badge {
    background: white;
    color: var(--primary-green);
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #F8F9FA;
    border-radius: 8px;
    border-right: 3px solid var(--primary-green);
}

.reminder-time {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary-green);
    min-width: 50px;
}

.reminder-match {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-bg);
}

.reminder-match .vs {
    color: #999;
    font-weight: 400;
    margin: 0 5px;
}

.remove-reminder {
    background: none;
    border: none;
    color: #DC3545;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.remove-reminder:hover {
    transform: scale(1.2);
}

/* No Matches Message */
.no-matches-message {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
}

.no-matches-message i {
    font-size: 80px;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.no-matches-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.no-matches-message p {
    color: #999;
    font-size: 16px;
}

/* Calendar Widget */
.calendar-widget {
    text-align: center;
}

.calendar-widget p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.calendar-widget .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.calendar-widget .form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
}

/* Responsive for Matches Page */
@media (max-width: 1199px) {
    .quick-stats {
        gap: 6px !important;
    }

    .quick-stats .stat-item {
        padding: 9px 5px !important;
    }

    .quick-stats .stat-value {
        font-size: 20px !important;
    }

    .quick-stats .stat-label {
        font-size: 9px !important;
    }
}

@media (max-width: 991px) {
    .page-header h1 {
        font-size: 28px;
    }

    .date-selector {
        margin-top: 20px;
    }

    .matches-filter-section {
        position: static;
    }
    
    .match-details-row {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .team-section {
        flex: 1;
        justify-content: flex-start;
    }
    
    .team-section.home {
        justify-content: flex-start;
    }
    
    .team-section.away {
        justify-content: flex-end;
    }
    
    .score-section {
        flex: 0 0 80px;
    }
    
    .match-actions-row {
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1 1 calc(50% - 5px);
    }
    
    .matches-sidebar {
        position: static;
        margin-top: 30px;
    }

    .quick-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .quick-stats .stat-item {
        padding: 8px 4px !important;
    }

    .quick-stats .stat-value {
        font-size: 20px !important;
    }

    .quick-stats .stat-label {
        font-size: 9px !important;
    }
}

@media (max-width: 767px) {
    .filter-tabs,
    .league-filters {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
        padding-left: 10px;
        padding-right: 10px;
    }

    .filter-tabs::-webkit-scrollbar,
    .league-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-tab,
    .league-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        touch-action: pan-x;
    }

    .league-filters::before,
    .league-filters::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 10px;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }

    .league-filters::before {
        right: 0;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    }

    .league-filters::after {
        left: 0;
        background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.9));
    }

    .filter-tabs::before,
    .filter-tabs::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }

    .filter-tabs::before {
        right: 0;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    }

    .filter-tabs::after {
        left: 0;
        background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.9));
    }
    
    .quick-stats {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .quick-stats .stat-item {
        padding: 12px !important;
    }
    
    .match-details-row {
        flex-direction: row;
        gap: 5px;
        padding: 15px 12px;
    }
    
    .team-section {
        flex: 1;
        min-width: 0;
        gap: 8px;
    }
    
    .team-section.home {
        justify-content: flex-start;
    }
    
    .team-section.away {
        justify-content: flex-end;
    }
    
    .team-section .team-logo {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .team-info {
        min-width: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
    }
    
    .team-section.away .team-info {
        align-items: flex-end;
    }
    
    .team-info h4 {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
        width: 100%;
    }
    
    .team-form {
        gap: 2px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-top: 1px;
    }
    
    .team-section.away .team-form {
        justify-content: flex-end;
    }
    
    .form-badge {
        width: 14px;
        height: 14px;
        font-size: 7px;
        border-radius: 2px;
        flex-shrink: 0;
    }
    
    .score-section {
        flex: 0 0 60px;
    }

    .home-score,
    .away-score {
        font-size: 22px;
    }

    .vs-text {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .match-time {
        font-size: 12px;
    }

    .action-btn {
        font-size: 11px;
        padding: 6px 8px;
        gap: 4px;
    }

    .league-header {
        padding: 10px 15px 6px;
        flex-wrap: wrap;
    }

    .league-info {
        gap: 8px;
    }

    .league-header img {
        width: 24px;
        height: 24px;
    }

    .league-header span {
        font-size: 11px;
    }

    .match-round {
        font-size: 10px;
    }

    .match-status-badge .status-badge {
        font-size: 10px;
        padding: 4px 8px;
        gap: 4px;
    }

    .match-status-badge .status-badge i {
        font-size: 8px;
    }
}

/* ===================================
   11. Highlights Page Styles
   =================================== */
.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 45px 12px 20px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.2);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.highlights-filter-section {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 120px;
    z-index: 100;
}

.filter-options {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark-bg);
    margin: 0;
    white-space: nowrap;
}

.filter-group .form-select {
    min-width: 180px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(92, 184, 92, 0.25);
}

.featured-highlight-section {
    padding: 25px 0;
    background: #F5F5F5;
}

.featured-highlight-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-dark);
}

.featured-video-container {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.featured-video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.featured-highlight-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-btn-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(92, 184, 92, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-large:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(92, 184, 92, 0.7);
}

.video-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.badge-hd,
.badge-duration {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.badge-hd {
    background: var(--primary-green);
}

.featured-highlight-info {
    padding: 40px;
}

.featured-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-highlight-info h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.match-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.highlight-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.highlight-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.highlight-stats .stat i {
    color: var(--primary-green);
    font-size: 16px;
}

.league-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 10px;
    margin-bottom: 25px;
}

.league-badge img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.league-badge span {
    font-weight: 600;
    color: var(--dark-bg);
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary-action,
.btn-secondary-action {
    flex: 1;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary-action {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92, 184, 92, 0.4);
}

.btn-secondary-action {
    background: white;
    color: var(--dark-bg);
    border: 2px solid var(--border-color);
}

.btn-secondary-action:hover {
    background: #F8F9FA;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.highlights-grid-section {
    padding: 25px 0;
    background: #F5F5F5;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h3 i {
    color: var(--primary-green);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.highlight-video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.highlight-video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(92, 184, 92, 0.5);
}

.highlight-video-card:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.15);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.video-quality {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.video-info {
    padding: 20px;
}

.league-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.league-tag img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.league-tag span {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.video-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    color: var(--primary-green);
}

.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92, 184, 92, 0.3);
}

.btn-load-more i {
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: rotate(180deg);
}

/* Highlights Sidebar */
.highlights-sidebar {
    position: sticky;
    top: 220px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.trending-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
}

.trending-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.trending-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(92, 184, 92, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.duration-small {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}

.trending-info {
    flex: 1;
}

.trending-info h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-bg);
}

.trending-item:hover .trending-info h5 {
    color: white;
}

.trending-info .views {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-item:hover .trending-info .views {
    color: rgba(255, 255, 255, 0.8);
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #F8F9FA;
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark-bg);
    transition: all 0.3s ease;
}

.category-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
}

.category-item .count {
    background: white;
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.category-item:hover .count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.subscribe-widget {
    text-align: center;
    background: var(--gradient-primary) !important;
    color: white !important;
}

.subscribe-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.subscribe-widget h4 {
    color: white !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.subscribe-widget p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-subscribe {
    background: white;
    color: var(--primary-green);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive for Highlights Page */
@media (max-width: 991px) {
    .featured-highlight-info {
        padding: 30px;
    }
    
    .featured-highlight-info h2 {
        font-size: 24px;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .highlights-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .search-box {
        margin-top: 20px;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group .form-select {
        width: 100%;
    }
    
    .highlights-filter-section {
        position: static;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   12. Single Article Page Styles
   =================================== */
.article-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.single-article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 15px var(--shadow);
}

.article-breadcrumb {
    margin-bottom: 25px;
}

.article-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.article-breadcrumb .breadcrumb-item {
    font-size: 14px;
}

.article-breadcrumb .breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.article-breadcrumb .breadcrumb-item.active {
    color: #666;
}

.article-header {
    margin-bottom: 30px;
}

.article-category {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.category-badge.secondary {
    background: var(--dark-bg);
}

.article-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--dark-bg);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-bg);
}

.meta-item i {
    color: var(--primary-green);
}

.article-featured-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: #F8F9FA;
    padding: 12px 20px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-caption i {
    color: var(--primary-green);
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 25px;
    line-height: 1.6;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 35px 0 20px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-quote {
    background: #F8F9FA;
    border-right: 4px solid var(--primary-green);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 10px;
    position: relative;
}

.article-quote i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--primary-green);
    opacity: 0.2;
}

.article-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--dark-bg);
    margin: 0 0 15px;
    position: relative;
    z-index: 1;
}

.article-quote footer {
    font-size: 14px;
    color: #666;
    font-style: normal;
}

.article-stats {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.article-stats h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-stats h3 i {
    color: var(--primary-green);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
}

.stat-bar {
    height: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 15px;
    transition: width 0.5s ease;
}

.stat-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
}

.article-tags {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
}

.article-tags h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-tags h4 i {
    color: var(--primary-green);
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-item {
    display: inline-block;
    background: #F8F9FA;
    color: var(--dark-bg);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.article-share {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
}

.article-share h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share h4 i {
    color: var(--primary-green);
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.telegram {
    background: #0088CC;
}

.share-btn.copy {
    background: var(--dark-bg);
}

.related-articles {
    margin: 50px 0 40px;
    padding: 35px 0 0;
    border-top: 2px solid #E8E8E8;
}

.related-articles .row {
    margin: 0 -10px;
}

.related-articles .col-md-6 {
    padding: 0 10px;
}

.related-articles h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-articles h3 i {
    color: var(--primary-green);
    font-size: 22px;
}

.related-article-card {
    display: block;
    background: white;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.related-article-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-image {
    flex-shrink: 0;
    width: 180px;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    flex: 1;
    padding: 15px 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-category {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    min-height: 48px;
}

.related-article-card:hover .related-content h4 {
    color: var(--primary-green);
}

.related-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-meta i {
    font-size: 12px;
    color: var(--primary-green);
}

/* Tablet view - stack cards vertically */
@media (max-width: 991px) {
    .related-articles .col-md-6 {
        margin-bottom: 20px;
    }

    .related-image {
        width: 160px;
        height: 130px;
    }

    .related-content h4 {
        font-size: 15px;
        min-height: auto;
    }
}

.comments-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.comments-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-section h3 i {
    color: var(--primary-green);
}

.comment-form {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.comment-form h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.comment-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
}

.comment-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(92, 184, 92, 0.25);
}

.comment-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.comment-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment-item {
    display: flex;
    gap: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    background: #F8F9FA;
    padding: 20px;
    border-radius: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-content p {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-action {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-action:hover {
    color: var(--primary-green);
}

.btn-load-more-comments {
    display: block;
    width: 100%;
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more-comments:hover {
    background: var(--primary-green);
    color: white;
}

.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-news-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #F8F9FA;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.latest-news-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
}

.latest-news-item img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-news-content {
    flex: 1;
}

.latest-news-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
    line-height: 1.3;
}

.latest-news-item:hover .latest-news-content h5 {
    color: white;
}

.news-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.latest-news-item:hover .news-time {
    color: rgba(255, 255, 255, 0.8);
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive for Single Article */
@media (max-width: 991px) {
    .single-article {
        padding: 30px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content .lead {
        font-size: 18px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .single-article {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .related-articles {
        margin: 30px 0;
        padding: 20px 0;
    }

    .related-articles h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .related-article-link {
        flex-direction: column;
    }

    .related-image {
        width: 100%;
        height: 200px;
    }

    .related-content {
        padding: 15px;
    }

    .related-content h4 {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   13. Single Match Page Styles
   =================================== */
.match-details-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.match-breadcrumb {
    margin-bottom: 25px;
}

.match-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.match-breadcrumb .breadcrumb-item {
    font-size: 14px;
}

.match-breadcrumb .breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.match-header-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 30px;
}

.match-league-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.match-league-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.league-details {
    flex: 1;
}

.league-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0 0 5px;
}

.league-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.match-status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.match-status-badge.finished {
    background: #6C757D;
    color: white;
}

.match-status-badge.live {
    background: #FF0000;
    color: white;
    animation: pulse-badge 2s infinite;
}

.match-status-badge.upcoming {
    background: var(--primary-green);
    color: white;
}

.match-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.team-section-large {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.team-section-large.home {
    justify-content: flex-start;
}

.team-section-large.away {
    justify-content: flex-start;
}

.team-logo-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 10px;
    background: #F8F9FA;
    object-fit: contain;
    flex-shrink: 0;
}

.team-details {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    width: 100%;
}

.team-details h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-bg);
    margin-bottom: 10px;
    text-align: center;
}

.team-form-large {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.match-score-section {
    text-align: center;
    flex: 0 0 250px;
}

.final-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.home-score,
.away-score {
    font-size: 56px;
    font-weight: 900;
    color: var(--dark-bg);
}

.home-score.winner,
.away-score.winner {
    color: var(--primary-green);
}

.score-separator {
    font-size: 36px;
    color: #999;
}

.match-time-info,
.match-date-info,
.match-venue-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.match-time-info i,
.match-date-info i,
.match-venue-info i {
    color: var(--primary-green);
}

.match-quick-actions {
    display: flex;
    gap: 10px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.quick-action-btn {
    flex: 1;
    min-width: 120px;
    background: #F8F9FA;
    border: 2px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.quick-action-btn:hover,
.quick-action-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.quick-action-btn i {
    font-size: 18px;
}

/* زر معطل */
.quick-action-btn.disabled {
    background: #E8E9EA;
    border-color: #DEE0E2;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.quick-action-btn.disabled:hover {
    background: #E8E9EA;
    border-color: #DEE0E2;
    color: #999;
    transform: none;
}

/* زر البث المباشر */
.quick-action-btn.live-stream-btn {
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border-color: #E53935;
    color: white;
    text-decoration: none;
}

.quick-action-btn.live-stream-btn:hover {
    background: linear-gradient(135deg, #C62828 0%, #B71C1C 100%);
    border-color: #C62828;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

/* مؤشر البث المباشر (النقطة الحمراء) */
.match-quick-actions .quick-action-btn .live-indicator {
    color: #E53935 !important;
    animation: pulse-live 1.5s ease-in-out infinite;
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
    position: static !important;
    filter: drop-shadow(0 0 3px rgba(229, 57, 53, 0.5));
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.match-section-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px var(--shadow);
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.section-title i {
    color: var(--primary-green);
}

.match-events-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 12px;
    border-right: 4px solid transparent;
}

.event-item.goal {
    border-right-color: var(--primary-green);
}

.event-item.card {
    border-right-color: #FFC107;
}

.event-item.substitution {
    border-right-color: #17A2B8;
}

.event-time {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary-green);
    min-width: 50px;
    text-align: center;
}

.event-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.event-icon.yellow {
    background: #FFC107;
}

.event-icon.red {
    background: #DC3545;
}

.event-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0 0 5px;
}

.event-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.assist {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.player-in {
    color: #28A745;
}

.player-out {
    color: #DC3545;
}

.event-score {
    font-size: 20px;
    font-weight: 900;
    color: var(--dark-bg);
    min-width: 60px;
    text-align: center;
}

.halftime,
.fulltime {
    background: transparent;
    border: none;
    padding: 20px 0;
}

.halftime-indicator,
.fulltime-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: var(--dark-bg);
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}

.fulltime-indicator {
    background: var(--gradient-primary);
}

.match-statistics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-value {
    font-size: 18px;
    font-weight: 900;
    min-width: 60px;
    text-align: center;
}

.stat-value.home {
    color: var(--primary-green);
}

.stat-value.away {
    color: #DC3545;
}

.stat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
    text-align: center;
}

.stat-bar-container {
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.stat-bar-fill.home {
    background: var(--primary-green);
}

.stat-bar-fill.away {
    background: #DC3545;
}

.lineups-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.team-lineup {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 20px;
}

.lineup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.lineup-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
}

.lineup-header h4 {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0;
}

.formation {
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
}

.player-item.goalkeeper {
    background: #FFF3CD;
}

.player-item.scorer {
    background: #D4EDDA;
}

.player-number {
    width: 30px;
    height: 30px;
    background: var(--dark-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.player-name {
    flex: 1;
    font-weight: 600;
    color: var(--dark-bg);
}

.player-position {
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-bg);
    text-transform: uppercase;
}

.player-item i {
    font-size: 14px;
}

.match-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #F8F9FA;
    border-radius: 8px;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.info-label i {
    color: var(--primary-green);
}

.info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
}

.standing-row.highlight {
    background: #E8F5E9;
    border-right: 4px solid var(--primary-green);
}

.next-matches-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.next-match-item {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.next-match-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

.next-match-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.next-match-item:hover .next-match-date {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.next-match-date .date {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-bg);
}

.next-match-item:hover .next-match-date .date {
    color: white;
}

.next-match-date .time {
    font-size: 12px;
    color: #666;
}

.next-match-item:hover .next-match-date .time {
    color: rgba(255, 255, 255, 0.8);
}

.next-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.next-match-teams .team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.next-match-teams .team img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
}

.next-match-teams .team span {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-bg);
}

.next-match-item:hover .next-match-teams .team span {
    color: white;
}

.next-match-teams .vs {
    font-size: 11px;
    font-weight: 700;
    color: #999;
}

.next-match-item:hover .next-match-teams .vs {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive for Single Match */
@media (max-width: 991px) {
    .match-header-card {
        padding: 30px 20px;
    }
    
    .match-main-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-section-large {
        width: 100%;
        justify-content: center;
    }
    
    .team-section-large.away {
        flex-direction: row;
    }
    
    .team-logo-large {
        width: 80px;
        height: 80px;
    }
    
    .team-details h2 {
        font-size: 22px;
    }
    
    .match-score-section {
        flex: 1;
    }
    
    .lineups-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .match-header-card {
        padding: 20px 15px;
    }
    
    .match-league-info {
        flex-wrap: wrap;
    }
    
    .team-logo-large {
        width: 60px;
        height: 60px;
    }
    
    .team-details h2 {
        font-size: 18px;
    }
    
    .team-form-large {
        gap: 3px;
    }
    
    .form-badge {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }
    
    .final-score {
        gap: 15px;
    }
    
    .home-score,
    .away-score {
        font-size: 40px;
    }
    
    .score-separator {
        font-size: 28px;
    }

    .match-quick-actions {
        gap: 8px;
    }
    
    .quick-action-btn {
        min-width: 80px;
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .quick-action-btn i {
        font-size: 16px;
    }
    
    .quick-action-btn span {
        display: none;
    }
    
    .match-section-card {
        padding: 20px 15px;
    }
    
    .event-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .event-time {
        min-width: 40px;
        font-size: 14px;
    }
    
    .event-score {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .stat-row {
        flex-wrap: wrap;
    }
    
    .stat-value {
        font-size: 16px;
        min-width: 50px;
    }
}

/* ===================================
   14. Single Highlight Video Page Styles
   =================================== */
.video-details-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.video-breadcrumb {
    margin-bottom: 25px;
}

.video-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.video-breadcrumb .breadcrumb-item {
    font-size: 14px;
}

.video-breadcrumb .breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.video-player-container {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-player {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #000;
}

/* مشغل الفيديو - إزالة أي padding زائد */
.highlight-video-player {
    width: 100% !important;
    height: 600px !important;
    background: #000;
    position: relative;
}

.highlight-video-player > div[data-player] {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.highlight-video-player video {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    background: #000;
}

/* تحسين عرض جميع أنواع المشغلات - responsive */
.embed-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.embed-video-container iframe,
.embed-video-container video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* YouTube iframe responsive */
.embed-video-container iframe[src*="youtube"],
.embed-video-container iframe[src*="youtu.be"] {
    border-radius: 10px;
}

/* تحسين عرض المشغل على الجوال */
@media (max-width: 768px) {
    .video-player-container {
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .video-player {
        min-height: 250px !important;
        height: auto !important;
    }

    .highlight-video-player {
        height: 250px !important;
        border-radius: 10px;
    }

    /* embed videos على الجوال */
    .embed-video-container {
        padding-bottom: 56.25% !important;
        border-radius: 10px;
    }

    /* إزالة أي padding زائد على الجوال */
    .video-player,
    .highlight-video-player,
    .video-player-container {
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    .highlight-video-player > div[data-player],
    .highlight-video-player video {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Tablet - medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .highlight-video-player {
        height: 450px !important;
    }

    .embed-video-container {
        padding-bottom: 56.25%;
    }
}

/* Desktop - large screens */
@media (min-width: 1025px) {
    .highlight-video-player {
        height: 600px !important;
        max-height: 70vh !important;
    }

    .embed-video-container {
        padding-bottom: 56.25%;
    }
}

.video-player img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay-large:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-btn-xl {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(92, 184, 92, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 8px;
}

.play-btn-xl:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(92, 184, 92, 0.7);
}

.video-quality-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #1A1A1A;
}

.video-quality-selector span {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.quality-btn {
    background: #2A2A2A;
    border: 2px solid #3A3A3A;
    color: white;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-btn:hover,
.quality-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.video-info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px var(--shadow);
    margin-bottom: 25px;
}

.video-header {
    margin-bottom: 25px;
}

.video-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.video-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.video-badge.featured {
    background: var(--primary-green);
    color: white;
}

.video-badge.hd {
    background: #FF6B6B;
    color: white;
}

.video-badge.duration {
    background: var(--dark-bg);
    color: white;
}

.video-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-bg);
    line-height: 1.3;
    margin-bottom: 15px;
}

.video-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-group i {
    color: var(--primary-green);
}

.video-actions-bar {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.action-btn-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: #F8F9FA;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.action-btn-video:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.action-btn-video i {
    font-size: 20px;
}

.action-btn-video span {
    font-size: 12px;
    font-weight: 600;
}

.action-btn-video strong {
    font-size: 14px;
}

.match-result-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #F8F9FA;
    border-radius: 15px;
    margin-bottom: 25px;
}

.result-team {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.result-team.away {
    flex-direction: row-reverse;
}

.result-team img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 8px;
    background: white;
    object-fit: contain;
}

.team-info-result h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0 0 5px;
}

.team-league {
    font-size: 12px;
    color: #666;
}

.result-score {
    text-align: center;
    flex: 0 0 120px;
}

.score-home,
.score-away {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-bg);
}

.score-home.winner {
    color: var(--primary-green);
}

.score-sep {
    font-size: 24px;
    color: #999;
    margin: 0 10px;
}

.match-date-small {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.video-description {
    margin-bottom: 25px;
}

.video-description h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-description h3 i {
    color: var(--primary-green);
}

.video-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.video-tags-section {
    margin-top: 20px;
}

.video-tags-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 12px;
}

.video-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.video-tag {
    display: inline-block;
    background: #F8F9FA;
    color: var(--dark-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-tag:hover {
    background: var(--primary-green);
    color: white;
}

.highlights-timeline-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px var(--shadow);
    margin-bottom: 25px;
}

.highlights-timeline-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-timeline-card h3 i {
    color: var(--primary-green);
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #E8F5E9;
}

.timeline-time {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary-green);
    min-width: 60px;
}

.timeline-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-bg);
}

.timeline-content i {
    color: var(--primary-green);
}

.timeline-play-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

.video-comments-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px var(--shadow);
}

.video-comments-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-comments-section h3 i {
    color: var(--primary-green);
}

.comment-form-video {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-input-wrapper {
    flex: 1;
}

.comment-input {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    font-family: 'Cairo', sans-serif;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.btn-cancel,
.btn-comment {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: transparent;
    border: none;
    color: #666;
}

.btn-cancel:hover {
    color: var(--dark-bg);
}

.btn-comment {
    background: var(--primary-green);
    border: none;
    color: white;
}

.btn-comment:hover {
    background: var(--primary-green-dark);
}

/* تم حذف تعريفات CSS المكررة لنظام التعليقات - التعريفات الأساسية موجودة في السطر 2037-2318 */

.related-videos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-video-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #F8F9FA;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.related-video-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(92, 184, 92, 0.3);
}

.related-video-thumb {
    position: relative;
    width: 130px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-video-item:hover .related-video-thumb img {
    transform: scale(1.05);
}

.video-duration-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: rgba(92, 184, 92, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.related-video-info {
    flex: 1;
}

.related-video-info h4,
.related-video-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-video-info h4 a,
.related-video-info h5 a {
    color: var(--dark-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-video-item:hover .related-video-info h4,
.related-video-item:hover .related-video-info h5,
.related-video-item:hover .related-video-info h4 a,
.related-video-item:hover .related-video-info h5 a {
    color: white;
}

.related-video-league {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 600;
}

.related-video-item:hover .related-video-league {
    color: white;
}

.related-video-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
}

.related-video-item:hover .related-video-meta {
    color: rgba(255, 255, 255, 0.9);
}

.related-video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-video-item:hover .related-video-overlay {
    opacity: 1;
}

.related-video-overlay i {
    font-size: 28px;
    color: white;
}

.related-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* Responsive for Single Highlight */
@media (max-width: 991px) {
    .video-info-card {
        padding: 25px 20px;
    }

    .video-title {
        font-size: 24px;
    }

    .match-result-summary {
        flex-direction: column;
        gap: 15px;
    }

    .result-team {
        width: 100%;
        justify-content: center;
    }

    .result-score {
        flex: 1;
    }

    /* Sidebar on Tablet */
    .sidebar {
        position: static;
        margin-top: 30px;
    }

    .widget {
        padding: 20px;
    }

    .widget h3,
    .widget h4,
    .widget-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .video-info-card {
        padding: 20px 15px;
    }
    
    .video-title {
        font-size: 20px;
    }
    
    .play-btn-xl {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .video-actions-bar {
        gap: 8px;
    }
    
    .action-btn-video {
        min-width: 70px;
        padding: 10px 12px;
    }
    
    .action-btn-video span {
        font-size: 11px;
    }
    
    .result-team img {
        width: 50px;
        height: 50px;
    }
    
    .team-info-result h3 {
        font-size: 16px;
    }
    
    .score-home,
    .score-away {
        font-size: 28px;
    }
    
    .timeline-item {
        flex-wrap: wrap;
    }
    
    .timeline-play-btn {
        width: 35px;
        height: 35px;
    }
    
    .comment-form-video {
        flex-direction: column;
    }
    
    .related-video-thumb {
        width: 100px;
        height: 70px;
    }

    /* Sidebar on Mobile */
    .sidebar {
        margin-top: 25px;
    }

    .widget {
        padding: 18px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .widget h3,
    .widget h4,
    .widget-title {
        font-size: 15px;
        padding-bottom: 12px;
        margin-bottom: 15px;
    }

    .related-video-item {
        padding: 10px;
        gap: 10px;
    }

    .related-video-info h4,
    .related-video-info h5 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .related-video-meta {
        font-size: 11px;
        gap: 8px;
    }

    .league-list-widget li a {
        padding: 10px;
        gap: 10px;
    }

    .league-list-widget li a img {
        width: 30px;
        height: 30px;
    }

    .league-list-widget li a span:first-of-type {
        font-size: 13px;
    }

    .standing-row,
    .scorer-row {
        padding: 10px;
        gap: 8px;
    }

    .standing-row .position {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .standing-row img,
    .scorer-row img {
        width: 28px;
        height: 28px;
    }

    .scorer-row img {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   SECTION 15: ESSENTIAL PAGES STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4A9D4A 100%);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.page-header-content {
    text-align: center;
    color: white;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header-content h1 i {
    margin-left: 10px;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    margin: 0;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: var(--dark-bg);
}

.page-header .breadcrumb-item.active {
    color: white;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "←";
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Page Styles */
.contact-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(92, 184, 92, 0.2);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.8;
}

.social-contact {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
}

.social-contact h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.social-links-large {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.twitter {
    background: #1DA1F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.telegram {
    background: #0088CC;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 8px;
    display: block;
}

.contact-form label i {
    margin-left: 5px;
    color: var(--primary-green);
}

.contact-form .form-control {
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(92, 184, 92, 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(92, 184, 92, 0.4);
}

.map-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
}

.map-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
}

/* About Page Styles */
.about-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.about-image {
    position: relative;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
}

.about-image img {
    max-width: 300px;
    height: auto;
}

.about-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(92, 184, 92, 0.3);
}

.about-badge i {
    margin-left: 8px;
}

.about-content {
    padding: 20px 0;
}

.about-content .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(92, 184, 92, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.mission-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(92, 184, 92, 0.2);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.mission-card p {
    color: #666;
    line-height: 1.8;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(92, 184, 92, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    margin: 0;
}

.coverage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    height: 100%;
}

.coverage-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.coverage-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.coverage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-card ul li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #F0F0F0;
}

.coverage-card ul li:last-child {
    border-bottom: none;
}

.coverage-card ul li i {
    color: var(--primary-green);
    margin-left: 10px;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(92, 184, 92, 0.2);
}

.team-image {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin: 0 auto 20px;
}

.team-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #F0F0F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

/* Policy Pages Styles (Privacy & Terms) */
.policy-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.policy-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
}

.policy-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F0F0F0;
}

.policy-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.last-updated {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #F8F9FA;
    padding: 8px 15px;
    border-radius: 20px;
}

.last-updated i {
    margin-left: 5px;
    color: var(--primary-green);
}

.policy-intro p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #F0F0F0;
}

.policy-section-item:last-child {
    border-bottom: none;
}

.section-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.section-content {
    flex: 1;
}

.section-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.section-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin: 20px 0 10px;
}

.section-content h4 i {
    margin-left: 8px;
    color: var(--primary-green);
}

.section-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.section-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.section-content ul li {
    padding: 8px 0;
    color: #666;
    line-height: 1.8;
}

.section-content ul li i {
    color: var(--primary-green);
    margin-left: 10px;
}

.info-box {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid var(--primary-green);
    margin: 20px 0;
}

.info-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.info-box h4 i {
    margin-left: 8px;
    color: var(--primary-green);
}

.info-box p {
    color: #666;
    margin-bottom: 10px;
}

.info-box ul {
    margin-bottom: 0;
}

.security-feature {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
}

.security-feature i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.security-feature h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.security-feature p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-types {
    margin-top: 20px;
}

.cookie-type {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cookie-type h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.cookie-type h5 i {
    margin-left: 8px;
    color: var(--primary-green);
}

.cookie-type p {
    color: #666;
    margin: 0;
}

.contact-info-box {
    background: #F8F9FA;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #E0E0E0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.prohibited-list {
    margin-top: 20px;
}

.prohibited-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #FFF3F3;
    border-radius: 10px;
    margin-bottom: 15px;
    border-right: 3px solid #DC3545;
}

.prohibited-item i {
    font-size: 1.5rem;
    color: #DC3545;
    flex-shrink: 0;
}

.prohibited-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.prohibited-item p {
    color: #666;
    margin: 0;
}

.disclaimer-box {
    background: #FFF9E6;
    padding: 20px;
    border-radius: 10px;
    border-right: 3px solid #FFC107;
    margin-bottom: 15px;
}

.disclaimer-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.disclaimer-box h5 i {
    margin-left: 8px;
    color: #FFC107;
}

.disclaimer-box p {
    color: #666;
    margin: 0;
}

.acceptance-box {
    background: #E8F5E9;
    padding: 25px;
    border-radius: 10px;
    border-right: 4px solid var(--primary-green);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 30px;
}

.acceptance-box i {
    font-size: 2.5rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.acceptance-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.acceptance-box p {
    color: #666;
    margin: 0;
}

/* Policy Sidebar */
.policy-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
}

.policy-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-nav li {
    margin-bottom: 10px;
}

.policy-nav li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.policy-nav li a:hover {
    background: #F8F9FA;
    color: var(--primary-green);
    padding-right: 15px;
}

.policy-nav li a i {
    margin-left: 8px;
    font-size: 0.8rem;
}

.related-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-links li {
    margin-bottom: 10px;
}

.related-links li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-links li a:hover {
    background: var(--primary-green);
    color: white;
}

.related-links li a i {
    margin-left: 10px;
    font-size: 1.1rem;
}

.help-box {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.help-box i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.help-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.help-box p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.help-box .btn {
    background: white;
    color: var(--primary-green);
    border: none;
}

.help-box .btn:hover {
    background: var(--dark-bg);
    color: white;
}

.important-notice {
    background: #FFF9E6;
    border-right: 4px solid #FFC107;
}

.important-notice i {
    font-size: 3rem;
    color: #FFC107;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.important-notice h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
    text-align: center;
}

.important-notice p {
    color: #666;
    margin: 0;
    text-align: center;
}

/* Responsive Styles for Essential Pages */
@media (max-width: 991px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .policy-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .policy-section-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: 100%;
    }
}

@media (max-width: 767px) {
    .page-header-content h1 {
        font-size: 1.5rem;
    }
    
    .contact-form-card,
    .policy-content,
    .map-container {
        padding: 25px;
    }
    
    .about-image {
        padding: 25px;
    }
    
    .about-image img {
        max-width: 200px;
    }
    
    .mission-card,
    .feature-card,
    .coverage-card {
        padding: 25px;
    }
    
    .social-links-large {
        justify-content: center;
    }
    
    .acceptance-box {
        flex-direction: column;
        text-align: center;
    }
}


/* ============================================
   SECTION 16: ARCHIVE PAGES STYLES
   ============================================ */

/* Common Archive Styles */
.archive-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.archive-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.archive-filters .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.archive-pagination {
    margin-top: 40px;
}

.archive-pagination .pagination {
    justify-content: center;
    gap: 5px;
}

.archive-pagination .page-item {
    margin: 0;
}

.archive-pagination .page-link {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--dark-bg);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.archive-pagination .page-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.archive-pagination .page-item.active .page-link {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.archive-pagination .page-item.disabled .page-link {
    background: #F8F9FA;
    border-color: var(--border-color);
    color: #999;
    cursor: not-allowed;
}

/* Archive Sidebar */
.archive-sidebar {
    position: sticky;
    top: 100px;
}

.archive-sidebar .sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px var(--shadow);
}

.archive-sidebar .widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-sidebar .widget-title i {
    color: var(--primary-green);
}

/* Sidebar Search */
.sidebar-search {
    display: flex;
    gap: 10px;
}

.sidebar-search input {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.sidebar-search button {
    background: var(--primary-green);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-search button:hover {
    background: var(--primary-green-dark);
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #F8F9FA;
    border-radius: 8px;
    color: var(--dark-bg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
}

.category-list li a i {
    font-size: 12px;
    margin-left: 8px;
}

.category-list li a span {
    background: white;
    color: var(--primary-green);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.category-list li a:hover span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.popular-post:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
}

.popular-post img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-content {
    flex: 1;
}

.post-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
    line-height: 1.3;
}

.popular-post:hover .post-content h4 {
    color: white;
}

.post-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.popular-post:hover .post-date {
    color: rgba(255, 255, 255, 0.8);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-cloud a {
    display: inline-block;
    background: #F8F9FA;
    color: var(--dark-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-cloud a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.tags-cloud a.tag-large {
    font-size: 15px;
    padding: 8px 18px;
}

/* News Archive Grid */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Leagues Archive Styles */
.leagues-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.leagues-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
}

.category-title i {
    color: var(--primary-green);
}

.league-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.league-card.featured {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, #ffffff 0%, #f0fff0 100%);
}

.league-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F0F0F0;
}

.league-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    padding: 5px;
    background: #F8F9FA;
}

.league-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.league-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.league-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex: 1;
}

.league-stats .stat-item {
    flex: 1;
    background: #F8F9FA;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.league-stats .stat-item i {
    color: var(--primary-green);
    margin-left: 5px;
}

.league-stats .stat-item span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.league-actions {
    display: flex;
    gap: 10px;
}

.btn-league {
    flex: 1;
    background: #F8F9FA;
    border: 2px solid var(--border-color);
    color: var(--dark-bg);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-league:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Teams Archive Styles */
.teams-section {
    padding: 40px 0;
    background: #F5F5F5;
}

.teams-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.teams-search {
    margin-bottom: 30px;
}

.teams-search .search-box {
    position: relative;
}

.teams-search .search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.teams-search .search-box input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(92, 184, 92, 0.25);
}

.teams-search .search-box button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-green);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.teams-search .search-box button:hover {
    background: var(--primary-green-dark);
    transform: translateY(-50%) scale(1.1);
}

.teams-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.teams-category {
    margin-bottom: 20px;
}

.teams-category .category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.teams-category .category-title img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 50%;
    object-fit: contain;
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.team-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
}

.team-stats span {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-stats span i {
    color: var(--primary-green);
}

.btn-team {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-team:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.3);
}

/* Tags Archive Styles */
.tag-info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px var(--shadow);
    margin-bottom: 30px;
}

.tag-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tag-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.tag-details h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.tag-details p {
    color: #666;
    margin: 0;
}

.tag-details strong {
    color: var(--primary-green);
}

.tag-description {
    padding: 20px;
    background: #F8F9FA;
    border-radius: 10px;
    border-right: 4px solid var(--primary-green);
}

.tag-description p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.content-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--dark-bg);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.tag-content-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Match Card Archive */
.match-card-archive {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.match-card-archive:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.match-header-archive {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F0F0F0;
}

.match-header-archive img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: contain;
}

.match-header-archive span {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.match-content-archive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.team-archive {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team-archive img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    padding: 5px;
    background: #F8F9FA;
}

.team-archive span {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
}

.match-score-archive {
    text-align: center;
    flex: 0 0 80px;
}

.match-score-archive .score {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.match-score-archive .status {
    font-size: 12px;
    color: #666;
}

.match-actions-archive {
    display: flex;
    gap: 10px;
}

.btn-archive {
    flex: 1;
    background: #F8F9FA;
    border: none;
    color: var(--dark-bg);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-archive:hover {
    background: var(--primary-green);
    color: white;
}

/* Video Card Archive */
.video-card-archive {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.video-card-archive:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-card-archive:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-overlay i {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.video-content {
    padding: 20px;
}

.video-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.video-content h3 a {
    color: var(--dark-bg);
    text-decoration: none;
}

.video-content h3 a:hover {
    color: var(--primary-green);
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    color: var(--primary-green);
}

/* Related Tags Widget */
.popular-tags-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popular-tag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #F8F9FA;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-tag-item:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-5px);
}

.popular-tag-item.active {
    background: var(--primary-green);
    color: white;
}

.tag-name {
    font-weight: 600;
    color: var(--dark-bg);
}

.popular-tag-item:hover .tag-name,
.popular-tag-item.active .tag-name {
    color: white;
}

.tag-count {
    background: white;
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.popular-tag-item:hover .tag-count,
.popular-tag-item.active .tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.all-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.all-tags-cloud a {
    display: inline-block;
    background: #F8F9FA;
    color: var(--dark-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.all-tags-cloud a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Styles for Archive Pages */
@media (max-width: 991px) {
    .archive-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .leagues-category {
        margin-bottom: 40px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .archive-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .archive-filters .filter-btn {
        white-space: nowrap;
    }
    
    .teams-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .content-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .tag-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tag-details h2 {
        font-size: 1.5rem;
    }
    
    .match-content-archive {
        flex-direction: column;
        gap: 10px;
    }
    
    .team-archive {
        width: 100%;
        justify-content: center;
    }
    
    .match-score-archive {
        flex: 1;
    }
    
    .league-stats {
        flex-direction: column;
    }
    
    .league-actions {
        flex-direction: column;
    }
}

/* End of Archive Pages Styles */
/* End of Essential Pages Styles */

/* === Match Highlights Section === */
.match-highlights {
    padding: 20px 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === Head to Head Section === */
.h2h-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
}

.h2h-match-item {
    padding: 15px;
    background: #F8F9FA;
    border-radius: 8px;
    border-right: 3px solid var(--primary-green);
    transition: all 0.3s ease;
}

.h2h-match-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.h2h-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
}

.h2h-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.h2h-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
}

.h2h-team img.team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.h2h-team span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h2h-team:first-child {
    justify-content: flex-end;
    text-align: right;
}

.h2h-team:last-child {
    justify-content: flex-start;
    text-align: left;
}

.h2h-score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    text-align: center;
}

.h2h-score .score {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-green);
}

/* === Smooth Scrolling for Quick Actions === */
html {
    scroll-behavior: smooth;
}

/* === Responsive Head to Head Section === */
@media (max-width: 767px) {
    .h2h-match-item {
        padding: 12px;
    }

    .h2h-team {
        font-size: 13px;
        gap: 8px;
    }

    .h2h-team img.team-logo {
        width: 28px;
        height: 28px;
    }

    .h2h-score .score {
        font-size: 14px;
    }

    .h2h-date {
        font-size: 11px;
        margin-bottom: 6px;
    }
}

/* ========================================
   League Archive Page Styles
   ======================================== */

/* League Header Section */
.league-header-section {
    background: var(--gradient-dark);
    padding: 40px 0;
    color: white;
}

.league-title-wrapper {
    gap: 20px !important;
}

.league-logo-large img {
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.league-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
}

.league-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.league-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.league-meta .meta-item i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* League Tabs Section */
.league-tabs-section {
    background: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.league-tabs-section .nav-tabs {
    border-bottom: none !important;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.league-tabs-section .nav-tabs .nav-item {
    margin: 0;
}

.league-tabs-section .nav-tabs .nav-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 18px 30px !important;
    color: #374151 !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background-color: #f9fafb !important;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1 !important;
}

.league-tabs-section .nav-tabs .nav-link i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.league-tabs-section .nav-tabs .nav-link:hover {
    color: #22c55e !important;
    background-color: #f0fdf4 !important;
    border-bottom-color: rgba(34, 197, 94, 0.5) !important;
}

.league-tabs-section .nav-tabs .nav-link:hover i {
    opacity: 1;
}

.league-tabs-section .nav-tabs .nav-link.active {
    color: #22c55e !important;
    border-bottom-color: #22c55e !important;
    background-color: #ffffff !important;
    font-weight: 700;
}

.league-tabs-section .nav-tabs .nav-link.active i {
    opacity: 1;
}

/* للتوافق مع Bootstrap */
.league-tabs-section .nav.nav-tabs {
    border-bottom: none !important;
}

.league-tabs-section .nav.nav-tabs .nav-link:focus,
.league-tabs-section .nav.nav-tabs .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

/* League Content Section */
.league-content-section {
    padding: 40px 0;
    background: #F5F5F5;
    min-height: 60vh;
}

.league-content-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.tab-content-wrapper {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-green);
}


/* Matches Grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.match-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.match-date-time {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.match-date-time .match-date {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3px;
}

.match-date-time .match-time {
    display: block;
    font-size: 1rem;
    color: var(--dark-bg);
    font-weight: 700;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.match-teams .team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.match-teams .team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.match-teams .team-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.match-score {
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.match-score .score {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-green);
}

.match-score .match-status {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}

.match-link {
    text-align: center;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.match-link:hover {
    color: var(--primary-green-dark);
    background: rgba(34, 197, 94, 0.05);
}


/* News and Highlights Grids */
.news-card, .highlight-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover, .highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.news-thumbnail, .highlight-thumbnail {
    position: relative;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail img,
.highlight-card:hover .highlight-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.highlight-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.news-content, .highlight-content {
    padding: 20px;
}

.highlight-content {
    padding: 15px;
}

.news-title a, .highlight-title a {
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    font-size: 1.1rem;
}

.highlight-title a {
    font-size: 1rem;
}

.news-title a:hover, .highlight-title a:hover {
    color: var(--primary-green);
}

.news-meta, .highlight-meta {
    margin-top: 10px;
    color: #666;
    font-size: 0.85rem;
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 10px 0 15px;
}

.read-more {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-green-dark);
    gap: 8px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {
    .league-header-section {
        padding: 25px 0;
    }
    
    .league-title-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .league-logo-large img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .league-meta {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .league-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content-wrapper {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .match-teams .team-logo {
        width: 40px;
        height: 40px;
    }
    
    .match-teams .team-name {
        font-size: 0.85rem;
    }
    
    .match-score .score {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .league-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .league-tabs .nav-link {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ==============================================
   NEWS CARDS - بطاقات الأخبار
   ============================================== */
.news-grid {
    margin-top: 20px;
    margin-left: -8px;
    margin-right: -8px;
}

.news-grid > div {
    padding-left: 8px;
    padding-right: 8px;
}

/* Grid Layout للأخبار */
.news-grid.row {
    display: flex;
    flex-wrap: wrap;
}

/* الشاشات الكبيرة جداً */
@media (min-width: 1200px) {
    .news-grid .col-xl-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* الشاشات الكبيرة */
@media (min-width: 992px) and (max-width: 1199px) {
    .news-grid .col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* التابلت */
@media (min-width: 768px) and (max-width: 991px) {
    .news-grid .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* الموبايل */
@media (max-width: 767px) {
    .news-grid > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.news-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.news-thumbnail {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #f0f0f0;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.08);
}

.news-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}

.news-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: #22c55e;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #6b7280;
}

.news-date i {
    color: #22c55e;
    font-size: 0.8rem;
}

.news-excerpt {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #22c55e;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-card .read-more:hover {
    gap: 10px;
    color: #16a34a;
}

.news-card .read-more i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.news-card .read-more:hover i {
    transform: translateX(-3px);
}

/* ==============================================
   HIGHLIGHTS CARDS - بطاقات الملخصات
   ============================================== */
.highlights-grid {
    margin-top: 20px;
    margin-left: -8px;
    margin-right: -8px;
}

.highlights-grid > div {
    padding-left: 8px;
    padding-right: 8px;
}

/* Grid Layout للملخصات */
.highlights-grid.row {
    display: flex;
    flex-wrap: wrap;
}

/* الشاشات الكبيرة جداً - 4 أعمدة */
@media (min-width: 1200px) {
    .highlights-grid .col-xl-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* الشاشات الكبيرة - 3 أعمدة */
@media (min-width: 992px) and (max-width: 1199px) {
    .highlights-grid .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* التابلت - عمودين */
@media (min-width: 768px) and (max-width: 991px) {
    .highlights-grid .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* الموبايل - عمود واحد */
@media (max-width: 767px) {
    .highlights-grid > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.highlight-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.highlight-thumbnail {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #000;
}

.highlight-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    opacity: 0.9;
}

.highlight-card:hover .highlight-thumbnail img {
    transform: scale(1.08);
    opacity: 1;
}

.highlight-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.highlight-thumbnail .play-icon i {
    font-size: 1.75rem;
    color: #ffffff;
    margin-right: 3px;
}

.highlight-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(34, 197, 94, 1);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
}

.highlight-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6));
    pointer-events: none;
}

.highlight-content {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.highlight-title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.highlight-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-title a:hover {
    color: #22c55e;
}

.highlight-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #6b7280;
}

.highlight-date i {
    color: #22c55e;
}

/* ==============================================
   RESPONSIVE - للأجهزة المختلفة
   ============================================== */
@media (max-width: 991px) {
    .news-thumbnail {
        height: 200px;
    }

    .highlight-thumbnail {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .news-card,
    .highlight-card {
        margin-bottom: 15px;
    }

    .news-thumbnail {
        height: 170px;
    }

    .highlight-thumbnail {
        height: 160px;
    }

    .news-content {
        padding: 14px;
    }

    .highlight-content {
        padding: 12px;
    }

    .news-title {
        font-size: 1rem;
    }

    .highlight-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .news-thumbnail {
        height: 160px;
    }

    .highlight-thumbnail {
        height: 150px;
    }

    .highlight-thumbnail .play-icon {
        width: 55px;
        height: 55px;
    }

    .highlight-thumbnail .play-icon i {
        font-size: 1.5rem;
    }

    .news-content,
    .highlight-content {
        padding: 12px;
    }
}



/* ========================================
   League Pagination & Load More Styles
   ======================================== */

/* Load More Button */
.load-more-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.load-more-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-btn i {
    margin-left: 8px;
    font-size: 1.1rem;
}

.pagination-info {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Matches Pagination */
.matches-pagination {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.matches-pagination .pagination {
    gap: 8px;
}

.matches-pagination .page-link {
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.matches-pagination .page-link:hover {
    background-color: #f3f4f6;
    border-color: #22c55e;
    color: #22c55e;
}

.matches-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: #22c55e;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.matches-pagination .page-item:first-child .page-link,
.matches-pagination .page-item:last-child .page-link {
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .load-more-btn {
        width: 100%;
        padding: 12px 24px;
    }

    .matches-pagination .page-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}


/* ========================================
   Matches Filters Styles
   ======================================== */

.matches-filters-section {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.filter-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 10px;
}

.filter-label i {
    color: #22c55e;
    margin-left: 6px;
}

/* Status Filter Buttons */
.matches-filters-section .btn-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.matches-filters-section .btn-outline-primary {
    border-color: #e5e7eb;
    color: #6b7280;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.matches-filters-section .btn-outline-primary:hover {
    background-color: #f3f4f6;
    border-color: #22c55e;
    color: #22c55e;
}

.matches-filters-section .btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: #22c55e;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.matches-filters-section .btn-outline-primary i {
    margin-left: 5px;
}

/* Date Filter Buttons */
.date-filter-group .btn-outline-secondary {
    border-color: #e5e7eb;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
}

.date-filter-group .btn-outline-secondary:hover {
    background-color: #f3f4f6;
    border-color: #22c55e;
    color: #22c55e;
}

.date-filter-group .btn-outline-secondary.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.date-filter-group .btn-outline-secondary i {
    margin-left: 5px;
}

/* Custom Date Input */
#custom_date_filter {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#custom_date_filter:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    outline: none;
}

/* Active Filter Indicator */
.filter-active-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

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

/* Responsive Filters */
@media (max-width: 991px) {
    .matches-filters-section {
        padding: 16px;
    }

    .matches-filters-section .btn-outline-primary,
    .date-filter-group .btn-outline-secondary {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .filter-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .matches-filters-section .btn-group {
        flex-direction: column;
    }

    .matches-filters-section .btn-outline-primary,
    .date-filter-group .btn-outline-secondary {
        width: 100%;
        margin-bottom: 8px;
    }

    .date-filter-group .btn-group {
        flex-direction: row;
    }

    .date-filter-group .btn-outline-secondary {
        font-size: 0.8rem;
        padding: 8px;
    }
}


/* Filter Results Info */
.filter-results-info .alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.filter-results-info .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    font-weight: 600;
}

.filter-results-info i {
    font-size: 1.1rem;
}
