.oxnack-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.oxnack-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.oxnack-logo img {
    height: auto;
    transition: transform 0.3s ease;
}

.oxnack-logo img:hover {
    transform: scale(1.05);
}

.oxnack-nav-desktop {
    display: none;
    align-items: center;
}

.oxnack-nav-item {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    margin: 0 12px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.oxnack-nav-item:hover {
    color: var(--primary-color);
}

.oxnack-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.oxnack-nav-item:hover::after {
    width: 100%;
}

.oxnack-user-panel {
    display: flex;
    align-items: center;
    gap: 15px;
}

.oxnack-lang-switcher {
    margin-left: 12px;
}

.oxnack-lang-switcher select {
    padding: 8px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    background-color: white;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a5568' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.oxnack-lang-switcher select:hover {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.oxnack-lang-switcher select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    border-color: var(--primary-color);
}

.oxnack-lang-switcher option {
    background-color: white;
    color: var(--dark-color);
    padding: 8px;
}

.oxnack-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.oxnack-user-info:hover {
    background-color: var(--light-gray);
}

.oxnack-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.oxnack-user-details {
    display: flex;
    flex-direction: column;
}

.oxnack-user-email {
    font-size: 12px;
    color: var(--gray-color);
}

.oxnack-user-balance {
    background: var(--light-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.oxnack-user-balance:hover {
    background-color: var(--light-gray);
}

.oxnack-auth-buttons {
    display: flex;
    gap: 10px;
}

.oxnack-auth-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.oxnack-login-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.oxnack-register-btn {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.oxnack-auth-btn:hover {
    transform: translateY(-1px);
}

.oxnack-nav-mobile {
    display: flex;
    align-items: center;
}

.oxnack-mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    padding: 5px 10px;
}

.oxnack-mobile-menu {
    display: none;
    flex-direction: column;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 999;
}

.oxnack-mobile-menu.oxnack-active {
    display: flex;
}

.oxnack-mobile-nav-item {
    padding: 12px 0;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--light-gray);
}

.oxnack-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.oxnack-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.oxnack-footer-about {
    max-width: 300px;
}

.oxnack-footer-logo img {
    max-width: 140px;
    margin-bottom: 20px;
}

.oxnack-footer-description {
    opacity: 0.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.oxnack-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.oxnack-social-links a {
    color: white;
    opacity: 0.7;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.oxnack-social-links a:hover {
    opacity: 1;
}

.oxnack-footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.oxnack-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.oxnack-footer-links ul {
    list-style: none;
}

.oxnack-footer-links li {
    margin-bottom: 12px;
}

.oxnack-footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.oxnack-footer-link:hover {
    color: white;
}

.oxnack-footer-contacts ul {
    list-style: none;
}

.oxnack-footer-contacts li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.7;
}

.oxnack-footer-contacts a {
    color: white;
    text-decoration: none;
}

.oxnack-footer-contacts i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.oxnack-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.oxnack-footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.oxnack-legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.oxnack-legal-link:hover {
    color: white;
}

.oxnack-footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .oxnack-nav-desktop {
        display: flex;
    }
    
    .oxnack-nav-mobile {
        display: none;
    }
    
    .oxnack-mobile-menu {
        display: none;
    }
}

@media (max-width: 767px) {
    .oxnack-user-panel {
        display: none;
    }
    
    .oxnack-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .oxnack-footer-about {
        max-width: 100%;
        text-align: center;
    }
    
    .oxnack-social-links {
        justify-content: center;
    }
    
    .oxnack-footer-legal {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}