/* ==========================================================================
   CrackStreams & MethStreams - Modern Sports Streaming Theme
   Color Palette: Deep Cyber Slate (#0a0e17) & Electric Emerald (#00e599)
   ========================================================================== */

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #101623;
    --bg-card: #141c2e;
    --bg-card-hover: #192338;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 153, 0.4);
    
    --accent-emerald: #00e599;
    --accent-emerald-hover: #00c883;
    --accent-emerald-glow: rgba(0, 229, 153, 0.2);
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-discord: #5865F2;
    --accent-discord-hover: #4752c4;
    --accent-red: #ef4444;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px -5px rgba(0, 229, 153, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: rgba(16, 22, 35, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.brand__logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-emerald-glow);
}

.brand__logo-icon svg {
    width: 22px;
    height: 22px;
    color: #051610;
}

.brand__text {
    color: #ffffff;
}

.brand__mark {
    background: linear-gradient(135deg, var(--accent-emerald), #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand__tag {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(0, 229, 153, 0.12);
    color: var(--accent-emerald);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 229, 153, 0.25);
    margin-left: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-sport-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #94a3b8;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    padding: 6px 2px;
}

.nav-sport-link:hover, .nav-sport-link.active {
    color: #ffffff;
}

.live-coverage-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: var(--radius-full);
    color: #ef4444;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.live-coverage-pill:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.6);
}

.live-coverage-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 10px #dc2626;
    animation: livePulse 1.2s infinite;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-discord);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-discord:hover {
    background: var(--accent-discord-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-mobile-toggle {
    display: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    margin-top: 30px;
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(20, 28, 46, 0.95), rgba(16, 22, 35, 0.85));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 229, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(0, 229, 153, 0.1);
    border: 1px solid rgba(0, 229, 153, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-emerald);
    margin-bottom: 16px;
}

.hero__badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-emerald), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 780px;
    margin-bottom: 24px;
}

/* Search bar */
.search-wrapper {
    position: relative;
    max-width: 560px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 46px;
    background: rgba(10, 14, 23, 0.75);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 3px rgba(0, 229, 153, 0.15);
    background: rgba(10, 14, 23, 0.95);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

/* ==========================================================================
   Bookmark Strip & Promo Banner
   ========================================================================== */
.save-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 28, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    margin-top: 18px;
    gap: 15px;
    flex-wrap: wrap;
}

.save-strip__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.save-strip__icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 229, 153, 0.15);
    color: var(--accent-emerald);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.save-strip__text {
    font-size: 14px;
    color: var(--text-secondary);
}

.save-strip__text b {
    color: #ffffff;
}

.save-strip__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.save-strip__btn:hover {
    background: rgba(0, 229, 153, 0.15);
    border-color: rgba(0, 229, 153, 0.4);
    color: var(--accent-emerald);
}

/* Discord Promo Banner */
.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(20, 28, 46, 0.7));
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-top: 14px;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-banner__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-banner__icon {
    width: 28px;
    height: 28px;
    color: #7289da;
    flex-shrink: 0;
}

.promo-banner__text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.promo-banner__text span {
    color: var(--text-secondary);
    font-weight: 400;
}

.promo-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent-discord);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.promo-banner__btn:hover {
    background: var(--accent-discord-hover);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

/* ==========================================================================
   HOMEPAGE SPORT CATEGORY CARDS (Exact StreamKing Grid)
   ========================================================================== */
.sports-section {
    margin-top: 36px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

/* The Exact Sport Card (1:1 Match with StreamKing Screenshot) */
.sport-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    user-select: none;
}

.sport-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.12);
}

.sport-card__icon-box {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: #eef2f6;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
    transition: var(--transition);
}

.sport-card:hover .sport-card__icon-box {
    background: #e2e8f0;
}

.sport-card__icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sport-card__info {
    flex: 1;
    min-width: 0;
}

.sport-card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    gap: 8px;
}

.sport-card__title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.sport-card__count-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.sport-card__count-pill.has-live {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.sport-card__subtitle {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #dc2626; /* Exact StreamKing Red */
    margin-bottom: 6px;
    line-height: 1.35;
}

.sport-card__desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sport-card__arrow {
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.sport-card:hover .sport-card__arrow {
    color: #dc2626;
    transform: translateX(4px);
}

/* ==========================================================================
   INSIDE CATEGORY VIEW (Opened When A Card Is Clicked)
   ========================================================================== */
.category-view {
    display: none;
    animation: fadeIn 0.3s ease;
    margin-top: 24px;
}

.category-view.active {
    display: block;
}

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

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-back:hover {
    background: rgba(0, 229, 153, 0.15);
    border-color: rgba(0, 229, 153, 0.4);
    color: var(--accent-emerald);
    transform: translateX(-3px);
}

/* Category Head (Exact StreamKing cat-head) */
.cat-head {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.cat-head__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cat-head h1 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.cat-head p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Match List (Exact StreamKing Horizontal Match Row Design)
   ========================================================================== */
.match-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}

.match-row-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.match-row-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -4px rgba(0, 0, 0, 0.1);
}

.match-row-card__left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.match-row-card__icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eef2f6;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.match-row-card__icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.match-row-card__body {
    flex: 1;
    min-width: 0;
}

.match-row-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-row-card__date {
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 8px;
}

.match-row-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.match-row-card__cat {
    font-size: 12px;
    font-weight: 800;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.match-row-card__countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
}

.match-row-card__countdown-badge svg {
    width: 12px;
    height: 12px;
    color: #64748b;
}

.match-row-card__countdown-badge.is-live {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    animation: livePulse 1.5s infinite;
}

.match-row-card__countdown-badge.is-live svg {
    color: #dc2626;
}

.match-row-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d81f26, #b91c1c);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(216, 31, 38, 0.35);
    flex-shrink: 0;
}

.match-row-card__btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.match-row-card__btn:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(216, 31, 38, 0.5);
    color: #ffffff;
}

@media (max-width: 768px) {
    .match-row-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 16px;
    }

    .match-row-card__left {
        width: 100%;
    }

    .match-row-card__title {
        white-space: normal;
    }

    .match-row-card__btn {
        width: 100%;
        justify-content: center;
    }
}

/* Match Card */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.game-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.game-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}

.game-card__sport {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.game-card__sport-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.status-badge {
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.live {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    animation: livePulse 1.5s infinite;
}

.status-badge.upcoming {
    background: rgba(0, 229, 153, 0.12);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 229, 153, 0.25);
}

.status-badge.ended {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
}

.game-card__teams {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.team-badge {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    flex-shrink: 0;
}

.team-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -4px 0;
}

.match-vs span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 1px 8px;
    border-radius: var(--radius-full);
}

.game-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
}

.match-time {
    display: flex;
    flex-direction: column;
}

.match-time__val {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.match-time__countdown {
    font-size: 11px;
    color: var(--accent-emerald);
    font-weight: 500;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-emerald), #059669);
    color: #051610;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 229, 153, 0.25);
}

.btn-watch svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-watch:hover {
    background: linear-gradient(135deg, #22e6a3, var(--accent-emerald));
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(0, 229, 153, 0.45);
    color: #000000;
}

.empty-matches-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

/* ==========================================================================
   SEO Article & Content Section
   ========================================================================== */
.seo-section {
    margin-top: 60px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.seo-content {
    max-height: none;
    overflow: visible;
    position: relative;
}

.seo-toggle-wrapper {
    display: none;
}

.seo-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 28px;
    margin-bottom: 12px;
}

.seo-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-emerald);
    margin-top: 20px;
    margin-bottom: 8px;
}

.seo-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.75;
}

.seo-content ul, .seo-content ol {
    margin-left: 20px;
    margin-bottom: 18px;
    color: var(--text-secondary);
}

.seo-content li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* SEO Content Tables */
.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    display: block;
    font-size: 14px;
}

.seo-content th {
    background: rgba(0, 229, 153, 0.12);
    color: var(--accent-emerald);
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.seo-content td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.seo-content tr:last-child td {
    border-bottom: none;
}

.seo-content tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.seo-toggle-wrapper {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 229, 153, 0.12);
    border: 1px solid rgba(0, 229, 153, 0.3);
    color: var(--accent-emerald);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-show-more:hover {
    background: var(--accent-emerald);
    color: #051610;
    transform: translateY(-1px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    margin-top: 40px;
}

.faq-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    gap: 15px;
}

.faq-question svg {
    width: 18px;
    height: 18px;
    color: var(--accent-emerald);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 22px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 250px;
    padding-bottom: 18px;
}

/* ==========================================================================
   Footer & Share Bar
   ========================================================================== */
.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    padding: 50px 0 30px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

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

.footer-disclaimer {
    max-width: 780px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* Floating Share Bar */
.share-bar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 22, 35, 0.95);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.share-btn:hover {
    color: #ffffff;
    background: rgba(0, 229, 153, 0.2);
    transform: scale(1.08);
}

.share-btn--copy:hover {
    color: var(--accent-emerald);
}

/* Mobile Drawer Overlay */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.drawer.active {
    transform: translateX(0);
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.drawer__close {
    padding: 8px;
    color: var(--text-secondary);
}

.drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer__link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.drawer__link:hover, .drawer__link.active {
    background: rgba(0, 229, 153, 0.1);
    color: var(--accent-emerald);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent-emerald);
    color: #051610;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 25px rgba(0, 229, 153, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    
    .btn-mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .sports-grid, .matches-grid {
        grid-template-columns: 1fr;
    }

    .cat-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        height: 64px;
    }
    
    .hero {
        padding: 24px 20px;
    }
    
    .btn-discord span {
        display: none;
    }
    
    .btn-discord {
        padding: 8px 10px;
    }
    
    .save-strip, .promo-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .save-strip__btn, .promo-banner__btn {
        width: 100%;
        justify-content: center;
    }
    
    .share-bar {
        bottom: 16px;
        right: 16px;
    }
}

/* ==========================================================================
   Player View (Exact Match with User's Uploaded Screenshot)
   ========================================================================== */
body.in-player-mode .site-header,
body.in-player-mode .share-bar,
body.in-player-mode #share-bar {
    display: none !important;
}

.player-view {
    display: none;
    margin-top: 24px;
    animation: fadeIn 0.3s ease;
}

.player-view.active {
    display: block;
}

.player-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.player-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.player-head__icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.player-head__icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.player-match-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 6px;
}

.player-match-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}

.badge-sport-red {
    color: #dc2626;
    font-weight: 800;
    text-transform: uppercase;
}

.meta-separator {
    color: #64748b;
}

.badge-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 9999px;
    padding: 3px 12px;
    font-weight: 700;
    font-size: 12px;
}

.player-countdown {
    color: #0f172a;
    font-weight: 800;
}

.player-countdown.is-live {
    color: #dc2626;
    animation: livePulse 1.2s infinite;
}

/* Action Buttons */
.player-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.btn-player-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    padding: 9px 18px;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-player-action:hover {
    background: #334155;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-player-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: #ffffff;
    border-radius: 8px;
    padding: 9px 20px;
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-player-discord:hover {
    background: #4752c4;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transform: translateY(-1px);
}

/* 16:9 Video Container */
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
}

.player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Sources Bar Under Player */
.player-sources-bar {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.sources-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.sources-hint {
    font-size: 12px;
    color: #94a3b8;
}

.sources-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-source:hover {
    background: #334155;
    border-color: rgba(0, 229, 153, 0.4);
}

.btn-source.active {
    background: var(--accent-emerald);
    color: #051610;
    border-color: var(--accent-emerald);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 229, 153, 0.35);
}

/* ==========================================================================
   Category Controls, Search, Filter Pills & 3-Column Ads Grid
   ========================================================================== */
.cat-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0 18px;
    flex-wrap: wrap;
}

.cat-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
}

.cat-search-box input {
    width: 100%;
    background: #0b1329;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 10px 18px 10px 42px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
}

.cat-search-box input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.cat-search-box svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.cat-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filter-pill {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter-pill:hover {
    color: #ffffff;
    background: #334155;
}

.btn-filter-pill.active {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.45);
}

.cat-heading-bar {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 22px;
    border-bottom: 2px solid #dc2626;
}

.cat-heading-bar h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* Category 3-Column Stream Layout */
.category-stream-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.ad-sidebar-left {
    width: 160px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 90px;
}

.category-center-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ad-sidebar-right {
    width: 160px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 90px;
}

.ad-desktop-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    width: 100%;
    overflow: hidden;
}

.ad-mobile-top {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.ad-mobile-bottom {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    overflow: hidden;
}

.ad-slot-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
}

.ad-slot-box iframe {
    max-width: 100%;
}

@media (max-width: 991px) {
    .ad-sidebar-left,
    .ad-sidebar-right,
    .ad-desktop-bottom {
        display: none !important;
    }
    .ad-mobile-top,
    .ad-mobile-bottom {
        display: flex !important;
    }
    .category-stream-layout {
        display: block;
    }
}

/* ==========================================================================
   Player View Ads & Server Box Styling (Exact Match with Screenshot)
   ========================================================================== */
.player-top-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px auto 20px;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
}

.player-top-ad .ad-slot-box {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.player-servers-box {
    background: #090e1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 20px;
}

.servers-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.servers-label {
    font-size: 13.5px;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.servers-pills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.btn-server-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    padding: 7px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.btn-server-pill span:not(.dot-green) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-server-pill:hover {
    background: #334155;
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-server-pill.active {
    background: linear-gradient(135deg, #d81f26, #b91c1c);
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    display: inline-block;
    flex-shrink: 0;
}

.player-servers-bottom-ad {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 90px;
}

.player-servers-bottom-ad div,
.player-servers-bottom-ad iframe {
    max-width: 100% !important;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 900px) {
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .btn-mobile-toggle {
        order: 1 !important;
        display: flex !important;
    }
    .brand {
        order: 2 !important;
        margin: 0 auto !important;
    }
    .header-actions {
        order: 3 !important;
        display: flex !important;
        align-items: center;
    }
    .player-card {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .player-match-title {
        font-size: 20px;
    }
    .player-actions {
        gap: 8px;
    }
    .btn-player-action,
    .btn-player-discord {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 12.5px;
        padding: 8px 12px;
    }
    .cat-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .cat-search-box {
        max-width: 100%;
    }
    .cat-filter-pills {
        justify-content: center;
        width: 100%;
    }
}

.player-head__info {
    flex: 1;
    min-width: 0;
}

.player-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.btn-player-discord-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #5865F2;
    color: #ffffff;
    border-radius: 6px;
    padding: 5px 12px;
    font-weight: 700;
    font-size: 12px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
}

.btn-player-discord-small:hover {
    background: #4752c4;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Homepage Responsive Ad (Mobile: Between Card 1 & 2; PC: End of Cards)
   ========================================================================== */
.home-responsive-ad {
    width: 100%;
    margin: 18px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    grid-column: 1 / -1;
}

.home-responsive-ad .ad-slot-box {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-responsive-ad div,
.home-responsive-ad iframe {
    max-width: 100% !important;
}

/* ==========================================================================
   Player Stage Layout: Video Player + Desktop Side Ad (300x250)
   ========================================================================== */
.player-stage-row {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.player-stage-row .player-container {
    flex: 1 1 0%;
    min-width: 0;
}

.player-side-ad-desktop {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-top-ad.player-ad-mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .player-stage-row {
        display: block;
    }
    .player-side-ad-desktop {
        display: none !important;
    }
    .player-top-ad.player-ad-mobile-only {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 16px 0;
    }
}

/* ==========================================================================
   Mobile Symmetric Margins & Viewport Overflow Fixes
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 900px) {
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .sports-section {
        width: 100% !important;
        margin-top: 24px;
    }

    .sports-grid {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .sport-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .hero {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 24px 18px !important;
    }
}

