* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050505;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.4;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 115, 0, 0.18), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(255, 183, 0, 0.12), transparent 28%),
        linear-gradient(180deg, #101010 0%, #050505 45%, #000000 100%);
}

.container {
    width: min(1440px, 94%);
    margin: 24px auto 70px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 12px;
    z-index: 50;
    background:
        linear-gradient(180deg, rgba(35, 35, 35, 0.96), rgba(18, 18, 18, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 22px;
    margin-bottom: 32px;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.brand-left h1 {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.brand-left p {
    color: #b9b9b9;
    font-size: 14px;
    margin-top: 5px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 10px;
}

.stat-box {
    min-width: 86px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
}

.stat-box span {
    display: block;
    font-size: 12px;
    color: #bfbfbf;
    margin-top: 2px;
}

.live-stat {
    background: rgba(255, 54, 54, 0.12);
    border-color: rgba(255, 54, 54, 0.23);
}

.live-stat strong {
    color: #ff6b6b;
}

/* SEARCH */
.search-wrap {
    margin-bottom: 16px;
}

.search-box {
    width: 100%;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    outline: none;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.search-box::placeholder {
    color: #7a7a7a;
    font-weight: 500;
}

.search-box:focus {
    border-color: #ff7a00;
    box-shadow:
        0 0 0 4px rgba(255, 122, 0, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.22);
}

/* CATEGORY */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-list button {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 999px;
    background: #3b3b3b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.category-list button:hover {
    background: #ff7a00;
    transform: translateY(-1px);
}

.category-list button.active {
    background: linear-gradient(135deg, #ff9700, #ff4d00);
    color: #ffffff;
    box-shadow: 0 9px 20px rgba(255, 112, 0, 0.32);
}

/* SECTIONS */
.match-section {
    margin-bottom: 34px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.section-title span {
    color: #bfbfbf;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

/* GRID */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 22px;
}

/* CARD */
.match-card {
    background:
        linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.28s ease;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    position: relative;
}

.match-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow:
        0 24px 45px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 122, 0, 0.12);
}

/* BANNER */
.banner-wrap {
    position: relative;
    width: 100%;
    height: 158px;
    background: #222222;
    overflow: hidden;
}

.match-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.35s ease;
}

.match-card:hover .match-image {
    transform: scale(1.05);
}

.banner-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
    pointer-events: none;
}

.category-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.tournament-logo {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

/* CARD BODY */
.card-body {
    padding: 16px;
}

.match-card h3 {
    font-size: 18px;
    line-height: 1.28;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
    min-height: 46px;
}

/* TEAMS */
.teams-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.team-box {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    padding: 11px 8px;
    text-align: center;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.team-flag {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    margin: 0 auto;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.30);
}

.team-box strong {
    font-size: 14px;
    color: #ffffff;
    font-weight: 900;
    word-break: break-word;
}

.score-text {
    font-size: 13px;
    color: #ffc466;
    font-weight: 900;
}

.vs-box {
    font-size: 13px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #ff9700, #ff4c00);
    padding: 9px 10px;
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(255, 102, 0, 0.26);
}

/* TEXT */
.team-name-line {
    font-size: 14px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 8px;
}

.tournament-name {
    font-size: 13px;
    color: #b8b8b8;
    margin-bottom: 9px;
    min-height: 38px;
}

.match-time {
    font-size: 13px;
    color: #dddddd;
    margin-bottom: 14px;
}

/* FOOTER */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.status-LIVE,
.status-UPCOMING,
.status-COMPLETED {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.status-LIVE {
    background: rgba(255, 59, 59, 0.14);
    color: #ff6262;
    border: 1px solid rgba(255, 59, 59, 0.28);
}

.status-UPCOMING {
    background: rgba(255, 179, 0, 0.14);
    color: #ffd15d;
    border: 1px solid rgba(255, 179, 0, 0.28);
}

.status-COMPLETED {
    background: rgba(61, 214, 140, 0.14);
    color: #5ce0a2;
    border: 1px solid rgba(61, 214, 140, 0.28);
}

.watch-btn,
.disabled-btn {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.watch-btn {
    background: linear-gradient(135deg, #ff9700, #ff4c00);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(255, 102, 0, 0.25);
}

.disabled-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #bfbfbf;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* EMPTY */
.empty-box {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 20px;
    padding: 22px;
    color: #c9c9c9;
    font-weight: 700;
}

.big-empty {
    text-align: center;
    padding: 50px 20px;
}

.big-empty h2 {
    color: #ffffff;
    margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .brand-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-row {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-box {
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .container {
        width: 95%;
        margin-top: 14px;
    }

    .site-header {
        border-radius: 22px;
        padding: 16px;
        top: 8px;
    }

    .brand-left {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        width: 120px;
    }

    .brand-left h1 {
        font-size: 22px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .matches-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .banner-wrap {
        height: 170px;
    }

    .match-card h3 {
        min-height: auto;
    }

    .tournament-name {
        min-height: auto;
    }

    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .teams-row {
        grid-template-columns: 1fr;
    }

    .vs-box {
        width: fit-content;
        margin: 0 auto;
    }

    .team-box {
        min-height: auto;
    }

    .card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}