/*
Theme Name: TechiesTown Football
Theme URI: https://techiestown.com
Author: TechiesTown Editorial Team
Author URI: https://techiestown.com/about
Description: Professional football live scores WordPress theme with enhanced E-E-A-T features. Built for trust, expertise, and authority in sports coverage. Features include live scores, expert analysis, standings, fixtures, team details, player statistics, and comprehensive editorial content.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techiestown
Tags: football, soccer, live-scores, sports, api-football, multilingual, eeat, expert-content
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ===== CSS Variables ===== */
:root {
    --primary-color: #1a472a;
    --secondary-color: #2d5a3d;
    --accent-color: #4CAF50;
    --live-color: #f44336;
    --win-color: #4CAF50;
    --draw-color: #FF9800;
    --lose-color: #f44336;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --card-bg: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a4a;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    --trust-color: #2196F3;
    --expert-color: #9C27B0;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #81C784;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ===== E-E-A-T Trust Signals ===== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--trust-color), #1976D2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--expert-color), #7B1FA2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--trust-color);
    font-size: 0.8rem;
}

.verified-badge i {
    color: var(--trust-color);
}

/* Author Box - E-E-A-T */
.author-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-credentials {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.author-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.author-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.author-social a:hover {
    background: var(--accent-color);
    color: white;
}

/* Article Meta - E-E-A-T */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--accent-color);
}

/* Fact Check Box */
.fact-check-box {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-left: 4px solid var(--trust-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
}

.fact-check-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--trust-color);
    margin-bottom: 8px;
}

.fact-check-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Expert Analysis Box */
.expert-analysis {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(156, 39, 176, 0.05));
    border: 1px solid rgba(156, 39, 176, 0.3);
    border-left: 4px solid var(--expert-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.expert-analysis-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.expert-analysis-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.expert-analysis-header .expert-name {
    font-weight: 600;
}

.expert-analysis-header .expert-title {
    font-size: 0.8rem;
    color: var(--expert-color);
}

/* Source Citation */
.source-citation {
    background: var(--darker-bg);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-size: 0.85rem;
}

.source-citation-title {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-list {
    list-style: none;
}

.source-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.source-list li:last-child {
    border-bottom: none;
}

.source-list a {
    color: var(--text-secondary);
}

/* Last Updated Banner */
.last-updated-banner {
    background: linear-gradient(90deg, var(--accent-color), #45a049);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

/* Trust Indicators Section */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    background: var(--darker-bg);
    border-radius: 10px;
    margin: 20px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.trust-item-text {
    font-size: 0.85rem;
}

.trust-item-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.trust-item-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content,
.page-fullwidth {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px;
}

.content-area {
    width: 100%;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-trust-bar {
    background: linear-gradient(90deg, var(--trust-color), #1976D2);
    color: white;
    padding: 5px 0;
    font-size: 0.75rem;
    text-align: center;
}

.header-trust-bar span {
    margin: 0 15px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo .logo-img {
    height: 40px;
    width: auto;
}

.site-logo h1 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Search */
.header-search {
    position: relative;
    min-width: 300px;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-box button {
    padding: 10px 20px;
    background: var(--accent-color);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #45a049;
}

/* Navigation */
.main-nav {
    padding: 10px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.main-nav li a {
    display: block;
    padding: 8px 15px;
    color: var(--text-primary);
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.main-nav li a:hover,
.main-nav li.current-menu-item a {
    background: var(--accent-color);
    color: white;
}

/* Live Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--live-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

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

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-count {
    background: var(--live-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* ===== Cards ===== */
.card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.card-body {
    padding: 15px;
}

/* ===== Match Card ===== */
.match-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.match-league {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.match-league img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.match-league span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

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

.team-name {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.score {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    gap: 10px;
}

.score-home, .score-away {
    min-width: 30px;
    text-align: center;
}

.match-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.match-minute {
    color: var(--live-color);
    font-weight: bold;
}

.match-status {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 5px;
}

.status-live {
    background: var(--live-color);
    color: white;
}

.status-ft {
    background: var(--accent-color);
    color: white;
}

.status-ns {
    background: var(--draw-color);
    color: white;
}

/* ===== Standings Table ===== */
.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table th,
.standings-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.standings-table th {
    background: rgba(0,0,0,0.2);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.standings-table td {
    font-size: 0.85rem;
}

.standings-table tr:hover {
    background: rgba(255,255,255,0.05);
}

.standings-table .team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.standings-table .team-cell img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.standings-table .rank {
    font-weight: bold;
    min-width: 25px;
}

/* Form Indicators */
.form-indicator {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    color: white;
}

.form-w { background: var(--win-color); }
.form-d { background: var(--draw-color); }
.form-l { background: var(--lose-color); }

/* ===== Footer ===== */
.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: 40px;
}

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

.footer-widget h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: var(--text-secondary);
}

.footer-widget a:hover {
    color: var(--accent-color);
}

/* Footer E-E-A-T Section */
.footer-eeat {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.footer-eeat h4 {
    margin-bottom: 15px;
}

.footer-eeat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-eeat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-eeat-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-eeat-item h5 {
    margin: 0 0 5px;
    font-size: 0.95rem;
}

.footer-eeat-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--darker-bg);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text .brand {
    font-weight: 600;
    color: var(--accent-color);
}

.footer-logo-text .tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

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

.footer-links a:hover {
    color: var(--accent-color);
}

/* Footer About */
.footer-about {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ===== Loading & Error States ===== */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--live-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--live-color);
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ===== Mobile Header Styles ===== */

/* Hide mobile header on desktop */
.mobile-header {
    display: none;
}

/* Hide desktop elements on mobile */
@media (max-width: 991px) {
    .desktop-header,
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-header {
        display: block;
        padding: 10px 0;
    }
    
    /* Top row: Logo + Hamburger */
    .mobile-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    
    .mobile-header .site-logo img {
        height: 32px;
        width: auto;
    }
    
    /* Hamburger Button */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--accent-color);
        border: none;
        border-radius: 6px;
        padding: 8px 12px;
        cursor: pointer;
        gap: 3px;
        min-width: 60px;
    }
    
    .hamburger-btn span:not(.menu-text) {
        display: block;
        width: 18px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .hamburger-btn .menu-text {
        color: #fff;
        font-size: 0.7rem;
        font-weight: 600;
        margin-top: 2px;
    }
    
    .hamburger-btn.active span:first-child {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    /* CTA Row - Below Logo */
    .mobile-cta-row {
        width: 100%;
    }
    
    .cta-mobile-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
        color: #fff;
        padding: 12px 15px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
        box-shadow: 0 3px 10px rgba(229, 57, 53, 0.4);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    /* Shine effect */
    .cta-mobile-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: ctaShine 2s infinite;
    }
    
    .cta-mobile-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(229, 57, 53, 0.5);
    }
    
    .cta-mobile-link .cta-icon {
        font-size: 1.1rem;
    }
    
    .cta-mobile-link .cta-text {
        font-weight: 700;
    }
    
    .cta-mobile-link .cta-bonus {
        background: rgba(255,255,255,0.2);
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 0.85rem;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Slide Menu */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: var(--darker-bg);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-slide-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    background: var(--dark-bg);
}

.mobile-menu-logo img {
    height: 30px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu Search */
.mobile-menu-search {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-search .search-box {
    display: flex;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mobile-menu-search input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.85rem;
}

.mobile-menu-search input::placeholder {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.mobile-menu-search button {
    background: var(--accent-color);
    border: none;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.mobile-menu-nav li a:hover,
.mobile-menu-nav li.active a {
    background: rgba(76, 175, 80, 0.1);
    color: var(--accent-color);
}

.mobile-menu-nav li a i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.mobile-menu-nav li.active a i,
.mobile-menu-nav li a:hover i {
    color: var(--accent-color);
}

.mobile-menu-nav .live-badge {
    background: var(--live-color);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: auto;
    animation: pulse 1.5s infinite;
}

.mobile-menu-nav .menu-league-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Menu Divider */
.mobile-menu-nav .menu-divider {
    border-bottom: none;
    padding: 15px 20px 8px;
}

.mobile-menu-nav .menu-divider span {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mobile Menu CTA */
.mobile-menu-cta {
    padding: 20px 15px;
    margin-top: auto;
}

.mobile-menu-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.mobile-menu-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: ctaShine 2s infinite;
}

.mobile-menu-cta-btn .cta-icon {
    font-size: 1.2rem;
}

/* ===== Ads & CTA Styles ===== */

/* Top Banner Ad */
.tt-ad-top {
    text-align: center;
    background: #111;
    line-height: 0;
}

.tt-ad-top a {
    display: inline-block;
}

.tt-ad-top img {
    max-width: 100%;
    height: auto;
}

/* Ad responsive: desktop/mobile images (for top ad) */
.tt-ad-mob {
    display: none !important;
}

.tt-ad-desk {
    display: inline-block !important;
}

@media (max-width: 768px) {
    .tt-ad-mob {
        display: inline-block !important;
    }
    .tt-ad-desk {
        display: none !important;
    }
}

/* Full responsive ad (no separate mobile image) */
.tt-ad-full {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Desktop CTA Button */
.tt-cta-desktop {
    flex-shrink: 0;
}

.tt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(180deg, #e53935, #c62828);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tt-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.5);
    color: #fff;
}

.tt-cta-btn .tt-cta-icon {
    font-size: 16px;
}

.tt-cta-btn .tt-cta-bonus {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Shine effect for CTA */
.tt-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: ctaShine 2s infinite;
}

@keyframes ctaShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-search {
        min-width: 100%;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .match-teams {
        flex-direction: column;
    }
    
    .team {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
    }
    
    .team img {
        width: 30px;
        height: 30px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .match-score {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin: 10px 0;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .container {
        padding: 0 10px;
    }
    
    .header-trust-bar span {
        display: none;
    }
    
    .header-trust-bar span:first-child {
        display: inline;
    }
    
    .form-indicator {
        display: none;
    }
    
    /* Smaller mobile CTA on very small screens */
    .cta-mobile-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Smaller search box */
    .mobile-menu-search input {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .mobile-menu-search button {
        padding: 8px 12px;
    }
}

/* ===== Image Size Restrictions ===== */
.team-logo,
.team-logo-sm,
.league-logo,
img.team-logo,
img.league-logo {
    object-fit: contain;
}

.team-logo {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
}

.team-logo-sm {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}

.league-logo {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
}

/* ===== Match Card Styles ===== */
.match-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.match-league {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.match-league img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--live-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

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

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

.match-link {
    color: inherit;
    text-decoration: none;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.match-teams .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
    text-align: center;
}

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

.match-teams .team-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.match-score .score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 700;
}

.match-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 5px 0;
}

.match-minute {
    background: var(--live-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.match-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--darker-bg);
    color: var(--text-secondary);
}

.match-status.status-ft,
.match-status.status-aet,
.match-status.status-pen {
    background: var(--accent-color);
    color: white;
}

.match-status.status-1h,
.match-status.status-2h,
.match-status.status-ht,
.match-status.status-et,
.match-status.status-live {
    background: var(--live-color);
    color: white;
}

/* ===== Standings Table ===== */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.standings-table th,
.standings-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.standings-table th {
    background: var(--darker-bg);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.standings-table td:nth-child(2) {
    text-align: left;
}

.standings-table .rank {
    font-weight: 700;
    width: 30px;
}

.team-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.team-cell img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.form-indicator {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.form-indicator span {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
}

.form-w { background: var(--win-color); }
.form-d { background: var(--draw-color); }
.form-l { background: var(--lose-color); }

/* ===== League Page Styles ===== */
.page-fullwidth {
    padding: 20px 0;
}

.page-header {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.5rem;
}

.page-header h1 i {
    color: var(--accent-color);
}

/* League Grid - Teams */
.tgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 15px;
}

.tcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: var(--darker-bg);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.tcard:hover {
    transform: translateY(-3px);
    background: var(--card-bg);
}

.tcard img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.tcard h3 {
    font-size: 0.9rem;
    margin: 0 0 5px;
    line-height: 1.3;
}

.tcard .trk {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tcard .tpts {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Panel Tabs */
.panel {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: none;
}

.panel.active {
    display: block;
}

.panel-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: var(--darker-bg);
    padding: 5px;
    border-radius: 8px;
    overflow-x: auto;
}

.panel-tabs button {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.panel-tabs button:hover,
.panel-tabs button.active {
    background: var(--accent-color);
    color: white;
}

/* Fixtures List */
.fxhd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--darker-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
}

.fxhd i {
    color: var(--accent-color);
}

.fxlist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fxft {
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
}

.btn-o {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-o:hover {
    background: #45a049;
    color: white;
}

/* Scorers List */
.sclist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--darker-bg);
    border-radius: 8px;
}

.sc-rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.sc-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.sc-info {
    flex: 1;
}

.sc-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.sc-team {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sc-team img {
    width: 16px;
    height: 16px;
    border-radius: 0;
}

.sc-stats {
    display: flex;
    gap: 15px;
    text-align: center;
}

.sc-stat {
    display: flex;
    flex-direction: column;
}

.sc-stat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.sc-stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Empty State */
.empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty p {
    margin: 0;
}

/* Country Flag */
.country-flag {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

/* League Info Header */
.league-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, var(--card-bg), var(--darker-bg));
    border-radius: 15px;
    margin-bottom: 25px;
}

.league-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.league-info h1 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}

.league-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.league-meta img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

/* Responsive for inner pages */
@media (max-width: 768px) {
    .tgrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .tcard img {
        width: 45px;
        height: 45px;
    }
    
    .tcard h3 {
        font-size: 0.8rem;
    }
    
    .match-teams .team img {
        width: 40px;
        height: 40px;
    }
    
    .match-score .score {
        font-size: 1.5rem;
    }
    
    .standings-table {
        font-size: 0.8rem;
    }
    
    .standings-table th,
    .standings-table td {
        padding: 8px 4px;
    }
    
    .league-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .league-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .tgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .panel-tabs button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .sc-item {
        flex-wrap: wrap;
    }
    
    .sc-stats {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
    }
}

/* ===== Global Image Size Limits ===== */
.team-logo img,
.league-logo img,
img.team-logo,
img.league-logo {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.player-photo img,
img.player-photo {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.avatar img,
img.avatar,
.team-member img {
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

/* Fixture/Match logos */
.match-team img,
.fixture-team img,
.sc-team img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

/* Header nav league logos */
.main-nav img {
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
}

/* Standings table logos */
.standings-table img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

/* ===== Articles Section Styles ===== */
.articles-section {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.articles-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.articles-section h2 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.articles-section .view-all {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.articles-section .view-all:hover {
    text-decoration: underline;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-thumbnail-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-thumbnail-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
}

.article-content {
    padding: 15px;
}

.article-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    color: #fff;
    margin-bottom: 8px;
}

.article-title {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-thumbnail {
        height: 180px;
    }
}
