/*
Theme Name: Hello Elementor Child
Description: WCUpdates 2026 – FIFA World Cup styles
*/

/* ============ GLOBAL VARIABLES ============ */
:root {
    --navy: #081C3A;
    --fifa-purple: #6B21A8;
    --magenta: #D81B60;
    --red: #E53935;
    --gold: #FFC107;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #1A1A1A;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --card-bg: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #555;
    --bg-body: #F5F7FA;
    --header-glass: rgba(8, 28, 58, 0.75);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    --section-bg: #FFFFFF;
    --border-subtle: #E5E7EB;
    --badge-bg: #F3E8FF;
    --badge-text: #6B21A8;
}

body.dark-mode {
    --glass-bg: rgba(30, 30, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #1E1E2A;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --bg-body: #0F0F1A;
    --header-glass: rgba(15, 15, 26, 0.85);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --section-bg: #151520;
    --border-subtle: #2A2A3A;
    --badge-bg: #2D1B4E;
    --badge-text: #C084FC;
    --light-gray: #1A1A26;
}

/* ============ RESET ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

/* ============ HEADER ============ */
.site-header {
    /*position: fixed !important;*/
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    z-index: 1000;
    padding: 12px 20px;
    transition: all 0.35s;
    /* Always dark glassy background */
    background: var(--header-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    max-width: unset !important;
    padding-block: 0 !important;
}

.site-header.scrolled {
    /* Add stronger border/shadow on scroll */
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    padding: 8px 20px;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Real logo image */
.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

/* Hide the emoji icon when we have a real logo */
.logo-img + .logo-icon {
    display: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--fifa-purple), var(--magenta));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(107,33,168,0.5);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.logo-text small {
    display: block;
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.25s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgb(70 85 107 / 61%);
    backdrop-filter: blur(6px);
}

.nav-links a.active {
    background: rgba(255,193,7,0.2);
    color: var(--gold) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    backdrop-filter: blur(6px);
    position: relative;
}

.icon-btn:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-2px);
}

.notif-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 9px;
    height: 9px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.7); opacity: 0.5; }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8,28,58,0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
}

.mobile-nav-overlay.open {
    display: flex;
}

.mobile-nav-overlay a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 30px;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
    background: rgba(255,255,255,0.15);
    color: var(--gold);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* ============ HERO ============ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #081C3A 0%, #0D1F3C 20%, #1A0A2E 45%, #2D0A3C 65%, #081C3A 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(107,33,168,0.35) 0%, transparent 55%),
                radial-gradient(ellipse at 75% 60%, rgba(216,27,96,0.3) 0%, transparent 55%),
                radial-gradient(ellipse at 50% 80%, rgba(255,193,7,0.2) 0%, transparent 50%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-text h1 .gold-accent {
    color: var(--gold);
}

.hero-text .hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, #E53935, #D81B60);
    color: #fff;
    box-shadow: 0 6px 28px rgba(229,57,53,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(229,57,53,0.55);
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    border-radius: 20px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--fifa-purple);
    color: var(--fifa-purple);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--fifa-purple);
    color: #fff;
    transform: translateY(-2px);
}

body.dark-mode .btn-outline {
    border-color: #C084FC;
    color: #C084FC;
}

/*body.dark-mode .btn-outline:hover {*/
/*    background: #C084FC;*/
/*    color: #1A1A1A;*/
/*}*/

/* ============ HERO LIVE CARD ============ */
.hero-live-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 28px 24px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    text-align: center;
}

.hero-live-card .live-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    animation: pulse-badge 2s infinite;
    margin-bottom: 16px;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0.7); }
    50% { box-shadow: 0 0 0 16px rgba(229,57,53,0); }
}

.hero-live-card .match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 16px 0;
}

.hero-live-card .team-flag {
    font-size: 3rem;
}

.hero-live-card .team-name {
    font-weight: 700;
    font-size: 1rem;
}

.hero-live-card .score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

/* ============ SECTIONS ============ */
.section {
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
}
.home .section-header{
    justify-content: space-between !important;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.cards-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.cards-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ============ MATCH CARD (LIVE) ============ */
.match-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
    border-color: var(--fifa-purple);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
}

.live-dot {
    width: 9px;
    height: 9px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 1.4s infinite;
}

.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.team-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-side .flag {
    font-size: 1.8rem;
}

.team-side .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.score-display {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    min-width: 50px;
    text-align: center;
}

.match-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.stat-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fifa-purple);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

body.dark-mode .stat-link {
    color: #C084FC;
}

/* ============ MATCH CENTER TEASER ============ */
.match-center-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.match-center-teaser .teaser-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s;
}

.match-center-teaser .teaser-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
}

.match-center-teaser .teaser-card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--fifa-purple);
}

.match-center-teaser .teaser-card .teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.match-center-teaser .teaser-card .flag {
    font-size: 2.5rem;
}

.match-center-teaser .teaser-card .score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 900;
}

.match-center-teaser .teaser-card .team-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
}

.match-center-teaser .teaser-card .info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

@media (max-width: 640px) {
    .match-center-teaser {
        grid-template-columns: 1fr;
    }
}
/* ============ FIXTURE CARD ============ */
.fixture-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    text-align: center;
}

.fixture-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
}

.fixture-card .teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
}

.fixture-card .flag {
    font-size: 2rem;
}

.fixture-card .vs {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.fixture-card .kickoff {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.fixture-card .stadium {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 4px 0;
}

.fixture-card .group-badge,
.match-center-card .group-badge {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 6px;
}

.countdown {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--magenta);
    margin-top: 4px;
}

/* ============ FIXTURE TABS ============ */
.fixture-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.fixture-tab {
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    background: var(--card-bg);
    color: var(--text-secondary);
    transition: all 0.25s;
    box-shadow: var(--card-shadow);
}

.fixture-tab.active {
    background: var(--fifa-purple);
    color: #fff;
}

.fixture-tab:hover {
    transform: translateY(-2px);
}

/* ============ STANDINGS TABLE (fixed sticky) ============ */
.standings-search {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.standings-search input {
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--border-subtle);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.standings-search input:focus {
    outline: none;
    border-color: var(--fifa-purple);
    box-shadow: 0 0 0 3px rgba(107,33,168,0.1);
}

.standings-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    background: var(--card-bg);
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 700px;  /* forces horizontal scroll on mobile */
}

.standings-table th {
    background: var(--fifa-purple);
    color: #fff;
    font-weight: 700;
    padding: 12px 10px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.standings-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
    background: var(--card-bg); /* solid background to prevent overlap */
}

.standings-table tr:hover td {
    background: rgba(107,33,168,0.04);
}
body.dark-mode .standings-table tr:hover td {
    background: rgba(192,132,252,0.06);
}

/* Sticky columns */
.sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--card-bg);
    box-shadow: 2px 0 4px rgba(0,0,0,0.05); /* subtle separation */
}
.standings-table th.sticky-col {
    background: var(--fifa-purple);
    z-index: 3;
    box-shadow: 2px 0 4px rgba(0,0,0,0.2);
}
body.dark-mode .standings-table tr:hover .sticky-col {
    background: rgba(192,132,252,0.06);
}

.team-col {
    min-width: 150px;
}

.rank-change {
    font-size: 0.7rem;
    margin-left: 4px;
}
.rank-up { color: #22C55E; }
.rank-down { color: #E53935; }
.rank-same { color: var(--text-secondary); }

@media(max-width:767px){
    thead .team-col{
        background: var(--fifa-purple) !important;
    }
    
.team-col {
    background: var(--card-bg) !important;
    width: 200px;
}
}

/* ============ GROUP CARD ============ */
.group-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

.group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.group-card h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--fifa-purple);
    letter-spacing: 1px;
}

body.dark-mode .group-card h4 {
    color: #C084FC;
}

.group-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.group-card table th {
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 4px;
    border-bottom: 1px solid var(--border-subtle);
}

.group-card table td {
    padding: 5px 4px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
}

.qualified-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22C55E;
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* ============ GOLDEN BOOT TABLE ============ */
.golden-boot-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.golden-boot-table th,
.golden-boot-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
}

.golden-boot-table th {
    background: var(--fifa-purple);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.golden-boot-table tr:hover td {
    background: rgba(107, 33, 168, 0.04);
}

body.dark-mode .golden-boot-table tr:hover td {
    background: rgba(192, 132, 252, 0.06);
}

.golden-boot-table .rank {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--gold);
}

/* ============ MATCH CENTER CARD ============ */
.match-center-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.match-center-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
    border-color: var(--fifa-purple);
}

.match-center-card .match-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--badge-bg);
    color: var(--badge-text);
    width: fit-content;
}

.match-center-card .match-status.live {
    background: var(--red);
    color: #fff;
    animation: pulse-badge 2s infinite;
}

.match-center-card .match-status.finished {
    background: #22C55E;
    color: #fff;
}

.match-center-card .teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.match-center-card .team {
    text-align: center;
    flex: 1;
}

.match-center-card .team .flag {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 4px;
}

.match-center-card .team .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.match-center-card .score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    min-width: 80px;
    text-align: center;
}

.match-center-card .match-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.match-center-card .match-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.match-center-card .btn-sm {
    align-self: flex-end;
}

/* ============ PLAYER CARD ============ */
.player-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

.player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}

.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fifa-purple), var(--magenta));
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 28px rgba(107,33,168,0.35);
}

.player-card .player-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.player-card .player-country {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.player-stats-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.player-stats-row span {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    font-size: 1rem;
}

/* ============ FOOTER ============ */
.site-custom-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
}
.site-custom-footer {
    position: relative;
    background: url('/wp-content/uploads/2026/06/world-cup-2026-footer-banner.webp') center/cover no-repeat;
    background-attachment: fixed; /* subtle parallax */
    color: #fff;
    padding: 60px 20px 25px;
    margin-top: 60px;
    overflow: hidden;
}

/* Dark overlay for readability */
.site-custom-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(8, 28, 58, 0.92) 0%, rgba(15, 10, 40, 0.88) 60%, rgba(45, 10, 60, 0.9) 100%);
    z-index: 0;
}

/* Subtle grid pattern on top of overlay */
.site-custom-footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
}

.footer-col h5 {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

/* Gold underline accent */
.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255,193,7,0.3);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    max-width: 1300px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}

/* ============ ABOUT PAGE HERO ============ */
.about-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Background image – you can replace the URL with your own */
.about-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/46798/the-ball-stadion-football-the-pitch-46798.jpeg?w=1600&q=80') center/cover no-repeat;
    filter: brightness(0.35);
    z-index: 0;
}

/* Optional: subtle gradient overlay on top of image */
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,28,58,0.4) 0%, rgba(15,10,40,0.2) 60%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.about-hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-top: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Profile card */
.about-profile {
    padding: 40px 20px 20px;
}
.profile-card {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.profile-photo{
    margin: 0 auto;
}
.profile-photo img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--fifa-purple);
    box-shadow: 0 0 30px rgba(107,33,168,0.3);
}
.profile-info h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 4px;
    text-align: center;
}
.profile-role {
    color: var(--fifa-purple);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}
.profile-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* Features grid */
.about-features-section {
    text-align: center;
}
.about-features-section h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 24px;
}
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}
.feature-item:hover {
    transform: translateY(-2px);
}

/* Contact / Social */
.about-contact {
    text-align: center;
}
.about-contact h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
}
.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.25s;
    box-shadow: var(--card-shadow);
}
.contact-item:hover {
    background: var(--fifa-purple);
    color: #fff;
    border-color: var(--fifa-purple);
    transform: translateY(-2px);
}
.contact-icon {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    .profile-photo img {
        width: 300px;
        height: 300px;
    }
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ============ CONTACT PAGE ============ */

/* Hero */
.contact-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/46798/the-ball-stadion-football-the-pitch-46798.jpeg?w=1600&q=80') center/cover no-repeat;
    filter: brightness(0.3);
    z-index: 0;
}
.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,28,58,0.4) 0%, rgba(15,10,40,0.2) 60%);
    z-index: 0;
}
.contact-hero-content {
    position: relative;
    z-index: 2;
}
.contact-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.contact-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Contact details section */
.contact-details-only {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-details-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    max-width: 500px;
    width: 100%;
}
.contact-details-card h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-body);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s;
}
.contact-info-item:hover {
    background: var(--fifa-purple);
    color: #fff;
    transform: translateX(5px);
}
.ci-icon {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .contact-details-card {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }
    .site-custom-footer {
        background-attachment: scroll; /* disable parallax on mobile for performance */
    }
}
/* ============ LOADING ============ */
.loading-text {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-live-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid.small {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-live-card .score {
        font-size: 2.5rem;
    }
}

@media (max-width: 380px) {
    .cards-grid.small {
        grid-template-columns: 1fr;
    }
}