/* =============================================
   GIDAN DAWA FC - Main Stylesheet
   Bright Colorful Theme + Dark Mode
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --primary: #00A651;
    --primary-dark: #007a3d;
    --primary-light: #00d668;
    --secondary: #FFD700;
    --secondary-dark: #cc9900;
    --accent: #FF4500;
    --accent-light: #ff6a33;
    --bg: #f0f4f0;
    --bg-card: #ffffff;
    --bg-nav: #ffffff;
    --bg-footer: #0a1a0f;
    --bg-top-bar: #062d15;
    --text: #1a1a2e;
    --text-muted: #6c757d;
    --text-light: #adb5bd;
    --border: #e0ebe3;
    --shadow: 0 4px 20px rgba(0,166,81,0.12);
    --shadow-hover: 0 8px 40px rgba(0,166,81,0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --gradient-primary: linear-gradient(135deg, #00A651 0%, #007a3d 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-hero: linear-gradient(135deg, #00A651 0%, #006b33 40%, #004d24 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fff8 100%);
}

[data-theme="dark"] {
    --bg: #0a0e0a;
    --bg-card: #111a12;
    --bg-nav: #0d1a0e;
    --bg-footer: #050d06;
    --bg-top-bar: #040c05;
    --text: #e8f5e9;
    --text-muted: #90a090;
    --text-light: #606d60;
    --border: #1a2e1d;
    --shadow: 0 4px 20px rgba(0,166,81,0.08);
    --shadow-hover: 0 8px 40px rgba(0,166,81,0.18);
    --gradient-card: linear-gradient(145deg, #111a12 0%, #0d1a0e 100%);
}

/* ---- Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

.text-muted {
    --bs-text-opacity: 1;
    color: #aaaaba;
}
body {
    font-family: var(--font-body);
    background: var(--bg);
    /*color: var(--text);*/
    color: #aaaaba;
    transition: background 0.4s, color 0.4s;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ---- Preloader ---- */
#preloader {
    position: fixed; inset: 0;
    background: var(--bg-footer);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-ball {
    width: 60px; height: 60px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #ddd 40%, #888 100%);
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: ballBounce 0.8s ease-in-out infinite alternate;
    box-shadow: 0 0 0 4px var(--primary), 0 0 30px var(--primary);
}
@keyframes ballBounce {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-20px) scale(0.9); }
}
.preloader-text {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--secondary);
    letter-spacing: 4px;
    animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--bg-top-bar);
    color: rgba(255,255,255,0.8);
    padding: 6px 0;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    border-bottom: 2px solid var(--primary);
}
.top-bar span { margin-right: 8px; }
.top-bar i { color: var(--secondary); margin-right: 4px; }
.top-bar a {
    color: rgba(255,255,255,0.8);
    margin-left: 10px;
    font-size: 1rem;
    transition: var(--transition);
}
.top-bar a:hover { color: var(--secondary); transform: translateY(-2px) scale(1.2); display: inline-block; }

/* ---- Theme Toggle ---- */
.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
.theme-toggle:hover { background: var(--primary); border-color: var(--primary); }

/* ---- Navbar ---- */
.main-navbar {
    background: var(--bg-nav);
    padding: 0 1rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--primary);
    position: sticky; top: 0; z-index: 1000;
    transition: background 0.4s, box-shadow 0.3s;
}
.main-navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.15); }

.navbar-brand { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.brand-logo .logo-circle {
    width: 52px; height: 52px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 15px rgba(0,166,81,0.4);
    position: relative;
}
.logo-circle::after {
    content: ''; position: absolute; inset: 3px;
    border-radius: 50%;
    border: 1px solid rgba(255,215,0,0.3);
}
.logo-text { font-family: var(--font-display); font-size: 1rem; color: #fff; letter-spacing: 1px; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); letter-spacing: 2px; line-height: 1.1; }
.brand-sub { display: block; font-size: 0.65rem; color: var(--text-muted); font-family: var(--font-body); letter-spacing: 1px; text-transform: uppercase; }

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(0,166,81,0.08);
}
.nav-link.active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 3px; background: var(--primary); border-radius: 2px;
}
.nav-link.admin-link {
    background: var(--gradient-primary);
    color: #fff !important;
    border-radius: 20px;
    padding: 6px 16px !important;
    margin-left: 4px;
}
.nav-link.admin-link:hover { background: var(--gradient-gold); color: var(--text) !important; }

.navbar-toggler { border: none; color: var(--primary); font-size: 1.5rem; }
.navbar-toggler:focus { box-shadow: none; }

.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 200px;
    padding: 8px;
}
.dropdown-item {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}
.dropdown-item:hover { background: rgba(0,166,81,0.1); color: var(--primary); }
.dropdown-item i { margin-right: 8px; color: var(--primary); }

/* ---- Hero Section ---- */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex; align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section::after {
    content: '⚽';
    position: absolute; right: -80px; bottom: -80px;
    font-size: 400px; opacity: 0.04;
    animation: rotateSlowly 20s linear infinite;
}
@keyframes rotateSlowly { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: fadeInDown 0.8s ease;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    color: #fff;
    line-height: 0.9;
    letter-spacing: 2px;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title span { color: var(--secondary); }
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255,255,255,0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-founded {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 32px;
}
.hero-btns { animation: fadeInUp 0.8s ease 0.6s both; display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-primary {
    background: var(--gradient-gold);
    color: var(--text);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255,215,0,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,215,0,0.5); color: var(--text); }

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-3px); }

.hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stat { text-align: center; }
.hero-stat-number { display: block; font-family: var(--font-display); font-size: 2.5rem; color: var(--secondary); line-height: 1; }
.hero-stat-label { display: block; font-family: var(--font-heading); font-size: 0.75rem; color: rgba(255,255,255,0.6); letter-spacing: 2px; text-transform: uppercase; }

.hero-score-board {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    animation: fadeInRight 0.8s ease 0.4s both;
}
.score-board-header {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.score-display {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 12px;
}
.score-team { text-align: center; flex: 1; }
.score-team-name { display: block; font-family: var(--font-heading); font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.score-team-badge {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.5rem;
}
.score-vs { font-family: var(--font-display); font-size: 2.5rem; color: var(--secondary); }
.score-result { font-family: var(--font-display); font-size: 3.5rem; color: #fff; letter-spacing: 4px; text-align: center; }
.score-meta { text-align: center; font-family: var(--font-heading); font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ---- Section Styles ---- */
.section-padding { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
    display: inline-block;
    background: rgba(0,166,81,0.1);
    color: var(--primary);
    border: 1px solid rgba(0,166,81,0.3);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text);
    line-height: 1;
    margin-bottom: 12px;
}
.section-title span { color: var(--primary); }
.section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-divider {
    width: 60px; height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ---- Cards ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-header {
    background: var(--gradient-primary);
    color: #fff;
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 20px;
}
.card-header.gold { background: var(--gradient-gold); color: var(--text); }

/* ---- Player Cards ---- */
.player-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow);
}
.player-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.player-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-primary);
}
.player-card-image {
    position: relative;
    background: linear-gradient(135deg, #00A651 0%, #004d24 100%);
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.player-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.player-card:hover .player-card-image img { transform: scale(1.05); }
.player-number {
    position: absolute; top: 12px; left: 12px;
    background: var(--secondary);
    color: var(--text);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.player-position-badge {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.player-card-body { padding: 16px; }
.player-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.player-nationality { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.player-stats-mini { display: flex; gap: 8px; }
.player-stat-mini {
    flex: 1; text-align: center;
    background: rgba(0,166,81,0.07);
    border-radius: 8px;
    padding: 6px 4px;
}
.player-stat-mini .val { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); line-height: 1; }
.player-stat-mini .lbl { display: block; font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; font-family: var(--font-heading); letter-spacing: 0.5px; }

/* ---- Match Cards ---- */
.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.match-card:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.match-comp { font-size: 0.7rem; color: var(--primary); font-family: var(--font-heading); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.match-team { display: flex; align-items: center; gap: 8px; flex: 1; }
.match-team.away { flex-direction: row-reverse; }
.match-team-badge {
    width: 36px; height: 36px;
    background: rgba(0,166,81,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.match-team-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.match-score-box { text-align: center; flex-shrink: 0; }
.match-score { font-family: var(--font-display); font-size: 1.8rem; color: var(--text); letter-spacing: 4px; line-height: 1; }
.match-score-sep { color: var(--text-muted); font-size: 0.8rem; }
.match-date-label { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-heading); }
.match-vs { font-family: var(--font-display); color: var(--text-muted); font-size: 1.2rem; letter-spacing: 2px; }
.match-status { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 0.65rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.match-status.live { background: #ff4444; color: #fff; animation: blink 1s infinite; }
.match-status.completed { background: rgba(0,166,81,0.15); color: var(--primary); }
.match-status.scheduled { background: rgba(255,215,0,0.15); color: #cc9900; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---- Result Badge ---- */
.result-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 6px;
    font-family: var(--font-display); font-size: 0.9rem; font-weight: bold;
    flex-shrink: 0;
}
.result-w { background: #00A651; color: #fff; }
.result-d { background: #FFD700; color: #000; }
.result-l { background: #FF4500; color: #fff; }

/* ---- Form Badges ---- */
.form-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 4px;
    font-family: var(--font-display); font-size: 0.75rem; font-weight: bold;
    margin: 1px;
}
.form-w { background: #00A651; color: #fff; }
.form-d { background: #FFD700; color: #000; }
.form-l { background: #FF4500; color: #fff; }

/* ---- League Table ---- */
.league-table { width: 100%; }
.league-table th {
    background: var(--bg-top-bar);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 10px;
    border: none;
}
.league-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text); font-family: var(--font-heading); font-weight: 600; vertical-align: middle; font-size: 0.9rem; }
.league-table tr:hover td { background: rgba(0,166,81,0.05); }
.league-table tr.gdfc-row td { background: rgba(0,166,81,0.08); border-left: 4px solid var(--primary); }
.league-table tr.gdfc-row td:first-child { font-weight: 800; }
.position-indicator { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; font-weight: 700; }
.pos-1 { background: var(--gradient-gold); color: #000; }
.pos-2 { background: linear-gradient(135deg,#c0c0c0,#aaa); color: #fff; }
.pos-3 { background: linear-gradient(135deg,#cd7f32,#a0522d); color: #fff; }
.pos-other { background: var(--border); color: var(--text-muted); }
.points-badge { background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 12px; font-weight: 700; }

/* ---- Performance Table ---- */
.perf-table { width: 100%; }
.perf-table th {
    background: var(--bg-top-bar);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 8px;
    white-space: nowrap;
}
.perf-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; font-size: 0.88rem; }
.perf-table tr:hover td { background: rgba(0,166,81,0.04); }
.player-avatar-sm { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.rating-pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; color: #000; }
.stat-bar-wrap { height: 6px; background: var(--border); border-radius: 3px; min-width: 60px; }
.stat-bar { height: 100%; border-radius: 3px; background: var(--gradient-primary); }

/* ---- Stats Cards ---- */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.stat-card::before {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(0,166,81,0.08);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-card-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.stat-card-number { font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 4px; display: block; }
.stat-card-label { font-family: var(--font-heading); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ---- Foundation ---- */
.foundation-hero {
    background: linear-gradient(135deg, #1a0533 0%, #2d0a52 50%, #1a0533 100%);
    position: relative; overflow: hidden;
    padding: 80px 0;
    color: #fff;
}
.foundation-hero::after {
    content: '♥'; position: absolute; right: -60px; bottom: -60px;
    font-size: 300px; opacity: 0.04;
}
.gdf-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
}
.gdf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.gdf-card-header { padding: 24px 20px 0; }
.gdf-icon {
    width: 64px; height: 64px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 12px;
}
.gdf-food { background: linear-gradient(135deg, #FF6B35, #F7931E); }
.gdf-hygiene { background: linear-gradient(135deg, #0099FF, #00D4FF); }
.gdf-legal { background: linear-gradient(135deg, #8B5CF6, #C084FC); }
.gdf-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.gdf-card-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ---- Gallery ---- */
.gallery-item {
    position: relative; overflow: hidden; border-radius: var(--radius);
    cursor: pointer; background: #000;
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.gallery-item:hover img { transform: scale(1.1); opacity: 0.7; }
.gallery-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
    color: #fff; text-align: center; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; margin-bottom: 8px; }
.gallery-overlay-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; }

/* ---- Fixture Calendar ---- */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-header { text-align: center; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--text-muted); padding: 8px 0; }
.cal-day {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px;
    min-height: 70px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.cal-day.has-match { border-color: var(--primary); background: rgba(0,166,81,0.05); }
.cal-day.today { border-color: var(--secondary); background: rgba(255,215,0,0.08); }
.cal-day-num { font-weight: 700; color: var(--text); font-size: 0.85rem; margin-bottom: 2px; }
.cal-match-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; display: inline-block; }
.cal-match-label { font-size: 0.6rem; color: var(--primary); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Admin Styles ---- */
.admin-body { background: #0d1117; }
.admin-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: 260px;
    background: linear-gradient(180deg, #0a1a0f 0%, #0d2010 100%);
    border-right: 1px solid rgba(0,166,81,0.2);
    display: flex; flex-direction: column;
    z-index: 100; overflow-y: auto;
    transition: transform 0.3s ease;
}
.admin-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(0,166,81,0.2);
    display: flex; align-items: center; gap: 12px;
}
.admin-logo .logo-circle { width: 44px; height: 44px; }
.admin-logo .brand-name { font-size: 1rem; color: #fff; }
.admin-logo .brand-sub { color: var(--primary); font-size: 0.65rem; }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-section-title { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.3); letter-spacing: 2px; text-transform: uppercase; padding: 0 8px 8px; }
.admin-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
    transition: var(--transition);
}
.admin-nav-link:hover, .admin-nav-link.active {
    background: rgba(0,166,81,0.15);
    color: var(--primary);
}
.admin-nav-link i { font-size: 1rem; width: 20px; }
.admin-nav-link .badge { margin-left: auto; }
.admin-content {
    margin-left: 260px;
    padding: 24px;
    min-height: 100vh;
    background: #0d1117;
    color: #e8f5e9;
}
.admin-topbar {
    background: #111a12;
    border-bottom: 1px solid rgba(0,166,81,0.2);
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 99;
}
.admin-page-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: #e8f5e9; }
.admin-card {
    background: #111a12;
    border: 1px solid rgba(0,166,81,0.2);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    color: #e8f5e9;
}
.admin-card-header {
    background: rgba(0,166,81,0.1);
    border-bottom: 1px solid rgba(0,166,81,0.2);
    padding: 14px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.admin-stat-card {
    background: #111a12;
    border: 1px solid rgba(0,166,81,0.2);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}
.admin-stat-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.admin-stat-icon { font-size: 2.5rem; margin-bottom: 8px; }
.admin-stat-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); line-height: 1; }
.admin-stat-label { font-family: var(--font-heading); font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.admin-table { width: 100%; }
.admin-table th { background: rgba(0,166,81,0.15); color: var(--primary); font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 12px 10px; border: none; }
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(0,166,81,0.1); color: #e8f5e9; font-size: 0.88rem; vertical-align: middle; }
.admin-table tr:hover td { background: rgba(0,166,81,0.05); }
.admin-form-label { color: rgba(255,255,255,0.7); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.admin-form-control { background: rgba(255,255,255,0.05); border: 1px solid rgba(0,166,81,0.3); color: #e8f5e9; border-radius: 8px; padding: 10px 14px; font-size: 0.9rem; width: 100%; }
.admin-form-control:focus { background: rgba(255,255,255,0.08); border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(0,166,81,0.2); color: #e8f5e9; }
.admin-form-control option { background: #0d1117; color: #e8f5e9; }
select.admin-form-control { cursor: pointer; }
textarea.admin-form-control { resize: vertical; min-height: 100px; }

/* ---- Buttons ---- */
.btn-primary-gdfc {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary-gdfc:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,166,81,0.4); color: #fff; }
.btn-gold { background: var(--gradient-gold); color: #000; border: none; padding: 10px 24px; border-radius: 25px; font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; transition: var(--transition); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,215,0,0.4); color: #000; }
.btn-outline-gdfc { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 9px 22px; border-radius: 25px; font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; transition: var(--transition); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn-outline-gdfc:hover { background: var(--primary); color: #fff; }
.btn-gdf-sm { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-family: var(--font-heading); font-weight: 600; transition: var(--transition); }
.btn-gdf-sm:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ---- Page Hero ---- */
.page-hero {
    background: var(--gradient-hero);
    padding: 60px 0 50px;
    position: relative; overflow: hidden;
    color: #fff;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E'); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); color: #fff; letter-spacing: 2px; margin-bottom: 8px; position: relative; z-index: 1; }
.page-hero-title span { color: var(--secondary); }
.page-hero-sub { color: rgba(255,255,255,0.7); font-family: var(--font-heading); font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; position: relative; z-index: 1; }
.breadcrumb { background: none; padding: 0; position: relative; z-index: 1; }
.breadcrumb-item { font-family: var(--font-heading); font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb-item a { color: var(--secondary); }
.breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Filter Pills ---- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-pill:hover, .filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---- Transfer Cards ---- */
.transfer-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.transfer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.transfer-type-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 0.7rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.transfer-perm { background: rgba(0,166,81,0.15); color: var(--primary); }
.transfer-loan { background: rgba(0,153,255,0.15); color: #0099ff; }
.transfer-free { background: rgba(255,215,0,0.15); color: #cc9900; }
.transfer-youth { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.transfer-arrows { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 0.85rem; color: var(--text); }
.transfer-arrows .arrow { color: var(--primary); font-size: 1.2rem; }

/* ---- Contact ---- */
.contact-info-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); box-shadow: var(--shadow); }
.contact-info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.contact-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: rgba(0,166,81,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }
.contact-info-label { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.contact-info-value { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text); }
.contact-form-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-form-card .form-control { border: 2px solid var(--border); border-radius: 10px; padding: 12px 16px; font-family: var(--font-body); transition: var(--transition); background: var(--bg); color: var(--text); }
.contact-form-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,166,81,0.1); background: var(--bg-card); }
.contact-form-card .form-label { font-family: var(--font-heading); font-weight: 700; color: var(--text); font-size: 0.9rem; }

/* ---- About Stats ---- */
.about-stat-strip { background: var(--gradient-primary); padding: 40px 0; }
.about-stat-item { text-align: center; }
.about-stat-num { font-family: var(--font-display); font-size: 3rem; color: var(--secondary); line-height: 1; }
.about-stat-lbl { font-family: var(--font-heading); font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase; }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-in { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---- Footer ---- */
.main-footer { background: var(--bg-footer); color: rgba(255,255,255,0.7); }
.footer-top { padding: 60px 0 40px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; }
.logo-circle-sm { width: 44px; height: 44px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.75rem; color: #fff; border: 2px solid var(--secondary); flex-shrink: 0; }
.footer-brand h5 { font-family: var(--font-display); color: #fff; letter-spacing: 2px; font-size: 1.1rem; margin: 0; }
.footer-brand small { font-family: var(--font-heading); color: var(--primary); font-size: 0.7rem; letter-spacing: 1px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.social-links { display: flex; gap: 8px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 1rem; transition: var(--transition); }
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-heading { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-links { list-style: none; padding: 0; }
.footer-links li a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6); font-size: 0.88rem; font-family: var(--font-heading); padding: 4px 0; transition: var(--transition); }
.footer-links li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-links li a i { color: var(--primary); font-size: 0.7rem; }
.footer-gdf-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.gdf-categories { display: flex; flex-direction: column; gap: 8px; }
.gdf-cat-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.gdf-cat-item i { color: var(--secondary); font-size: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 16px 0; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--secondary); }

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,166,81,0.4);
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-260px); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .hero-score-board { margin-top: 40px; }
    .hero-stats { gap: 20px; }
}
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .hero-section { min-height: auto; padding: 60px 0; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- Table responsive wrapper ---- */
.table-responsive { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---- Alert fix for dark bg ---- */
[data-theme="dark"] .form-control, [data-theme="dark"] .form-select {
    background: rgba(255,255,255,0.05);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .form-control:focus { background: rgba(255,255,255,0.08); border-color: var(--primary); color: var(--text); }

/* ---- Profile Page ---- */
.profile-header { background: var(--gradient-hero); padding: 40px 0; color: #fff; }
.profile-img-wrap { width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--secondary); overflow: hidden; box-shadow: 0 0 30px rgba(0,0,0,0.3); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.profile-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 2px; color: #fff; }
.profile-pos { font-family: var(--font-heading); font-size: 1.2rem; color: var(--secondary); letter-spacing: 2px; text-transform: uppercase; }
.profile-stat { text-align: center; padding: 12px 20px; }
.profile-stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--secondary); line-height: 1; }
.profile-stat-lbl { font-family: var(--font-heading); font-size: 0.7rem; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; }
.profile-divider { width: 1px; background: rgba(255,255,255,0.2); height: 40px; align-self: center; }

/* ---- Tabs ---- */
.gdfc-tabs .nav-link { font-family: var(--font-heading); font-weight: 700; color: var(--text-muted); border: none; padding: 10px 20px; border-radius: 25px; letter-spacing: 0.5px; transition: var(--transition); }
.gdfc-tabs .nav-link.active { background: var(--primary); color: #fff; }
.gdfc-tabs .nav-link:hover:not(.active) { background: rgba(0,166,81,0.1); color: var(--primary); }

/* ---- Chart Container ---- */
.chart-container { position: relative; height: 300px; }

/* ---- News/Announcement ---- */
.announcement-bar { background: var(--secondary); color: var(--text); padding: 8px 0; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; overflow: hidden; }
.announcement-inner { display: flex; align-items: center; gap: 12px; }
.announcement-label { background: var(--primary); color: #fff; padding: 2px 12px; border-radius: 12px; flex-shrink: 0; font-size: 0.75rem; letter-spacing: 1px; }
.announcement-scroll { overflow: hidden; }
.announcement-text { white-space: nowrap; animation: marquee 20s linear infinite; display: inline-block; }
@keyframes marquee { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ---- Photo upload preview ---- */
.photo-preview { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); display: none; }
.photo-preview.visible { display: block; }

/* ============================================================
   EXTENDED STYLES — All new pages
   ============================================================ */

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #005c2e 100%);
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner-green { background: linear-gradient(135deg, #00A651 0%, #007a3d 100%); }
.page-banner-dark  { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.banner-content { position: relative; }
.banner-content h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem,5vw,3rem); color: #fff; letter-spacing: 2px; margin-bottom: .5rem; }
.banner-content .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); }
.banner-content .breadcrumb-item a { color: rgba(255,255,255,.75); }
.banner-content .breadcrumb-item.active { color: #fff; }

/* ── League Table Page ── */
.gdfc-league-table { border-collapse: separate; border-spacing: 0; }
.gdfc-league-table thead th { background: var(--card-bg); color: var(--text-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--border-color); padding: .75rem .5rem; }
.gdfc-league-table tbody tr { border-bottom: 1px solid var(--border-color); transition: background .15s; }
.gdfc-league-table tbody tr:hover { background: rgba(0,166,81,.06); }
.gdfc-row { background: rgba(0,166,81,.08) !important; }
.row-champions { border-left: 4px solid var(--gold) !important; }
.row-promotion { border-left: 4px solid var(--primary) !important; }
.row-playoff   { border-left: 4px solid var(--accent) !important; }
.row-relegation{ border-left: 4px solid #dc3545 !important; }
.pos-cell { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; }
.pts-cell { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--primary); }
.badge-gdfc { background: linear-gradient(135deg, var(--primary), var(--gold)); color: #000; font-size: .6rem; font-weight: 700; }
.team-initials { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; }
.form-guide { display: flex; gap: 3px; justify-content: center; }
.form-dot { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; color: #fff; }
.form-w { background: #28a745; }
.form-d { background: #6c757d; }
.form-l { background: #dc3545; }
.table-legend { font-size: .8rem; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 14px; height: 14px; border-radius: 2px; }
.legend-item.champions .legend-dot { background: var(--gold); }
.legend-item.promotion .legend-dot { background: var(--primary); }
.legend-item.playoff   .legend-dot { background: var(--accent); }
.legend-item.relegation .legend-dot { background: #dc3545; }
.mini-stat-row { display: flex; align-items: center; gap: 12px; padding: .6rem 0; border-bottom: 1px solid var(--border-color); }
.mini-stat-row:last-child { border-bottom: none; }
.rank-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-badge { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; }
.stat-badge.goals { color: var(--primary); }
.stat-badge.assists { color: var(--accent); }
.stat-badge small { font-size: .65rem; font-weight: 400; opacity: .7; }

/* ── About Page ── */
.about-badge { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--gold)); color: #000; font-family: 'Rajdhani',sans-serif; font-weight: 700; font-size: .75rem; letter-spacing: 3px; padding: .3rem .8rem; border-radius: 20px; margin-bottom: 1rem; }
.lead-text { font-size: 1.1rem; color: var(--text-secondary); font-weight: 500; margin-bottom: 1rem; }
.about-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; text-align: center; transition: transform .2s; }
.about-stat-card:hover { transform: translateY(-4px); }
.about-stat-card.primary { border-top: 4px solid var(--primary); }
.about-stat-card.gold    { border-top: 4px solid var(--gold); }
.about-stat-card.green   { border-top: 4px solid #28a745; }
.about-stat-card.red     { border-top: 4px solid var(--accent); }
.stat-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.about-stat-card.primary .stat-icon { color: var(--primary); }
.about-stat-card.gold    .stat-icon { color: var(--gold); }
.about-stat-card.green   .stat-icon { color: #28a745; }
.about-stat-card.red     .stat-icon { color: var(--accent); }
.stat-num { font-family: 'Bebas Neue',sans-serif; font-size: 2.5rem; line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.mv-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; height: 100%; text-align: center; transition: transform .2s, box-shadow .2s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,166,81,.15); }
.mv-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; margin: 0 auto 1rem; }
.mv-card h4 { font-family: 'Rajdhani',sans-serif; font-weight: 700; margin-bottom: .75rem; }
/* Timeline */
.gdfc-timeline { position: relative; padding: 0; }
.gdfc-timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border-color); transform: translateX(-50%); }
.timeline-item { display: flex; width: 50%; padding-bottom: 2rem; position: relative; }
.timeline-item.left  { justify-content: flex-end; padding-right: 3rem; }
.timeline-item.right { margin-left: 50%; padding-left: 3rem; }
.timeline-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); top: 8px; }
.timeline-item.left  .timeline-dot { right: -7px; }
.timeline-item.right .timeline-dot { left: -7px; }
.gold-dot  { background: var(--gold) !important; }
.green-dot { background: #28a745 !important; }
.red-dot   { background: var(--accent) !important; }
.timeline-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem; max-width: 320px; }
.timeline-year { font-family: 'Bebas Neue',sans-serif; font-size: 1rem; color: var(--primary); letter-spacing: 1px; margin-bottom: .25rem; }
.timeline-card h5 { font-family: 'Rajdhani',sans-serif; font-weight: 700; margin-bottom: .4rem; }
.timeline-card p  { font-size: .875rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 767px) {
  .gdfc-timeline::before { left: 20px; }
  .timeline-item { width: 100%; padding-left: 50px !important; padding-right: 0 !important; margin-left: 0 !important; justify-content: flex-start !important; }
  .timeline-dot { left: 13px !important; right: auto !important; }
}
/* Colors */
.color-swatches { display: flex; gap: .75rem; flex-wrap: wrap; }
.swatch { width: 110px; height: 80px; border-radius: 12px; display: flex; align-items: flex-end; padding: .5rem; color: #fff; font-size: .75rem; }
.swatch .swatch-label strong { display: block; }
/* Badge showcase */
.club-badge-showcase { text-align: center; }
.badge-display { width: 180px; height: 180px; margin: 0 auto; border-radius: 50% 50% 40% 40%; background: linear-gradient(160deg, #00A651, #005c2e); border: 6px solid var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0,166,81,.3); }
.badge-inner { text-align: center; color: #fff; }
.badge-top-text { font-size: .55rem; letter-spacing: 3px; text-transform: uppercase; opacity: .8; }
.badge-star { font-size: 1rem; color: var(--gold); margin: .2rem 0; }
.badge-letters { font-family: 'Bebas Neue',sans-serif; font-size: 2.2rem; letter-spacing: 4px; line-height: 1; }
.badge-year { font-size: .6rem; letter-spacing: 2px; opacity: .7; margin-top: .2rem; }
.badge-caption { color: var(--text-muted); font-size: .8rem; margin-top: 1rem; }
/* Staff */
.staff-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; transition: transform .2s; }
.staff-card:hover { transform: translateY(-4px); }
.staff-avatar { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; margin: 0 auto; }

/* ── Gallery Page ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-img-wrap { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4/3; background: var(--card-bg); }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; justify-content: space-between; padding: .75rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-content { display: flex; justify-content: center; padding-top: 1rem; }
.gallery-zoom-btn { background: rgba(255,255,255,.2); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.gallery-zoom-btn:hover { background: var(--primary); border-color: var(--primary); }
.gallery-caption { color: #fff; font-size: .8rem; font-weight: 500; }
.gallery-modal-content { background: #000; border: none; }
.gallery-modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 10; background: rgba(255,255,255,.2); border-radius: 50%; opacity: 1; filter: invert(1); }
#lightboxImg { max-height: 85vh; object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,.8); text-align: center; padding: .75rem; font-size: .875rem; }
.gdfc-pagination .page-link { background: var(--card-bg); border-color: var(--border-color); color: var(--text-primary); }
.gdfc-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Foundation Page ── */
.foundation-hero { background: linear-gradient(135deg, #0d4f2b 0%, #1a1a2e 100%); padding: 5rem 0; position: relative; overflow: hidden; }
.foundation-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(0,166,81,.2) 0%, transparent 60%); }
.foundation-hero-overlay { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h80v80H0z'/%3E%3C/g%3E%3C/svg%3E"); }
.foundation-hero-content { position: relative; color: #fff; }
.foundation-badge { display: inline-block; background: rgba(255,215,0,.2); border: 1px solid var(--gold); color: var(--gold); font-size: .7rem; letter-spacing: 3px; padding: .3rem .8rem; border-radius: 20px; margin-bottom: 1rem; }
.foundation-title { font-family: 'Bebas Neue',sans-serif; font-size: clamp(2.5rem,7vw,4.5rem); letter-spacing: 3px; line-height: 1; margin-bottom: 1rem; }
.foundation-title span { color: var(--gold); }
.foundation-subtitle { font-size: 1.1rem; opacity: .85; }
.foundation-pillars-preview { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.foundation-pillars-preview span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .4rem .9rem; border-radius: 20px; font-size: .85rem; color: rgba(255,255,255,.9); }
.gdf-impact-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.impact-mini { text-align: center; }
.impact-num { display: block; font-family: 'Bebas Neue',sans-serif; font-size: 2rem; color: var(--primary); line-height: 1; }
.impact-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.gdf-quote-card { background: var(--card-bg); border: 1px solid var(--border-color); border-left: 4px solid var(--primary); border-radius: 12px; padding: 2rem; }
.quote-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.gdf-quote-card blockquote { font-size: 1rem; font-style: italic; color: var(--text-secondary); margin: 0 0 1rem; line-height: 1.7; }
.gdf-quote-card cite { font-size: .875rem; color: var(--text-muted); font-style: normal; }
.pillar-block { }
.pillar-icon-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; text-align: center; height: 100%; }
.pillar-icon-card.food-bank { border-top: 4px solid var(--gold); }
.pillar-icon-card.hygiene   { border-top: 4px solid var(--primary); }
.pillar-icon-card.legal     { border-top: 4px solid var(--accent); }
.pillar-big-icon { font-size: 3rem; margin-bottom: 1rem; }
.food-bank .pillar-big-icon { color: var(--gold); }
.hygiene   .pillar-big-icon { color: var(--primary); }
.legal     .pillar-big-icon { color: var(--accent); }
.pillar-icon-card h3 { font-family: 'Rajdhani',sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: .75rem; }
.pillar-mini-stat { background: var(--bg-secondary); border-radius: 10px; padding: 1rem; text-align: center; }
.pillar-mini-stat i { font-size: 1.5rem; margin-bottom: .4rem; display: block; }
.pillar-mini-stat strong { display: block; font-family: 'Rajdhani',sans-serif; font-size: 1.1rem; font-weight: 700; }
.pillar-mini-stat span { font-size: .75rem; color: var(--text-muted); }
.project-item { display: flex; align-items: flex-start; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border-color); }
.project-item:last-child { border-bottom: none; }
.project-status { font-size: .65rem; font-weight: 700; text-transform: uppercase; padding: .2rem .5rem; border-radius: 4px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.status-completed { background: rgba(40,167,69,.2); color: #28a745; }
.status-ongoing   { background: rgba(0,123,255,.2); color: #007bff; }
.status-planned   { background: rgba(255,193,7,.2); color: #ffc107; }
.gdf-cta-section { background: linear-gradient(135deg, var(--primary) 0%, #005c2e 100%); padding: 5rem 0; }
.btn-gold { background: var(--gold); color: #000; font-weight: 700; border: none; }
.btn-gold:hover { background: #e6c200; color: #000; }

/* ── Transfers Page ── */
.transfer-stat-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem; text-align: center; }
.transfer-stat-card.signing   { border-top: 4px solid #28a745; }
.transfer-stat-card.departure { border-top: 4px solid #dc3545; }
.transfer-stat-card.loan      { border-top: 4px solid #17a2b8; }
.transfer-stat-card.return    { border-top: 4px solid #ffc107; }
.transfer-stat-card i { font-size: 1.5rem; margin-bottom: .5rem; display: block; }
.signing   i { color: #28a745; }
.departure i { color: #dc3545; }
.loan      i { color: #17a2b8; }
.return    i { color: #ffc107; }
.ts-num { font-family: 'Bebas Neue',sans-serif; font-size: 2rem; line-height: 1; }
.ts-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.transfer-list { display: flex; flex-direction: column; gap: .75rem; }
.transfer-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; position: relative; overflow: hidden; transition: transform .2s; }
.transfer-card:hover { transform: translateX(4px); }
.transfer-card.in  { border-left: 4px solid #28a745; }
.transfer-card.out { border-left: 4px solid #dc3545; }
.transfer-type-badge { position: absolute; top: .5rem; right: .75rem; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: .2rem .5rem; border-radius: 4px; }
.type-signing   { background: rgba(40,167,69,.15);  color: #28a745; }
.type-departure { background: rgba(220,53,69,.15);  color: #dc3545; }
.type-loan      { background: rgba(23,162,184,.15); color: #17a2b8; }
.type-return    { background: rgba(255,193,7,.15);  color: #856404; }
.transfer-player { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.transfer-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); }
.transfer-flow { display: flex; align-items: center; gap: .75rem; flex-grow: 1; flex-wrap: wrap; }
.team-from, .team-to { font-size: .85rem; font-weight: 600; max-width: 140px; }
.transfer-meta { text-align: right; }
.transfer-fee { font-family: 'Rajdhani',sans-serif; font-weight: 700; font-size: .95rem; }
.transfer-fee.free { color: var(--text-muted); font-size: .8rem; }

/* ── Contact Page ── */
.contact-type-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.contact-type-tabs input[type="radio"] { display: none; }
.contact-type-tabs label { padding: .4rem 1rem; border-radius: 20px; border: 1px solid var(--border-color); cursor: pointer; font-size: .875rem; transition: all .2s; color: var(--text-secondary); }
.contact-type-tabs input:checked + label { background: var(--primary); border-color: var(--primary); color: #fff; }
.contact-info-block { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.75rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.ci-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,166,81,.15); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.social-contact-block { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; }
.social-contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.social-contact-btn { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: 8px; font-size: .875rem; font-weight: 600; text-decoration: none; transition: opacity .2s; }
.social-contact-btn:hover { opacity: .85; }
.social-contact-btn.facebook  { background: #1877f2; color: #fff; }
.social-contact-btn.twitter   { background: #1da1f2; color: #fff; }
.social-contact-btn.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.social-contact-btn.whatsapp  { background: #25d366; color: #fff; }
.foundation-contact-card { background: var(--card-bg); border: 1px solid var(--primary); border-radius: 16px; padding: 1.5rem; text-align: center; }
.fc-icon { font-size: 2rem; color: var(--accent); margin-bottom: .75rem; }

/* ── Admin Extra Styles ── */
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem; }
.admin-page-header h4 { font-family: 'Rajdhani',sans-serif; font-weight: 700; margin: 0; }
.admin-stat-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.admin-stat-card.primary { border-left: 4px solid var(--primary); }
.admin-stat-card.gold    { border-left: 4px solid var(--gold); }
.admin-stat-card.green   { border-left: 4px solid #28a745; }
.admin-stat-card.red     { border-left: 4px solid var(--accent); }
.asc-icon { font-size: 1.8rem; }
.admin-stat-card.primary .asc-icon { color: var(--primary); }
.admin-stat-card.gold    .asc-icon { color: var(--gold); }
.admin-stat-card.green   .asc-icon { color: #28a745; }
.admin-stat-card.red     .asc-icon { color: var(--accent); }
.asc-num { font-family: 'Bebas Neue',sans-serif; font-size: 2rem; line-height: 1; }
.asc-label { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.asc-sub { font-size: .75rem; margin-top: 2px; }
.admin-quick-actions { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; padding: 1rem 1.25rem; }
.qa-label { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: .75rem; }
.qa-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.qa-btn { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; padding: .4rem .9rem; font-size: .8rem; font-weight: 600; color: var(--text-primary); text-decoration: none; transition: all .2s; display: flex; align-items: center; gap: .4rem; position: relative; }
.qa-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.qa-btn.qa-alert { border-color: var(--accent); color: var(--accent); }
.qa-badge { background: var(--accent); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: .6rem; display: flex; align-items: center; justify-content: center; position: absolute; top: -4px; right: -4px; }
.admin-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.admin-card-header h6 { margin: 0; font-family: 'Rajdhani',sans-serif; font-weight: 700; font-size: .95rem; }
.admin-card-link { font-size: .8rem; color: var(--primary); text-decoration: none; }
.admin-card-body { padding: 1.25rem; }
.result-admin-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; border-bottom: 1px solid var(--border-color); }
.result-admin-row:last-child { border-bottom: none; }
.result-badge-sm { width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.rb-w { background: #28a745; }
.rb-d { background: #6c757d; }
.rb-l { background: #dc3545; }
.btn-xs { padding: .2rem .5rem; font-size: .75rem; }
.message-admin-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; border-bottom: 1px solid var(--border-color); text-decoration: none; color: var(--text-primary); }
.message-admin-row:last-child { border-bottom: none; }
.message-admin-row.unread { background: rgba(0,166,81,.05); }
.ma-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; }
.squad-legend { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.sl-item { display: flex; align-items: center; gap: .4rem; font-size: .8rem; }
.sl-pos { color: var(--text-muted); }
.sl-cnt { font-weight: 700; }
.jersey-num-sm { background: var(--primary); color: #fff; width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; }
/* Admin Gallery Grid */
.admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.admin-gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--bg-secondary); }
.admin-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.admin-gallery-item:hover img { transform: scale(1.05); }
.admin-gallery-item.inactive-photo img { opacity: .4; }
.agp-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%); opacity: 0; transition: opacity .25s; padding: .5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.admin-gallery-item:hover .agp-overlay { opacity: 1; }
.agp-caption { color: #fff; font-size: .7rem; font-weight: 500; margin-bottom: .25rem; line-height: 1.2; }
.agp-cat { font-size: .6rem; color: rgba(255,255,255,.6); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: 1px; }
.agp-actions { display: flex; gap: .25rem; }
.inactive-badge { position: absolute; top: .4rem; left: .4rem; background: rgba(0,0,0,.6); color: #fff; font-size: .6rem; padding: .15rem .4rem; border-radius: 4px; }
/* Messages */
.message-list-item { display: flex; align-items: flex-start; gap: .75rem; padding: .875rem 1rem; border-bottom: 1px solid var(--border-color); text-decoration: none; color: var(--text-primary); transition: background .15s; cursor: pointer; }
.message-list-item:hover { background: rgba(0,166,81,.06); }
.message-list-item.unread { background: rgba(0,166,81,.04); }
.message-list-item.active { background: rgba(0,166,81,.12) !important; }
.mli-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; position: relative; }
.mli-dot { position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--card-bg); }
.mli-body { flex: 1; min-width: 0; }
.mli-from { font-weight: 700; font-size: .875rem; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.mli-subject { font-size: .8rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: .1rem 0; }
.mli-preview { font-size: .75rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mli-time { font-size: .7rem; color: var(--text-muted); margin-top: .2rem; }
.filter-sep { color: var(--border-color); line-height: 2; }
.msg-detail-header { display: flex; align-items: center; gap: 1rem; }
.msg-from-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-muted); flex-shrink: 0; }
.msg-body { background: var(--bg-secondary); border-radius: 12px; padding: 1.25rem; font-size: .9rem; line-height: 1.7; color: var(--text-secondary); min-height: 120px; }
/* Settings */
.sys-info-row { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--border-color); font-size: .875rem; }
.sys-info-row:last-child { border-bottom: none; }
.sys-info-row span { color: var(--text-muted); }
/* Transfer admin */
.transfer-admin-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; border-bottom: 1px solid var(--border-color); }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }

/* Section heading variants */
.section-heading-sm { font-family: 'Rajdhani',sans-serif; font-weight: 700; font-size: 1.1rem; }
.section-title-sm   { font-family: 'Rajdhani',sans-serif; font-weight: 700; font-size: 1.2rem; }

/* Table key */
.table-key small { color: var(--text-muted); margin-right: .5rem; }

/* Responsive tweaks */
@media (max-width: 575px) {
  .transfer-card { flex-direction: column; align-items: flex-start; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .color-swatches .swatch { width: 90px; height: 65px; }
}

/* ---- Theme Toggle Label ---- */
.theme-toggle-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 2px;
}

/* ============================================================
   NEWS & EVENTS — Public Page
   ============================================================ */

/* ── News Grid ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ── News Card ── */
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
    position: relative;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card.is-featured { border-color: var(--secondary); }

.news-card-img-link {
    position: relative;
    display: block;
    padding-bottom: 56%;
    overflow: hidden;
    background: var(--bg-card);
    text-decoration: none;
}
.news-card-img-link img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.news-card:hover .news-card-img-link img { transform: scale(1.06); }

.news-card-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-card), var(--border));
    font-size: 2.5rem;
    color: var(--text-muted);
}

.news-card-type {
    position: absolute; top: 10px; left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    backdrop-filter: blur(6px);
}
.news-card-type.news  { background: rgba(0,166,81,.85); color: #fff; }
.news-card-type.event { background: rgba(255,215,0,.9); color: #1a1a1a; }

.news-card-upcoming {
    position: absolute; top: 10px; right: 10px;
    background: rgba(255,68,68,.85); color: #fff;
    padding: 3px 9px; border-radius: 20px;
    font-size: .65rem; font-weight: 700; text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.news-card-body {
    padding: 18px; flex: 1;
    display: flex; flex-direction: column; gap: 8px;
}
.news-card-cat {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--primary);
}
.news-card-body h5 {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1rem; line-height: 1.35; margin: 0;
}
.news-card-body h5 a { color: var(--text); text-decoration: none; }
.news-card-body h5 a:hover { color: var(--primary); }
.news-card-body p {
    font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.55;
}
.news-card-event-meta {
    font-size: .78rem; color: var(--primary);
    font-family: var(--font-heading); font-weight: 600;
}
.news-card-footer {
    display: flex; align-items: center; gap: 10px;
    margin-top: auto; padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: .75rem; color: var(--text-muted);
    flex-wrap: wrap;
}
.news-read-more {
    margin-left: auto; color: var(--primary);
    text-decoration: none; font-weight: 700;
    font-family: var(--font-heading); font-size: .8rem;
    white-space: nowrap;
}
.news-read-more:hover { color: var(--primary-dark); }

/* ── Featured Hero ── */
.news-hero {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}
.news-hero-img {
    position: relative; height: 100%; min-height: 280px;
    overflow: hidden;
}
.news-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.news-hero-placeholder {
    width: 100%; height: 100%; min-height: 280px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: rgba(255,255,255,.3);
}
.news-hero-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--secondary); color: #111;
    padding: 4px 12px; border-radius: 20px;
    font-size: .72rem; font-weight: 700;
}
.news-hero-body {
    padding: 32px 36px;
    display: flex; flex-direction: column; justify-content: center; height: 100%;
}
.news-hero-body h2 {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1.55rem; line-height: 1.3; margin: 10px 0 12px;
}
.news-hero-body h2 a { color: var(--text); text-decoration: none; }
.news-hero-body h2 a:hover { color: var(--primary); }
.news-hero-body p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.news-meta {
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: .78rem; color: var(--text-muted);
}
.news-cat {
    background: rgba(0,166,81,.12); color: var(--primary);
    padding: 2px 8px; border-radius: 10px;
    font-weight: 700; font-size: .7rem;
}

/* ── Type pills ── */
.news-type-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 20px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    margin-bottom: 8px;
}
.news-type-pill.news  { background: rgba(0,166,81,.15);  color: var(--primary-light); }
.news-type-pill.event { background: rgba(255,215,0,.15); color: var(--secondary); }
.news-type-pill-lg { font-size: .85rem; padding: 5px 16px; }

/* ── Filter bar ── */
.news-filter-bar { }
.news-search-form .input-group { max-width: 560px; }

/* ── Single article ── */
.gdfc-article { max-width: 820px; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 14px;
    font-size: .8rem; color: var(--text-muted);
    margin-bottom: 20px;
}
.article-cat-badge {
    background: rgba(0,166,81,.12); color: var(--primary);
    padding: 2px 10px; border-radius: 10px;
    font-weight: 700; font-size: .72rem;
}
.article-cover {
    margin-bottom: 24px; border-radius: var(--radius); overflow: hidden;
}
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; }

.event-detail-box {
    display: flex; flex-wrap: wrap; gap: 0;
    background: rgba(0,166,81,.06);
    border: 1px solid rgba(0,166,81,.2);
    border-radius: var(--radius-sm);
    margin-bottom: 24px; overflow: hidden;
}
.edb-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; flex: 1 1 200px;
    border-right: 1px solid rgba(0,166,81,.15);
}
.edb-item:last-child { border-right: none; }
.edb-item > i { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }
.edb-item small { display: block; font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.edb-item strong { font-family: var(--font-heading); font-size: .95rem; color: var(--text); }

.article-body { font-size: .95rem; line-height: 1.75; color: var(--text); }
.article-body h2, .article-body h3 { font-family: var(--font-heading); font-weight: 700; color: var(--primary); margin: 24px 0 10px; }
.article-body p  { margin-bottom: 14px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 14px; }
.article-body strong { color: var(--text); }
.article-body a  { color: var(--primary); }
.article-body blockquote {
    border-left: 4px solid var(--primary); margin: 16px 0;
    padding: 10px 20px; background: rgba(0,166,81,.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--text-muted);
}

.article-tags { margin: 24px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; color: var(--text-muted); }
.tag-pill {
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-muted); padding: 3px 10px; border-radius: 20px;
    font-size: .75rem; text-decoration: none; transition: all .2s;
}
.tag-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.article-share { display: flex; align-items: center; gap: 10px; margin: 24px 0; }
.article-share > span { font-size: .82rem; color: var(--text-muted); font-weight: 700; }
.share-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: .9rem; transition: all .2s;
    color: #fff;
}
.share-btn.twitter  { background: #1a1a1a; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn:hover { transform: translateY(-2px); opacity: .85; color: #fff; }

/* ── Sidebar ── */
.news-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.sidebar-card-title {
    font-family: var(--font-heading); font-weight: 700; font-size: .85rem;
    color: var(--text); margin: 0;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,166,81,.04);
    text-transform: uppercase; letter-spacing: .5px;
}
.sidebar-post-row {
    display: flex; gap: 10px; align-items: center;
    padding: 10px 16px; border-bottom: 1px solid var(--border);
    text-decoration: none; color: var(--text);
    transition: background .2s;
}
.sidebar-post-row:last-child { border-bottom: none; }
.sidebar-post-row:hover { background: var(--bg-hover); }
.sidebar-post-row img, .sidebar-post-thumb-placeholder {
    width: 52px; height: 40px; object-fit: cover;
    border-radius: 5px; flex-shrink: 0;
}
.sidebar-post-thumb-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: .9rem;
}
.sidebar-post-title { font-size: .8rem; font-weight: 600; line-height: 1.3; }
.sidebar-post-date  { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }
.sidebar-link-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-bottom: 1px solid var(--border);
    color: var(--text-muted); text-decoration: none; font-size: .85rem;
    transition: all .2s;
}
.sidebar-link-item:last-child { border-bottom: none; }
.sidebar-link-item:hover { background: var(--bg-hover); color: var(--primary); }
.sidebar-link-item i { color: var(--primary); width: 16px; }

@media (max-width: 767px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-hero-body { padding: 20px; }
    .news-hero-body h2 { font-size: 1.25rem; }
}



/* ============================================================
   LAST 8 MATCHES — Stylish Homepage Section
   ============================================================ */

/* ── Section wrapper ─────────────────────── */
.last8-section {
    position: relative;
    padding: 80px 0 90px;
    overflow: hidden;
    background: linear-gradient(160deg, #040d06 0%, #071a0c 40%, #0a2010 100%);
}

/* ── Pitch texture background ────────────── */
.last8-pitch-bg {
    position: absolute;
    inset: 0;
    opacity: .06;
    pointer-events: none;
}
.pitch-lines {
    position: relative;
    width: 100%; height: 100%;
    border: 3px solid #fff;
    border-top: none; border-bottom: none;
}
.pl-centre-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px; background: #fff;
    transform: translateX(-50%);
}
.pl-centre-circle {
    position: absolute;
    left: 50%; top: 50%;
    width: 180px; height: 180px;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%,-50%);
}
.pl-penalty-l, .pl-penalty-r {
    position: absolute;
    top: 50%;
    width: 120px; height: 200px;
    border: 3px solid #fff;
    transform: translateY(-50%);
}
.pl-penalty-l { left: 0; border-left: none; }
.pl-penalty-r { right: 0; border-right: none; }

/* ── Container ───────────────────────────── */
.last8-container { position: relative; z-index: 1; }

/* ── Heading row ─────────────────────────── */
.last8-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}
.last8-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 6px;
}
.spin-slow {
    animation: spinBall 6s linear infinite;
    display: inline-block;
}
@keyframes spinBall { to { transform: rotate(360deg); } }

.last8-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    line-height: 1;
    margin: 0;
    letter-spacing: 1px;
}
.last8-title em {
    font-style: normal;
    color: var(--primary);
    -webkit-text-stroke: 0;
}
.last8-all-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 8px 18px;
    transition: all .25s;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}
.last8-all-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── Summary bar ─────────────────────────── */
.last8-summary {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.l8s-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}
.l8s-item span {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}
.l8s-item.win span  { color: #00d668; }
.l8s-item.draw span { color: var(--secondary); }
.l8s-item.loss span { color: #ff5555; }
.l8s-item small {
    font-family: var(--font-heading);
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
}
.l8s-sep {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.12);
}
.l8s-form {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    flex-wrap: wrap;
}
.form-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    cursor: default;
    transition: transform .15s;
}
.form-dot:hover { transform: scale(1.2); }
.form-w { background: rgba(0,214,104,.2); color: #00d668; border: 1.5px solid #00d668; }
.form-d { background: rgba(255,215,0,.15); color: var(--secondary); border: 1.5px solid var(--secondary); }
.form-l { background: rgba(255,85,85,.18); color: #ff5555; border: 1.5px solid #ff5555; }
.form-dot.neutral { background: transparent; color: rgba(255,255,255,.25); border: 1.5px solid rgba(255,255,255,.15); font-size: 1rem; }

/* ── Cards grid ──────────────────────────── */
.last8-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

/* ── Single match card ───────────────────── */
.match-card {
    position: relative;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, background .25s;
    backdrop-filter: blur(6px);
}
.match-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.07);
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.match-card.is-gdfc-match {
    border-color: rgba(0,166,81,.3);
}

/* Coloured left accent bar */
.mc-accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 0;
}
.mc-win  .mc-accent  { background: linear-gradient(180deg, #00d668, #00a651); }
.mc-loss .mc-accent  { background: linear-gradient(180deg, #ff5555, #c0392b); }
.mc-draw .mc-accent  { background: linear-gradient(180deg, #FFD700, #e6ac00); }
.mc-neutral .mc-accent { background: rgba(255,255,255,.15); }

/* Header: competition + date */
.mc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 8px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.mc-comp {
    font-family: var(--font-heading);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}
.mc-comp i { opacity: .7; font-size: .6rem; }
.mc-date {
    font-size: .66rem;
    color: rgba(255,255,255,.4);
    white-space: nowrap;
}

/* Main row */
.mc-main {
    display: flex;
    align-items: center;
    padding: 18px 16px 18px 20px;
    gap: 10px;
}

/* Club block */
.mc-club {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.mc-club-away { }

/* Shield avatar */
.mc-shield {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    letter-spacing: 0;
    transition: all .2s;
}
.match-card:hover .mc-shield { border-color: rgba(0,166,81,.5); }
.mc-shield-gdfc {
    background: rgba(0,166,81,.18);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 14px rgba(0,166,81,.35);
}

.mc-name {
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255,255,255,.75);
    line-height: 1.2;
}
.mc-gdfc .mc-name { color: #fff; }

.mc-home-tag {
    font-size: .55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(0,166,81,.12);
    border-radius: 8px;
    padding: 1px 6px;
}

/* Score centre */
.mc-score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 90px;
}
.mc-score-box {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mc-score-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
    color: #fff;
}
.mc-score-dash {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: rgba(255,255,255,.3);
}

/* Result pill */
.mc-result-pill {
    font-family: var(--font-heading);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 20px;
}
.mc-win     .mc-result-pill { background: rgba(0,214,104,.15); color: #00d668; border: 1px solid rgba(0,214,104,.35); }
.mc-loss    .mc-result-pill { background: rgba(255,85,85,.15);  color: #ff5555; border: 1px solid rgba(255,85,85,.35); }
.mc-draw    .mc-result-pill { background: rgba(255,215,0,.12);  color: #FFD700; border: 1px solid rgba(255,215,0,.3); }
.mc-neutral .mc-result-pill { background: rgba(255,255,255,.07); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.12); }

/* Footer: venue */
.mc-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 10px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: .68rem;
    color: rgba(255,255,255,.35);
}
.mc-footer i { color: var(--primary); opacity: .7; }

/* ── Empty state ─────────────────────────── */
.last8-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,.3);
}
.last8-empty i { font-size: 3rem; margin-bottom: 14px; display: block; }
.last8-empty p { font-family: var(--font-heading); font-size: .9rem; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .last8-section  { padding: 60px 0; }
    .last8-cards    { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mc-score-num   { font-size: 1.9rem; }
    .mc-score-col   { min-width: 76px; }
    .mc-shield      { width: 36px; height: 36px; font-size: .78rem; }
    .l8s-form       { display: none; }
}
@media (max-width: 480px) {
    .last8-cards    { grid-template-columns: 1fr; }
    .last8-summary  { padding: 12px 16px; }
}
