/* ==========================================================================
   STREAMEAST - Official Flat Theme Stylesheet (style.css)
   Inspired by & upgraded from https://gostreameast.one/
   All-in-one Flat Structure (Zero Folders)
   ========================================================================== */

:root {
    --red: #E10601;
    --red-dark: #930f0d;
    --red-hover: #b80501;
    --red-soft: #fdecec;
    --red-glow: rgba(225, 6, 1, 0.28);
    --bg: #f4f4f6;
    --surface: #ffffff;
    --surface-2: #f7f7f9;
    --border: #e7e7ec;
    --border-2: #d9d9e0;
    --text: #15151e;
    --text-2: #4b4b57;
    --text-3: #8a8a96;
    --radius-lg: 16px;
    --radius: 12px;
    --radius-sm: 8px;
    --header-h: 66px;
    --maxw: 1200px;
    --shadow-sm: 0 1px 3px rgba(21, 21, 30, 0.06);
    --shadow: 0 4px 18px rgba(21, 21, 30, 0.08);
    --shadow-lg: 0 12px 36px rgba(21, 21, 30, 0.16);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --red: #ff2824;
    --red-dark: #6e0807;
    --red-hover: #e10601;
    --red-soft: rgba(225, 6, 1, 0.16);
    --red-glow: rgba(255, 40, 36, 0.35);
    --bg: #0c0d12;
    --surface: #141620;
    --surface-2: #1c1f2e;
    --border: #24283b;
    --border-2: #2e344d;
    --text: #f0f3fa;
    --text-2: #a5adca;
    --text-3: #6e7799;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.25s ease, color 0.25s ease;
}

body.nav-open, body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, select, textarea {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: linear-gradient(90deg, var(--red-dark) 0%, #b80501 35%, var(--red) 100%);
    box-shadow: 0 4px 20px rgba(147, 15, 13, 0.28);
    color: #fff;
    backdrop-filter: blur(10px);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: var(--red);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.brand-name span {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    transition: var(--transition);
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.main-nav a.is-active {
    background: #ffffff;
    color: var(--red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
}

.burger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s, top 0.25s;
}

.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }

.nav-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ── HERO SECTION ── */
.hero {
    padding: 46px 0 26px;
    background:
        radial-gradient(750px 280px at 50% -40px, var(--red-glow), transparent 75%),
        var(--bg);
    position: relative;
}

.hero-inner {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--red-soft);
    color: var(--red);
    border: 1px solid rgba(225, 6, 1, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--red);
    animation: ping 1.6s infinite;
}

@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(225, 6, 1, 0.55); }
    80%, 100% { box-shadow: 0 0 0 10px rgba(225, 6, 1, 0); }
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero h1 em {
    font-style: normal;
    color: var(--red);
}

.hero-subtitle {
    color: var(--text-2);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 20px;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-3);
    font-weight: 600;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── TOOLBAR / SEARCH & CHIPS ── */
.toolbar {
    position: sticky;
    top: var(--header-h);
    z-index: 60;
    background: rgba(244, 244, 246, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

[data-theme="dark"] .toolbar {
    background: rgba(12, 13, 18, 0.94);
}

.toolbar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search {
    position: relative;
    flex: 0 0 310px;
}

.search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
}

.search input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 42px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    outline: none;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: var(--transition);
}

.search input::placeholder {
    color: var(--text-3);
}

.search input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-glow);
}

.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding: 2px 0;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--border-2);
    background: var(--surface);
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.chip:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-1px);
}

.chip .n {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-3);
    font-size: 0.74rem;
    text-align: center;
    font-weight: 800;
}

.chip.is-active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 6px 18px var(--red-glow);
}

.chip.is-active .n {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

/* ── MATCH SCHEDULE SECTION ── */
.matches-section {
    padding: 16px 0 60px;
}

.schedule-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 16px;
    gap: 12px;
}

.schedule-title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sync-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-3);
}

.sync-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.group-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 12px;
}

.group-head h2 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.group-head .count {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-3);
    font-size: 0.78rem;
    font-weight: 800;
}

.group-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Match Row Card */
.row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 12px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-2);
}

.row:hover .row-action-btn {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.row.is-live {
    background: linear-gradient(90deg, var(--red-soft) 0%, var(--surface) 35%);
    border-color: rgba(225, 6, 1, 0.28);
}

.row-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--radius);
}

.row-link:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.tag {
    width: 58px;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--text);
    text-transform: uppercase;
}

.bar {
    width: 3.5px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--c, var(--red));
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.team-badge-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 4px;
}

.match-vs {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
}

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

.title .name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.title .meta {
    font-size: 0.78rem;
    color: var(--text-3);
    font-weight: 600;
}

.hot {
    margin-right: 6px;
}

.status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.status.live {
    background: var(--red-soft);
    border-color: rgba(225, 6, 1, 0.28);
    color: var(--red);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status.live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: ping 1.6s infinite;
}

.status.soon {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

[data-theme="dark"] .status.soon {
    background: rgba(180, 83, 9, 0.2);
    border-color: rgba(180, 83, 9, 0.4);
    color: #fcd34d;
}

.status .t-short {
    display: none;
}

.row-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.row-action-btn svg {
    transition: transform 0.2s ease;
}

.row:hover .row-action-btn svg {
    transform: translateX(3px);
}

/* Skeletons & Empty State */
.skeleton {
    height: 64px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
    background-size: 300% 100%;
    animation: shimmer 1.3s linear infinite;
}

@keyframes shimmer {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

.empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-3);
    background: var(--surface);
    border: 1px dashed var(--border-2);
    border-radius: var(--radius-lg);
}

.empty b {
    display: block;
    color: var(--text);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

/* ── VIDEO PLAYER MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 11, 16, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    width: 100%;
    max-width: 1020px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-active .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.modal-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title-box h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
}

.modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: var(--text-2);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000000;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 10px;
}

.server-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-btn {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-2);
    transition: var(--transition);
}

.server-btn:hover, .server-btn.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.player-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    transition: var(--transition);
}

.action-pill-btn:hover {
    color: var(--red);
    border-color: var(--red);
}

/* ── ARTICLE MODAL READER ── */
.article-modal-dialog {
    max-width: 860px;
    max-height: 85vh;
    overflow-y: auto;
}

/* ── ARTICLES SECTION ── */
.articles-section {
    padding: 64px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.section-head .eyebrow {
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-head p {
    color: var(--text-2);
    font-size: 1.02rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-2);
}

.article-thumb {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: var(--surface-2);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.04);
}

.article-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 16, 22, 0.75);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-3);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text);
}

.article-body p {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.article-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    align-self: flex-start;
}

.article-link-btn:hover {
    gap: 10px;
}

/* ── IN-DEPTH ARTICLE PROSE ── */
.full-article-section {
    padding: 64px 0;
}

.rich-article-wrapper {
    max-width: 880px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

.article-prose h2 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 32px 0 14px;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

.article-prose h2:first-child {
    margin-top: 0;
}

.article-prose h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 24px 0 10px;
    color: var(--text);
}

.article-prose p {
    color: var(--text-2);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.article-prose ul, .article-prose ol {
    margin: 0 0 20px 24px;
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
}

.article-prose li {
    margin-bottom: 8px;
}

.article-prose blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: var(--red-soft);
    border-left: 4px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: normal;
    color: var(--text);
}

.table-responsive {
    overflow-x: auto;
    margin: 24px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

th, td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

th {
    background: var(--surface-2);
    font-weight: 800;
    color: var(--text);
}

/* ── FEATURES SECTION ── */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 16px;
}

.feature-box {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--border-2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--red-soft);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-box p {
    color: var(--text-2);
    font-size: 0.92rem;
}

/* ── FAQ SECTION ── */
.faq-section {
    padding: 60px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.faq-item[open] {
    background: var(--surface);
    border-color: rgba(225, 6, 1, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    color: var(--red);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 22px 20px;
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--surface);
    border-top: 3px solid var(--red);
    padding: 48px 0 32px;
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-2);
}

.footer-links a:hover {
    color: var(--red);
}

.footer-inner p {
    color: var(--text-3);
    font-size: 0.88rem;
    max-width: 820px;
    line-height: 1.6;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
    .burger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        margin: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 24px 48px rgba(21, 21, 30, 0.22);
        padding: 16px 20px 24px;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .nav-open .main-nav {
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    body.nav-open::after {
        content: '';
        position: fixed;
        inset: var(--header-h) 0 0;
        z-index: 90;
        background: rgba(10, 11, 16, 0.5);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 12px 16px;
        border-radius: var(--radius);
        font-size: 1rem;
        color: var(--text);
    }

    .main-nav a:hover {
        background: var(--surface-2);
        color: var(--red);
    }

    .main-nav a.is-active {
        background: var(--red-soft);
        color: var(--red);
    }

    .toolbar {
        position: static;
    }

    .toolbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search {
        flex: none;
    }

    .rich-article-wrapper {
        padding: 28px 20px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        padding: 32px 0 18px;
    }

    .row {
        gap: 10px;
        padding: 10px 12px;
        min-height: 58px;
    }

    .tag {
        width: 44px;
        font-size: 0.74rem;
    }

    .team-badge-icon {
        width: 20px;
        height: 20px;
    }

    .match-teams {
        gap: 6px;
    }

    .title .name {
        font-size: 0.88rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.25;
    }

    .status {
        height: 24px;
        padding: 0 8px;
        font-size: 0.68rem;
    }

    .status .t-long {
        display: none;
    }

    .status .t-short {
        display: inline;
    }

    .row-action-btn {
        display: none;
    }
}
