/* ============================================================
   ဘစ်ကြီး — shared design system
   Dark, clean, modern sports-streaming UI
   ============================================================ */

:root {
    --bg: #0a0d13;
    --bg-glow: radial-gradient(1200px 600px at 50% -10%, rgba(25, 227, 155, .10), transparent 60%);
    --surface: #121826;
    --surface-2: #182130;
    --surface-3: #202c3e;
    --border: rgba(255, 255, 255, .08);
    --border-2: rgba(255, 255, 255, .14);
    --text: #e9eef6;
    --muted: #8b98ab;
    --muted-2: #5f6c80;
    --accent: #19e39b;
    --accent-2: #0bbd80;
    --accent-soft: rgba(25, 227, 155, .12);
    --accent-ink: #04140d;
    --live: #ff3b5c;
    --live-soft: rgba(255, 59, 92, .14);
    --upcoming: #46a8ff;
    --upcoming-soft: rgba(70, 168, 255, .14);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --shadow: 0 12px 34px rgba(0, 0, 0, .38);
    --shadow-accent: 0 10px 30px rgba(25, 227, 155, .18);
    --maxw: 1140px;
    --header-h: 62px;
    --font-display: 'Sora', 'Noto Sans Myanmar', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Noto Sans Myanmar', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
    background: var(--bg);
    background-image: var(--bg-glow);
    background-repeat: no-repeat;
    color: var(--text);
    font-family: var(--font-body);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
button, input { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6,
.brand, .page-title, .section-title, .state-title,
.card-score, .score, .lg-name, .channel-name, .ct-name,
.btn, .status-tab, .chip, .q-btn {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #263143; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #334156; }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 22px;
    background: rgba(10, 13, 19, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-left { display: flex; align-items: center; gap: 14px; min-width: 0; }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.02em;
    cursor: pointer;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    color: var(--accent-ink);
    box-shadow: var(--shadow-accent);
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.2, .8, .3, 1.4);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.08); }

.brand-name { color: var(--text); }

/* primary nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: color .18s ease, background .18s ease, transform .18s ease;
    white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); transform: translateY(-1px); }
.nav-link:active { transform: scale(.96); }
.nav-link.active { color: var(--accent); background: var(--accent-soft); }
.nav-link svg { transition: transform .25s ease; }
.nav-link:hover svg { transform: scale(1.12) rotate(-4deg); }

.header-right { display: flex; align-items: center; gap: 8px; }

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--live-soft);
    color: var(--live);
    border: 1px solid rgba(255, 59, 92, .28);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}
.live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 0 rgba(255, 59, 92, .7);
    animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .55); }
    70% { box-shadow: 0 0 0 7px rgba(255, 59, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); }
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-2);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn::after {
    content: '';
    position: absolute; top: 0; left: -130%;
    width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: skewX(-18deg);
    transition: left .55s ease;
    pointer-events: none;
}
.btn:hover { background: rgba(255, 255, 255, .1); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.btn svg { width: 16px; height: 16px; position: relative; }

.btn-icon:active svg { animation: spin .6s linear; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-ink);
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

.btn-icon { padding: 9px; border-radius: var(--radius-sm); }
.btn-icon svg { width: 17px; height: 17px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 20px 22px 44px; }

.page-head { margin: 6px 0 16px; }
.page-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; }
.page-sub { color: var(--muted); font-size: 13px; margin-top: 5px; }

.section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 4px 0 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* ---------- Toolbar (search + tabs) ---------- */
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }

.search-bar { position: relative; }
.search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 17px; height: 17px; color: var(--muted-2); pointer-events: none;
}
.search-input {
    width: 100%;
    padding: 13px 42px 13px 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: .2s;
}
.search-input::placeholder { color: var(--muted-2); }
.search-input:focus { border-color: rgba(25, 227, 155, .5); box-shadow: 0 0 0 4px rgba(25, 227, 155, .1); }
.search-clear {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--muted); font-size: 18px;
    cursor: pointer; display: none; padding: 4px; line-height: 1;
}
.search-clear.show { display: block; }
.search-clear svg { width: 16px; height: 16px; display: block; }
.search-clear:hover { color: var(--text); }

.status-tabs { display: flex; gap: 8px; }
.status-tab {
    flex: 1;
    padding: 11px 12px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    transition: .18s;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center; gap: 7px;
}
.status-tab:hover { border-color: var(--border-2); color: var(--text); transform: translateY(-1px); }
.status-tab:active { transform: translateY(0) scale(.97); }
.status-tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.status-tab .badge {
    background: rgba(0, 0, 0, .35);
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}
.status-tab.active-all { background: var(--surface-3); color: var(--text); border-color: var(--border-2); }
.status-tab.active-live { background: var(--live-soft); color: var(--live); border-color: rgba(255, 59, 92, .4); }
.status-tab.active-live .badge { background: rgba(255, 59, 92, .22); }
.status-tab.active-upcoming { background: var(--upcoming-soft); color: var(--upcoming); border-color: rgba(70, 168, 255, .4); }
.status-tab.active-upcoming .badge { background: rgba(70, 168, 255, .22); }

/* ---------- Chips / league tabs ---------- */
.chip-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s;
    white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }
.chip:active { transform: translateY(0) scale(.96); }
.chip.active { background: var(--accent-soft); color: var(--accent); border-color: rgba(25, 227, 155, .45); }
.chip img { width: 17px; height: 17px; border-radius: 4px; object-fit: cover; }
.chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.live-mini { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,59,92,.6); animation: pulse-dot 1.8s infinite; vertical-align: middle; margin-right: 5px; }
.chip .count {
    background: rgba(0, 0, 0, .35);
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}
.chip.active .count { background: rgba(25, 227, 155, .2); }

/* ---------- Match list ---------- */
.match-list { display: flex; flex-direction: column; gap: 22px; }

.league-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: .18s;
}
.league-group-header:hover { border-color: var(--border-2); background: var(--surface-2); }
.league-group-header img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; }
.lg-name { font-size: 13.5px; font-weight: 700; color: var(--text); flex: 0 1 auto; }
.lg-country { font-size: 11px; color: var(--muted-2); }
.lg-spacer { flex: 1; }
.lg-count { font-size: 11px; color: var(--muted); font-weight: 600; }
.lg-count.live { color: var(--live); }
.lg-toggle { color: var(--muted-2); font-size: 11px; transition: transform .25s ease; display: inline-flex; }
.lg-toggle svg { width: 15px; height: 15px; }
.lg-toggle.collapsed { transform: rotate(-90deg); }
.league-group-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.league-group-body.hidden { display: none; }

.match-card {
    position: relative;
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    overflow: hidden;
    animation: fade-up .45s ease backwards;
    animation-delay: var(--d, 0ms);
}
.match-card:active { transform: scale(.985); }
.match-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(140deg, var(--accent-soft), transparent 45%);
    opacity: 0; transition: .25s;
}
.match-card:hover { border-color: rgba(25, 227, 155, .4); transform: translateY(-3px); box-shadow: var(--shadow); }
.match-card:hover::before { opacity: 1; }

.card-teams { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-team { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.card-team.away { flex-direction: row-reverse; text-align: right; }
.card-team img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.card-team span { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-score {
    font-size: 15px;
    font-weight: 800;
    color: var(--accent);
    background: rgba(0, 0, 0, .3);
    border: 1px solid var(--border);
    padding: 4px 11px;
    border-radius: 9px;
    min-width: 54px;
    text-align: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.card-meta {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--muted-2);
}
.card-meta .lg-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Status pills ---------- */
.status {
    font-size: 10.5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.st-live { background: var(--live-soft); color: var(--live); }
.st-up { background: var(--upcoming-soft); color: var(--upcoming); }
.st-ft { background: rgba(255, 255, 255, .07); color: var(--muted); }

/* ---------- Channel grid (IPTV) ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.channel-card {
    position: relative;
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    gap: 11px;
    animation: fade-up .45s ease backwards;
    animation-delay: var(--d, 0ms);
    font-family: inherit;
    text-align: left;
    color: inherit;
}
.channel-card:hover { border-color: rgba(25, 227, 155, .4); transform: translateY(-3px); box-shadow: var(--shadow); }
.channel-card:active { transform: translateY(-1px) scale(.98); }
.channel-logo {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: #0c111b;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.channel-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.channel-logo .fallback { font-size: 30px; opacity: .6; display: flex; color: var(--muted); }
.channel-logo .fallback svg { width: 34px; height: 34px; }
.channel-name { font-size: 13px; font-weight: 700; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.channel-group {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 2px 9px;
    border-radius: 999px;
}
.channel-play {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(10, 13, 19, .7);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(6px);
    display: grid; place-items: center;
    opacity: 0; transform: scale(.85); transition: .2s;
}
.channel-card:hover .channel-play { opacity: 1; transform: scale(1); }
.channel-play svg { width: 15px; height: 15px; fill: var(--accent); margin-left: 2px; }

/* ---------- Player ---------- */
.player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.player-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(600px 300px at 50% 40%, #141c29, #05070b);
    color: var(--muted-2);
    z-index: 5;
    text-align: center;
}
.player-loading {
    position: absolute; inset: 0;
    display: none; align-items: center; justify-content: center;
    background: rgba(3, 5, 9, .82);
    z-index: 10;
    flex-direction: column; gap: 14px;
    color: var(--muted);
    font-size: 12.5px;
}
.player-loading.active { display: flex; }
.quality-btns { position: absolute; top: 12px; right: 12px; z-index: 20; display: flex; gap: 6px; }
.q-btn {
    background: rgba(0, 0, 0, .65);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: color .18s ease, background .18s ease, transform .18s ease, border-color .18s ease;
}
.q-btn:hover { color: #fff; transform: translateY(-1px); }
.q-btn:active { transform: scale(.95); }
.q-btn.active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.q-btn.active:hover { transform: translateY(-1px); }
.stream-status {
    position: absolute; bottom: 12px; left: 12px; z-index: 20;
    background: rgba(0, 0, 0, .72);
    border: 1px solid var(--border);
    padding: 5px 11px;
    border-radius: 8px;
    font-size: 11px;
    display: none;
    backdrop-filter: blur(6px);
}
.stream-status.ok { color: var(--accent); }
.stream-status.warn { color: var(--gold, #f5c451); }
.stream-status.err { color: var(--live); }
.stream-status::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 8px;
    vertical-align: middle;
    animation: pulse-soft 1.7s infinite;
}

.iframe-trap { position: fixed; top: -9999px; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* match info panel */
.match-info {
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 16px;
    display: none;
}
.match-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.league-info { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.league-info img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; }
.league-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teams-row { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 6px 0; }
.team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px; }
.team img { width: 52px; height: 52px; object-fit: contain; }
.team-name { font-size: 13px; font-weight: 700; text-align: center; }
.score { font-size: 30px; font-weight: 900; color: var(--accent); min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.venue { font-size: 11.5px; color: var(--muted-2); text-align: center; margin-top: 10px; }

/* ---------- Modal (generic) ---------- */
.overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
    padding: 18px;
    background: rgba(3, 5, 9, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.overlay.active { display: flex; animation: overlay-in .25s ease both; }
.modal {
    position: relative;
    background: linear-gradient(165deg, var(--surface), #0e1421);
    border: 1px solid var(--border-2);
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: modal-in .28s cubic-bezier(.2, .8, .3, 1);
    width: 100%;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 9px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: var(--muted); font-size: 16px; cursor: pointer;
    display: grid; place-items: center; transition: .18s; z-index: 5;
}
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, .12); }

/* ---- IPTV player modal ---- */
.iptv-modal { max-width: 900px; padding: 0; overflow: hidden; }
.iptv-modal .player-box { border-radius: 20px 20px 0 0; border: none; box-shadow: none; }
.iptv-modal-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--border); }
.iptv-modal-head .ct-logo { width: 34px; height: 34px; border-radius: 9px; background: #0c111b; border: 1px solid var(--border); object-fit: contain; padding: 4px; }
.iptv-modal-head .ct-name { font-size: 14px; font-weight: 700; }
.iptv-modal-head .ct-group { font-size: 11px; color: var(--accent); }

/* ---------- Error / empty states ---------- */
.state { text-align: center; padding: 46px 20px; animation: fade-up .45s both; }
.state-icon { font-size: 40px; margin-bottom: 14px; display: flex; justify-content: center; color: var(--muted-2); }
.state-icon svg { width: 44px; height: 44px; }
.state-title { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.state-msg { font-size: 12.5px; color: var(--muted); max-width: 420px; margin: 0 auto 18px; line-height: 1.6; }

.spinner { width: 26px; height: 26px; border: 2.5px solid rgba(255, 255, 255, .14); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.lg { width: 40px; height: 40px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px; color: var(--muted); font-size: 12.5px; }

/* ---------- Footer ---------- */
.footer {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 26px 22px 40px;
    border-top: 1px solid var(--border);
    color: var(--muted-2);
    font-size: 11.5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

/* ---------- Motion ---------- */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .header { padding: 0 14px; gap: 8px; }
    .brand-name { display: none; }
    .nav-link span { display: none; }
    .nav-link { padding: 9px 11px; }
    .container { padding: 16px 14px 40px; }
    .league-group-body { grid-template-columns: 1fr; }
    .channel-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .status-tab { padding: 10px 8px; font-size: 11.5px; }
    .status-tab .lbl { display: none; }
    .page-title { font-size: 19px; }
    .score { font-size: 26px; }
    .iptv-modal { max-width: 100%; }
}
@media (max-width: 420px) {
    .live-badge .lbl { display: none; }
}
