/* ═══════════════════════════════════════════════════════════════
   Koora Live / كورة لايف — Premium Sports Streaming Platform
   Production-Ready CSS — Dark-First Theme with Light Override
   ═══════════════════════════════════════════════════════════════ */

/* Google Fonts: Inter (Latin) + Tajawal (Arabic) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ─── Core Theme Variables ─────────────────────────────────── */
:root {
    /* Typography */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Motion */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Elevation */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
    --glow-primary: 0 0 20px rgba(16, 185, 129, 0.35);
    --glow-secondary: 0 0 20px rgba(139, 92, 246, 0.35);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* ── Dark Theme (Default) ── */
    --bg-gradient-start: #06090f;
    --bg-gradient-mid: #0b1120;
    --bg-gradient-end: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.55);
    --bg-card-solid: #111827;
    --bg-input: rgba(255, 255, 255, 0.04);
    --bg-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(16, 185, 129, 0.35);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Brand Colors */
    --primary: #10b981;
    --primary-rgb: 16, 185, 129;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #8b5cf6;
    --secondary-rgb: 139, 92, 246;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-gradient-hover: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --active-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --header-gradient: linear-gradient(90deg, #10b981, #8b5cf6, #10b981);

    /* Legacy aliases (keeps JS compatibility) */
    --accent-color: #10b981;
    --accent-color-rgb: 16, 185, 129;
}

/* ── Light Theme Override ── */
[data-theme="light"] {
    --bg-gradient-start: #f8fafc;
    --bg-gradient-mid: #f1f5f9;
    --bg-gradient-end: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-solid: #ffffff;
    --bg-input: rgba(15, 23, 42, 0.04);
    --bg-hover: rgba(15, 23, 42, 0.06);
    --border-color: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(16, 185, 129, 0.3);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-gradient-hover: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --active-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);

    --accent-color: #10b981;
    --accent-color-rgb: 16, 185, 129;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
    --glow-primary: 0 0 20px rgba(16, 185, 129, 0.2);
    --glow-secondary: 0 0 20px rgba(139, 92, 246, 0.15);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-en);
    background: linear-gradient(160deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 40%, var(--bg-gradient-end) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background var(--transition-normal), color var(--transition-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body {
    font-family: var(--font-ar);
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ─── Container ───────────────────────────────────────────── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.header {
    background: rgba(6, 9, 15, 0.65);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 2px solid transparent;
    border-image: var(--header-gradient) 1;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--transition-normal), border var(--transition-normal);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.75);
    border-image: var(--header-gradient) 1;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 16px;
}

/* ─── Logo ─────────────────────────────────────────────── */
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: transform var(--transition-fast), color var(--transition-fast);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.03);
}

/* ─── Match Info (Header) ─────────────────────────────── */
.match-info {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.match-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.3px;
}

.match-league {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── Header Actions ──────────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL SHARE
   ═══════════════════════════════════════════════════════════ */
.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-primary);
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
    box-shadow: 0 4px 16px rgba(29, 161, 242, 0.4);
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
}

.share-btn.discord:hover {
    background: #5865f2;
    color: #fff;
    border-color: #5865f2;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.share-btn.copy:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE & ACTION BUTTONS
   ═══════════════════════════════════════════════════════════ */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all var(--transition-fast);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.theme-toggle:hover {
    border-color: var(--primary);
    transform: rotate(20deg) scale(1.05);
    box-shadow: var(--glow-primary);
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGE SELECTOR
   ═══════════════════════════════════════════════════════════ */
.language-selector {
    position: relative;
}

.lang-button {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
}

.lang-button:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--glow-primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 160px;
    display: none;
    z-index: 1000;
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: var(--shadow-lg);
    max-height: 320px;
    overflow-y: auto;
}

[data-theme="light"] .lang-dropdown {
    background: rgba(255, 255, 255, 0.95);
}

.lang-dropdown.active {
    display: block;
    animation: slideDown var(--transition-fast);
}

.lang-option {
    padding: 10px 14px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-light);
}

.lang-option.active {
    background: rgba(16, 185, 129, 0.2);
    font-weight: 700;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   HOME RETURN BUTTON
   ═══════════════════════════════════════════════════════════ */
.home-button-wrapper {
    margin-bottom: 20px;
    text-align: right;
}

html[dir="rtl"] .home-button-wrapper {
    text-align: left;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-secondary);
    filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════
   MAIN LAYOUT GRID (Player + Chat)
   ═══════════════════════════════════════════════════════════ */
.player-chat-wrapper {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.player-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════
   LIVE PLAYER
   ═══════════════════════════════════════════════════════════ */
.player-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: border var(--transition-normal), box-shadow var(--transition-normal);
    backdrop-filter: blur(12px);
}

.player-wrapper:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 0 30px rgba(var(--primary-rgb), 0.08);
}

.server-buttons {
    padding: 16px 20px;
    background: rgba(10, 14, 26, 0.6);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn-server {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0.35) 100%);
    color: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
    backdrop-filter: blur(8px);
}

.btn-server:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6) 0%, rgba(139, 92, 246, 0.6) 100%);
    border-color: #8b5cf6;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
    color: #ffffff;
}

.btn-server.active {
    background: linear-gradient(135deg, #ff4b8b 0%, #ff758c 100%) !important;
    color: #ffffff !important;
    border-color: #ff4b8b !important;
    box-shadow: 0 0 25px rgba(255, 75, 139, 0.7), 0 4px 15px rgba(255, 117, 140, 0.5) !important;
    transform: scale(1.04);
}

html[dir="rtl"] .player-chat-wrapper {
    flex-direction: row-reverse;
}

.player-container {
    position: relative;
    width: 100%;
    height: 520px;
    background: #000;
}

.player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════════════════════
   CHAT SECTION
   ═══════════════════════════════════════════════════════════ */
.chat-section {
    width: 360px;
    flex-shrink: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 589px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.chat-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
}

.chat-status {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

.chat-container {
    flex: 1;
    background: #060810;
    overflow: hidden;
}

.chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════════════════════
   CARDS — Glassmorphism
   ═══════════════════════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 0 40px rgba(var(--primary-rgb), 0.06);
    transform: translateY(-2px);
}

.card-header {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── Info Grid ───────────────────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.info-item {
    background: var(--bg-input);
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: border-color var(--transition-fast);
}

.info-item:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
}

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.8px;
}

.info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.alert-info {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--text-primary);
}

.alert-icon {
    font-size: 22px;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.modal-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-input:focus,
.modal-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15), var(--glow-primary);
    background: rgba(var(--primary-rgb), 0.03);
}

.form-hint,
.input-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    letter-spacing: 0.2px;
}

/* Watch Live — Green gradient CTA */
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), var(--shadow-md);
    filter: brightness(1.1);
}

/* Copy Link — Ghost / Outline style */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── CTA Buttons Section ────────────────────────────── */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Featured Neon CTA */
.btn-featured {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-slow);
    background: linear-gradient(135deg, var(--secondary) 0%, #d946ef 100%);
    color: white;
    box-shadow: var(--shadow-lg), 0 0 25px rgba(139, 92, 246, 0.25);
    position: relative;
    overflow: visible;
    font-family: inherit;
}

.btn-featured::after {
    content: '⭐ MOST POPULAR';
    position: absolute;
    top: -12px;
    right: -10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 12px rgba(217, 119, 6, 0.45);
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
}

html[dir="rtl"] .btn-featured::after {
    content: '⭐ الأكثر شعبية';
    right: auto;
    left: -10px;
}

.btn-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4s ease-in-out infinite;
    border-radius: inherit;
}

.btn-featured:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 35px rgba(139, 92, 246, 0.5);
    border-color: rgba(255, 255, 255, 0.35);
}

/* beIN Sports Promo Banner Hover States */
.banner-beinsports:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.6) !important;
    box-shadow: var(--shadow-lg), 0 0 24px rgba(139, 92, 246, 0.15) !important;
}
.banner-beinsports:hover .banner-btn {
    transform: scale(1.05);
    filter: brightness(1.1);
}
.banner-beinsports:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   MATCH FEED LIST (Generator Page)
   ═══════════════════════════════════════════════════════════ */
.matches-container {
    display: none;
}

.matches-container.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

/* ─── Match Item Card ────────────────────────────────── */
.match-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.match-item:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px) scale(1.005);
    box-shadow: var(--shadow-md), 0 0 30px rgba(var(--primary-rgb), 0.08);
}

.match-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.match-teams {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.match-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.match-item-league {
    font-weight: 600;
}

.match-item-time {
    padding: 3px 10px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-weight: 600;
    font-size: 12px;
}

.match-url-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.match-url {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    word-break: break-all;
}

/* ═══════════════════════════════════════════════════════════
   SPINNERS & LOADING
   ═══════════════════════════════════════════════════════════ */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    color: var(--text-secondary);
    gap: 12px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.error-message {
    color: #f87171;
    text-align: center;
    padding: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: #0f1729;
    margin: 6% auto;
    padding: 32px;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(var(--primary-rgb), 0.08);
    border: 1px solid var(--border-color);
    animation: slideDown var(--transition-normal);
}

[data-theme="light"] .modal-content {
    background: #ffffff;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

html[dir="rtl"] .close-modal {
    right: auto;
    left: 20px;
}

.close-modal:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.modal-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-footer {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ─── Result Box (Modal) ─────────────────────────────── */
.result-box {
    background: rgba(var(--primary-rgb), 0.05);
    padding: 18px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    display: none;
}

.result-box.show {
    display: block;
    animation: fadeIn var(--transition-fast);
}

.result-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 13px;
    color: var(--text-primary);
    word-break: break-all;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    line-height: 1.5;
}

.btn-copy-action {
    width: 100%;
    padding: 12px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn-copy-action:hover {
    transform: translateY(-1px);
    box-shadow: var(--glow-primary);
}

.btn-copy-action.copied {
    background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    text-align: center;
    padding: 32px 20px;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-color);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 600;
}

.footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   RTL LAYOUT OVERRIDES
   ═══════════════════════════════════════════════════════════ */
html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .modal-footer {
    justify-content: flex-start;
}

/* ═══════════════════════════════════════════════════════════
   INTERACTIVE DATE TABS — Pill-shaped
   ═══════════════════════════════════════════════════════════ */
.date-tabs-wrapper {
    margin-bottom: 24px;
    position: relative;
}

.date-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -ms-overflow-style: none;
}

.date-tabs::-webkit-scrollbar {
    height: 3px;
}

.date-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.date-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.date-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
}

.date-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    background: rgba(var(--primary-rgb), 0.06);
}

.date-tab.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--glow-primary);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   LEAGUE HEADERS — Gradient Left Border Accent
   ═══════════════════════════════════════════════════════════ */
.league-section {
    margin-bottom: 28px;
}

.league-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(8px);
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary), var(--secondary)) 1;
    border-image-slice: 1;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .league-header {
    background: rgba(0, 0, 0, 0.02);
}

.league-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 4px;
}

.league-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════════════════════
   MATCH CARDS — Clean Scoreboard Layout
   ═══════════════════════════════════════════════════════════ */
.match-card-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 12px;
}

.match-team.home {
    justify-content: flex-end;
    text-align: right;
}

.match-team.away {
    justify-content: flex-start;
    text-align: left;
}

/* Team Logos — 40px circular with subtle bg */
.match-team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.match-team-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.2);
}

.match-team-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ─── Match Center (Score + Time + Badge) ─────────── */
.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 110px;
}

.match-score {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    text-align: center;
}

.match-time-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ─── Status Badges ──────────────────────────────────── */
.match-badge {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Live badge — pulsing green dot */
.match-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

/* Upcoming badge — blue/grey */
.match-badge.upcoming {
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-secondary);
}

.match-badge.upcoming::before {
    background: var(--text-muted);
    animation: none;
}

/* Ended badge style (applied via inline style from JS) overrides */

/* ═══════════════════════════════════════════════════════════
   MATCH ACTIONS ROW — Clean Bottom Bar
   ═══════════════════════════════════════════════════════════ */
.match-actions-row {
    border-top: 1px solid var(--border-color);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.01);
}

.match-channels-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}

.match-channels-badge .pulse-green {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 6px var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   TEAM FLAG (Country Flags)
   ═══════════════════════════════════════════════════════════ */
.team-flag {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-logo-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

[data-theme="light"] .team-logo-wrapper {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .team-flag {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   PLAYER SCOREBOARD CARD (Above Player)
   ═══════════════════════════════════════════════════════════ */
.player-scoreboard {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ═══════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.5);
    }
    70% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0);
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(var(--primary-rgb), 0.15);
    }
    50% {
        border-color: rgba(var(--primary-rgb), 0.4);
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .player-chat-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .chat-section {
        width: 100%;
        height: 450px;
        order: 2;
    }

    .player-section {
        order: 1;
    }

    .container {
        padding: 20px 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .container {
        padding: 12px 10px;
    }

    .header-content {
        padding: 10px 12px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .match-info {
        order: -1;
        width: 100%;
    }

    .logo {
        font-size: 20px;
    }

    .player-container {
        height: 380px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .card {
        padding: 18px 16px;
        border-radius: var(--radius-md);
    }

    .match-card-grid {
        padding: 14px 16px;
        gap: 12px;
    }

    .match-team-name {
        font-size: 13px;
    }

    .match-team-logo {
        width: 34px;
        height: 34px;
    }

    .match-actions-row {
        padding: 10px 16px;
    }

    .social-share {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .player-container {
        height: 240px;
    }

    .btn-server {
        padding: 6px 14px;
        font-size: 11px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn,
    .btn-featured {
        width: 100%;
        justify-content: center;
    }

    .btn-featured::after {
        top: -8px;
        right: 10px;
        font-size: 8px;
    }

    html[dir="rtl"] .btn-featured::after {
        left: 10px;
    }

    .match-score {
        font-size: 14px;
        padding: 4px 14px;
    }

    .date-tab {
        padding: 8px 16px;
        font-size: 12px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .header-actions {
        gap: 8px;
    }

    .theme-toggle,
    .share-btn {
        width: 36px;
        height: 36px;
    }

    .match-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Match Card Mobile Stack (640px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .match-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
        padding: 16px;
    }

    .match-team.home {
        justify-content: center;
        text-align: center;
        flex-direction: column-reverse;
    }

    .match-team.away {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .match-center {
        order: -1;
    }

    .match-team-logo {
        width: 44px;
        height: 44px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR GLOBAL STYLES
   ═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.5);
}

/* ═══════════════════════════════════════════════════════════
   SELECTION HIGHLIGHT
   ═══════════════════════════════════════════════════════════ */
::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════
   FOCUS VISIBLE (Accessibility)
   ═══════════════════════════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* ═══════════════════════════════════════════════════════════
   SITE NAVIGATION MENU STYLES
   ═══════════════════════════════════════════════════════════ */
.site-nav {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}
.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}
.nav-link.special {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}
.nav-link.special:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}
@media (max-width: 640px) {
    .site-nav-container {
        justify-content: center;
    }
    .nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   ELBOTOLA INSPIRED TOP BAR & LIVESCORE TICKER
   ═══════════════════════════════════════════════════════════ */
.elbotola-topbar {
    background: #090e17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    font-size: 13px;
}

.elbotola-topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.country-flags-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.country-flags-list::-webkit-scrollbar { display: none; }

.country-flag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.country-flag-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.country-flag-item img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.live-badge-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
}
.live-badge-counter .dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

/* Elbotola Livescore Ticker Strip */
.elbotola-livescore-strip {
    background: #0d1520;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
    overflow: hidden;
}

.livescore-scroll-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #10b981 transparent;
    padding: 4px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.livescore-card-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 6px 14px;
    text-decoration: none;
    color: #f1f5f9;
    transition: all 0.2s ease;
}
.livescore-card-item:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.06);
    transform: translateY(-1px);
}

.livescore-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
}
.livescore-team img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.livescore-score-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-weight: 800;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    min-width: 42px;
    text-align: center;
}

/* Elbotola 2-Column Grid Layout */
.elbotola-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .elbotola-main-grid {
        grid-template-columns: 1fr;
    }
}

/* Elbotola Chrono Widget */
.chrono-widget {
    background: #101724;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chrono-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chrono-header .chrono-tag {
    font-size: 11px;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
}

.chrono-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 520px;
    overflow-y: auto;
}

.chrono-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.chrono-item:hover {
    background: rgba(16, 185, 129, 0.06);
}

.chrono-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #f1f5f9;
}

.chrono-time {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #34d399;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.chrono-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #e2e8f0;
}
.chrono-item:hover .chrono-title {
    color: #34d399;
}

/* ═══════════════════════════════════════════════════════════
   ADVANCED UI / UX DESIGN SYSTEM ELEVATION
   ═══════════════════════════════════════════════════════════ */

/* Glowing Stadium Hero Banner Stage */
.hero-stage-banner {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.22) 0%, rgba(15, 23, 42, 0.95) 75%), #0a0f19;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(20px);
}

.hero-stage-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 868px) {
    .hero-stage-content {
        flex-direction: column;
        text-align: center;
    }
}

.hero-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #f43f5e;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-stage-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.hero-stage-sub {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-stage-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.hero-cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Dual Player Spotlight Visuals */
.hero-players-duo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.player-spotlight-card {
    width: 100px;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.player-spotlight-card:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: #10b981;
}

.player-spotlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-spotlight-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    padding: 10px 4px 4px;
}

/* Pulsating Radar Live Dot Animation */
.radar-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: radar-pulse 1.6s infinite;
}

@keyframes radar-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ═══════════════════════════════════════════════════════════
   YALLA SHOOT / HI KORA LIVE DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */
:root {
    --sl-body-bg: #eceef2;
    --sl-primary: #ffdb5b;
    --sl-header-bg: #ffdb5b;
    --sl-header-text: #111827;
    --sl-logo-bg: #ffdb5b;
    --sl-logo-color: #ffffff;
    --sl-footer-bg: #ffffff;
    --sl-footer-widgets-bg: #fcfcfc;
    --sl-footer-widgets-color: #6b7280;
    --sl-footer-text: #111827;
    --sl-block-head-bg: #eceef2;
    --sl-surface: #ffffff;
    --sl-block-title-bg: #ffd337;
    --sl-block-title-color: #000000;
    --sl-card-title-color: #111827;
    --sl-btn-yesterday-bg: #104783;
    --sl-btn-today-bg: #ffdb5b;
    --sl-btn-tomorrow-bg: rgb(175, 81, 0);
    --sl-btn-yesterday-text: #ffffff;
    --sl-btn-today-text: #303030;
    --sl-btn-tomorrow-text: #ffffff;
    --sl-footer-border: #eceef2;
    --sl-copyright-bg: #ffffff;
    --sl-copyright-color: #111827;
}

.yalla-header {
    background: var(--sl-header-bg);
    color: var(--sl-header-text);
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.yalla-block-head {
    background: var(--sl-block-head-bg);
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.yalla-title-badge {
    background: var(--sl-block-title-bg);
    color: var(--sl-block-title-color);
    font-weight: 800;
    font-size: 16px;
    padding: 6px 16px;
    border-radius: 6px;
    display: inline-block;
}

.yalla-date-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-yalla-yesterday {
    background: var(--sl-btn-yesterday-bg);
    color: var(--sl-btn-yesterday-text);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-yalla-today {
    background: var(--sl-btn-today-bg);
    color: var(--sl-btn-today-text);
    font-weight: 800;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    transition: opacity 0.2s;
}

.btn-yalla-tomorrow {
    background: var(--sl-btn-tomorrow-bg);
    color: var(--sl-btn-tomorrow-text);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.yalla-card-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
[data-theme="dark"] .yalla-card-item {
    background: #1f2937;
    border-color: #374151;
}

.yalla-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.timezone-pill {
    background: var(--sl-block-head-bg);
    color: var(--sl-card-title-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px 6px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .timezone-pill {
    background: #374151;
    color: #f3f4f6;
}

/* ═══════════════════════════════════════════════════════════
   DAZN / APPLE TV SPORTS MINIMALIST DARK DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */
.dazn-hero-card {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.98) 60%, rgba(6, 9, 15, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.12);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.dazn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.dazn-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.dazn-hero-sub {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 680px;
}

.dazn-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #10b981;
    color: #06090f;
    font-weight: 800;
    font-size: 15px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.45);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dazn-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 35px rgba(16, 185, 129, 0.6);
    background: #34d399;
}

.dazn-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.dazn-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
