* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #e1e6f4;
    --white: #ffffff;
    --black: #171719;
    --primary: #1876ee;
    --text-secondary: #606f97;
    --border-color: #e1e6f4;
    --shadow: 0px 0px 24px 0px rgba(12, 65, 133, 0.04),
    0px 1px 1px 0px rgba(41, 47, 65, 0.04),
    0px 3px 3px 0px rgba(42, 51, 73, 0.04),
    0px 6px 6px 0px rgba(41, 45, 63, 0.04),
    0px 12px 12px 0px rgba(15, 73, 128, 0.04),
    0px 24px 24px 0px rgba(8, 61, 140, 0.04);
}

body {
    background-color: var(--bg-color);
    font-family: 'Montserrat', Arial, sans-serif;
    min-height: 100vh;
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

.page {
    width: 100%;
    background-color: var(--white);
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
}

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

.header__logo-icon {
    width: 22px;
    height: 32px;
}

.header__logo-text {
    font-family: 'Play', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--black);
}

.header__nav {
    display: flex;
    gap: 36px;
}

.header__nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header__nav-item:hover {
    opacity: 0.8;
}

.header__nav-text {
    font-weight: 500;
    font-size: 16px;
    color: var(--black);
}

.header__nav-icon {
    width: 16px;
    height: 16px;
}

.header__login-btn {
    display: flex;
    background: none;
    border: none;
    font-weight: 500;
    font-size: 16px;
    color: var(--black);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.header__login-btn:hover {
    background-color: rgba(24, 118, 238, 0.1);
}

.main {
    display: flex;
    min-height: calc(100vh - 83px);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #171719;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 99;
    padding: 90px 20px 20px;
    overflow-y: auto;
}

.mobile-menu .header__login-btn {
    margin-top: 30px;
}

.mobile-menu .header__nav {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.mobile-menu .header__nav-item {
    display: block;
    width: 100%;
}

.mobile-menu .header__nav-item a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu .header__nav-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    display: block;
}

.mobile-menu .header__login-btn {
    display: block !important;
    width: 100%;
    margin-top: 30px;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .burger-menu {
        display: flex !important;
    }

    .header {
        padding: 20px;
    }

    .header > .header__nav:not(.mobile-menu .header__nav),
    .header > .header__login-btn:not(.mobile-menu .header__login-btn) {
        display: none !important;
    }

    .main {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main {
        flex-direction: column;
    }

    .header {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .header__logo-text {
        font-size: 24px;
    }
}
