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

:root {
    --primary-color: #FF6600;
    --secondary-color: #FF4500;
    --accent-color: #FF8C42;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://cakhiazja.cc/okwinstatic/images/bg-football.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-color: #0a0a0a;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.4) 0%, rgba(26, 26, 26, 0.4) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

header {
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px 0;
    animation: slideDown 0.3s ease;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(234, 67, 53, 0.1) 100%);
    border-radius: 15px;
    margin: 30px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-button-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.3);
}

.cta-button-secondary:hover {
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

.matches-section {
    margin: 40px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.match-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.match-card:hover {
    transform: translateX(5px);
}

.platform-logo {
    text-align: center;
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.match-time {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.team {
    font-weight: bold;
    font-size: 1.1rem;
}

.vs {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.watch-button {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.watch-button:hover {
    background: var(--secondary-color);
}

footer {
    background: var(--card-bg);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin: 10px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    line-height: 1.8;
}

.seo-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 32px;
    align-items: start;
}

.seo-toc {
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.seo-main {
    min-width: 0;
}

.seo-main h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    margin-top: 30px;
    scroll-margin-top: 100px;
}

.seo-main h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    scroll-margin-top: 100px;
}

.seo-main p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.seo-main ul {
    margin: 20px 0;
    padding-left: 30px;
}

.seo-main li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.seo-main strong {
    color: var(--text-primary);
}

.seo-main a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.seo-main a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.toc-box {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.toc-box .toc-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toc-box .toc-title::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: var(--accent-color);
}

.toc-box.collapsed .toc-title::after {
    transform: rotate(-90deg);
}

.toc-box.collapsed .toc-list {
    display: none !important;
}

.toc-box .toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.toc-box .toc-item {
    margin: 0 !important;
    padding: 0 !important;
}

.toc-box .toc-item-h2 a {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    display: block !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    background: rgba(255, 120, 50, 0.15) !important;
    border-left: 4px solid #ff6a00 !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    transition: all 0.3s !important;
}

.toc-box .toc-item-h2 a:hover {
    background: rgba(255, 120, 50, 0.25) !important;
    padding-left: 15px !important;
}

.toc-box .toc-item-h3 a {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    display: block !important;
    padding: 8px 12px 8px 24px !important;
    border-radius: 6px !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    transition: all 0.3s !important;
    border-left: 2px solid transparent !important;
}

.toc-box .toc-item-h3 a:hover {
    background: rgba(255, 102, 0, 0.15) !important;
    color: var(--primary-color) !important;
    padding-left: 28px !important;
    border-left-color: var(--primary-color) !important;
}

@media (min-width: 769px) {
    .toc-box .toc-title {
        cursor: default;
    }

    .toc-box .toc-title::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .seo-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .seo-toc {
        position: static !important;
        margin-bottom: 20px;
    }

    .seo-content {
        padding: 25px 20px;
    }

    .seo-main h2 {
        font-size: 1.6rem;
    }

    .seo-main h3 {
        font-size: 1.3rem;
    }
}

.seo-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    margin-top: 30px;
    scroll-margin-top: 100px;
}

.seo-main h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    scroll-margin-top: 100px;
}

.seo-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.seo-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.seo-content ul.toc-list {
    margin: 0 !important;
    padding: 20px 0 !important;
    padding-left: 0 !important;
}

.seo-content li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.seo-content li.toc-item,
.seo-content li.toc-title {
    margin-bottom: 0 !important;
    color: inherit !important;
}

.seo-content strong {
    color: var(--text-primary);
}

.seo-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.seo-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.seo-image {
    margin: 30px 0;
    text-align: center;
}

.seo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.seo-image figcaption {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}

.info-section {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    line-height: 1.8;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.info-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(26, 115, 232, 0.3);
}

.info-section h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.info-section ul {
    margin: 20px 0;
    padding-left: 30px;
    list-style-type: disc;
}

.info-section li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.info-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.2);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .header-content {
        position: relative;
        flex-wrap: nowrap;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: block;
    }

    .logo-img {
        height: 40px;
        max-width: 150px;
    }

    .platform-logo {
        height: 60px;
        margin-bottom: 12px;
    }

    .platform-logo img {
        max-height: 60px;
    }

    .info-section {
        padding: 25px 20px;
    }

    .info-section h2 {
        font-size: 1.6rem;
    }

    .info-section h3 {
        font-size: 1.3rem;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .seo-content {
        padding: 25px 20px;
    }

    .seo-content h2 {
        font-size: 1.6rem;
    }

    .seo-content h3 {
        font-size: 1.3rem;
    }

    .seo-image {
        margin: 20px 0;
    }

    .seo-image figcaption {
        font-size: 0.85rem;
    }
}

.side-banner {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    max-width: 200px;
    width: auto;
    height: auto;
}

.side-banner-left {
    left: 0;
}

.side-banner-right {
    right: 0;
}

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

.side-banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 1000;
}

.side-banner-close:hover {
    background: rgba(255, 0, 0, 0.8);
}

.bottom-banner {
    position: relative;
    max-width: 728px;
    width: 100%;
    margin: 20px auto;
    background: var(--card-bg);
    padding: 10px;
    text-align: center;
    z-index: 998;
    border-radius: 10px;
}

.bottom-banner img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.bottom-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 1000;
}

.bottom-banner-close:hover {
    background: rgba(255, 0, 0, 0.8);
}

.side-banner.hidden,
.bottom-banner.hidden {
    display: none;
}

@media (max-width: 1023px) {
    .side-banner {
        display: none !important;
    }

    .header-content {
        position: relative;
        flex-wrap: nowrap;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }

    .desktop-nav {
        display: block;
    }
}