* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #1f1f1f;
    color: #222;
}

.container {
    width: 1110px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
}

.league-bar {
    background: #2f2f2f;
    border-top: 4px solid #24935a;
}

.league-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.league-bar a,
.league-bar span {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 18px 10px;
    text-transform: uppercase;
}

.league-bar a:hover {
    background: #414141;
}

.main-header {
    background: #ffffff;
}

.header-inner {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-area img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.logo-area strong {
    display: block;
    font-size: 17px;
    text-transform: uppercase;
}

.logo-area span {
    font-size: 13px;
    color: #555;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    color: #262626;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: #24935a;
}

.match-strip {
    background: #eeeeee;
    color: #222;
    font-size: 14px;
    padding: 6px 0;
}

.site-main {
    background: #1f1f1f;
    padding-bottom: 50px;
}

.hero {
    min-height: 520px;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.18)),
        url('/assets/banner.webp');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 14px 14px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
}

.hero-content {
    color: white;
    max-width: 620px;
}

.hero-content h1 {
    margin: 0 0 10px;
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-block;
    background: #24935a;
    color: white;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: bold;
}

.news-section {
    margin-top: 45px;
}

.section-title {
    color: white;
    margin-bottom: 22px;
}

.section-title h2 {
    margin: 0;
    font-size: 32px;
}

.section-title p {
    color: #aaa;
    margin-top: 6px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-content {
    padding: 18px;
}

.news-category {
    display: inline-block;
    background: #24935a;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

.news-content h3 {
    margin: 12px 0 10px;
    font-size: 20px;
    line-height: 1.2;
}

.news-content h3 a {
    color: #111;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #24935a;
}

.news-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #777;
    font-size: 12px;
    margin-top: 15px;
}

.empty-news {
    color: white;
    background: #2f2f2f;
    padding: 25px;
    border-radius: 10px;
    grid-column: 1 / -1;
}

.site-footer {
    background: #111;
    color: #aaa;
    padding: 25px 0;
    font-size: 13px;
}

@media(max-width: 1050px) {
    .header-inner {
        height: auto;
        padding: 18px 0;
        flex-direction: column;
        gap: 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 700px) {
    .hero {
        min-height: 380px;
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}
.league-drawer {
    position: fixed;
    top: 180px;
    right: -380px;
    width: 380px;
    max-height: calc(100vh - 220px);
    background: #ffffff;
    z-index: 999;
    transition: right .3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.25);
    border-radius: 14px 0 0 14px;
}

.league-drawer.open {
    right: 0;
}

.drawer-toggle {
    position: absolute;
    left: -82px;
    top: 30px;
    width: 82px;
    height: 44px;
    border: none;
    background: #24935a;
    color: white;
    font-weight: 900;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    text-transform: uppercase;
    font-size: 12px;
}

.drawer-content {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 220px);
}

.drawer-content h3 {
    margin: 0 0 18px;
    font-size: 22px;
}

.mini-league-table {
    margin-bottom: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.mini-league-title {
    background: #2f2f2f;
    color: white;
    padding: 12px;
}

.mini-league-title strong {
    display: block;
    font-size: 14px;
}

.mini-league-title span {
    font-size: 12px;
    color: #cfcfcf;
}

.mini-league-table table {
    width: 100%;
    border-collapse: collapse;
}

.mini-league-table th,
.mini-league-table td {
    padding: 9px 8px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
    text-align: left;
}

.mini-league-table th {
    background: #f4f4f4;
    color: #555;
}

.mini-league-table tr:last-child td {
    border-bottom: none;
}

.drawer-empty {
    color: #555;
}

@media(max-width: 600px) {
    .league-drawer {
        width: 320px;
        right: -320px;
    }
}

.match-strip {
    background: #eeeeee;
    color: #222;
    font-size: 13px;
    padding: 7px 0;
    overflow: hidden;
}

.match-strip-inner {
    display: flex;
    gap: 14px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.strip-match {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border-radius: 999px;
    padding: 7px 12px;
    border: 1px solid #ddd;
}

.strip-league {
    color: #24935a;
    font-weight: bold;
    margin-right: 4px;
}

.strip-date {
    background: #2f2f2f;
    color: #ffffff;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
}

.strip-live {
    background: #dc2626;
    color: white;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
    animation: livePulse 1.5s infinite;
}

.no-matches {
    color: #555;
}

@keyframes livePulse {
    0% { opacity: 1; }
    50% { opacity: .55; }
    100% { opacity: 1; }
}