/*
Theme Name: Mutstreams
Theme URI: https://example.com
Author: Mutstreams
Description: Smart dark sports streaming theme — live scores, schedules and news for Football, Basketball, NFL, Hockey, Baseball, Rugby, AFL, Fight, Motor Sports, Golf, Tennis, Darts, Billiards and Cricket.
Version: 2.0
Requires at least: 4.9
Requires PHP: 5.6
Text Domain: mutstreams
*/

:root {
    --bg-color: #0a0e17;
    --bg-elevated: #0f1626;
    --card-bg: #151f32;
    --card-border: #24334d;
    --accent-color: #2563eb;
    --accent-2: #06b6d4;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --live-color: #ef4444;
    --green-color: #10b981;
    --max-width: 1100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top, rgba(37,99,235,.12), transparent 45%);
    color: var(--text-color);
    line-height: 1.5;
}
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

a { color: inherit; }

/* TOP BAR */
.site-topbar {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--card-border);
    padding: 14px 0;
}
.site-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.site-logo {
    font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em;
    text-decoration: none; color: var(--text-color);
}
.site-logo span {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-live-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(239,68,68,.12); color: var(--live-color);
    border: 1px solid rgba(239,68,68,.3);
    font-size: .75rem; font-weight: 700; letter-spacing: .03em;
    padding: 6px 12px; border-radius: 999px;
}
.site-live-pill .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--live-color);
    animation: mut-blink 1.4s infinite;
}
@keyframes mut-blink { 50% { opacity: .35; } }

/* SPORT CATEGORY NAV */
.sport-nav-wrap {
    border-bottom: 1px solid var(--card-border);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(10,14,23,.92);
}
.sport-nav {
    display: flex; gap: 6px; overflow-x: auto;
    padding: 10px 16px; scrollbar-width: thin;
    max-width: var(--max-width); margin: 0 auto;
    -ms-overflow-style: none;
}
.sport-nav::-webkit-scrollbar { height: 4px; }
.sport-nav::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }
.sport-nav a {
    display: flex; align-items: center; gap: 6px;
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: .82rem; font-weight: 600;
    white-space: nowrap;
    transition: all .15s;
}
.sport-nav a:hover, .sport-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), #1d4ed8);
    border-color: transparent;
}
.sport-nav a .icon { font-size: 1rem; }

/* HERO */
.hero {
    text-align: center;
    padding: 48px 16px 32px;
    background: linear-gradient(180deg, rgba(37,99,235,.10), transparent);
}
h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -.02em;
}
h1 .accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seo-paragraph {
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.6;
    max-width: 650px; margin: 0 auto 12px auto;
}

/* GENERAL TYPOGRAPHY */
main { padding: 24px 0 50px; }
.container > main { max-width: var(--max-width); margin: 0 auto; }
h2 {
    font-size: 1.25rem; font-weight: 800; color: #ffffff;
    margin: 28px 0 14px 0; padding-left: 14px;
    border-left: 4px solid var(--accent-color);
    text-transform: uppercase; letter-spacing: .02em;
    display: flex; align-items: center; gap: 8px;
}
p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 10px; }
h3 { font-size: 1rem; color: #ffffff; margin: 16px 0 6px 0; }
ul { margin-left: 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.box {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.mut-page-head { background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(6,182,212,.08)); }

/* GENERIC ROWS / TAGS / SCORES */
.row { display: grid; grid-template-columns: 1.2fr 2fr 1fr; align-items: center; padding: 12px 5px; border-bottom: 1px solid var(--card-border); }
.row:last-child { border-bottom: none; }
.tag { font-size: 0.75rem; font-weight: bold; color: var(--accent-color); text-transform: uppercase; }
.teams { font-size: 0.95rem; font-weight: 500; }
.btn {
    background: linear-gradient(135deg, var(--accent-color), #1d4ed8);
    color: white; text-decoration: none; padding: 8px 16px; border-radius: 6px;
    text-align: center; font-size: 0.85rem; font-weight: bold; display: inline-block;
    box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.score-display { color: var(--green-color); font-weight: bold; }
.live-badge { color: var(--live-color); font-size: 0.75rem; font-weight: bold; animation: mut-blink 1.2s infinite; }

footer.site-footer {
    text-align: center; margin-top: 40px; padding: 24px 16px;
    border-top: 1px solid var(--card-border); font-size: 0.85rem; color: var(--text-muted);
}
footer.site-footer .footer-logo {
    font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; color: var(--text-color);
}
footer.site-footer .footer-logo span {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* LEGACY FIFA TABLE SUPPORT */
.FIFA_schedule_container { width: 100%; border-collapse: collapse; }
.FIFA_schedule_container td { padding: 10px 5px; border-bottom: 1px solid var(--card-border); text-align: center; vertical-align: middle; }
.FIFA_schedule_container .teamvs span { font-size: 0.85rem; font-weight: 500; }
.FIFA_schedule_container .teamlogo img { max-width: 40px; height: auto; object-fit: contain; }
.FIFA_schedule_container .vs { font-size: 0.8rem; color: var(--text-muted); }
.FIFA_schedule_container .main_vs { display: block; font-weight: bold; color: #ffffff; }
.watch_btn, .hd { background-color: var(--accent-color); color: white; border: none; padding: 6px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; cursor: pointer; }
.hd { background-color: var(--live-color); }
.schedule_date_heading { text-align: center; margin-bottom: 10px; }
.table-wrapper { overflow-x: auto; }

/* RESPONSIVE */
@media (max-width: 580px) {
    .row { grid-template-columns: 1fr; gap: 8px; text-align: center; padding: 15px 5px; }
    .btn { width: 60%; margin: 0 auto; }
    .site-topbar-inner { flex-wrap: wrap; gap: 10px; }
}
