@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
    font-display: swap;
}

:root {
    --color-primary: #4F46E5;
    --color-secondary: #764ba2;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f9fafb;
    --color-border: #e5e7eb;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max-width: 1200px;
    --spacing: 1rem;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
    width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    max-width: 100%;
    padding: 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 1001;
    position: relative;
}

.burger-menu {
    display: none;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
    width: 44px;
    height: 44px;
}

.burger-menu span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
    transform-origin: center;
}

.burger-menu span:nth-child(1) {
    top: 10px;
}

.burger-menu span:nth-child(2) {
    top: 20px;
}

.burger-menu span:nth-child(3) {
    top: 30px;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.menu-overlay {
    display: none;
}

@media (max-width: 1150px) {
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        backdrop-filter: blur(2px);
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5.5rem 1.5rem 1.5rem;
        gap: 0.25rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease-in-out;
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 0.6rem 0;
        width: 100%;
        display: block;
        color: var(--color-text);
        text-decoration: none;
    }

    .nav-links a:hover {
        color: var(--color-primary);
    }

    .nav-links a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-links a.btn-logout {
        border-bottom: none;
        width: 100%;
        margin-top: 1rem;
        padding: 0.8rem 0;
        text-align: center;
    }
}

.nav-links a.btn-logout {
    background-color: #ef4444;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.nav-links a.btn-logout:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.4);
}

section[id] {
    scroll-margin-top: 100px;
}

#sport {
    scroll-margin-top: 120px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }

    #sport {
        scroll-margin-top: 100px;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    section[id] {
        scroll-margin-top: 70px;
    }

    #sport {
        scroll-margin-top: 90px;
    }
}

.section {
    padding: 5rem 5%;
}

.section-alt {
    background: var(--color-bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.site-footer {
    background: #1f2937;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.site-footer p {
    margin: 0.5rem 0;
}