/* 
███████ ███████ ███████ ██   ██ 
██         ███   ███     ██  ██  
███████   ███   ███     █████   
     ██  ███   ███     ██  ██  
███████ ███████ ███████ ██   ██ 

САШЕ НЕ ТРОГАТЬ ТРОНЕТ РУК ЛЕШИТСЯ
*/

/* ==================== ОБНУЛЕНИЕ СТИЛЕЙ ==================== */
/* Убираем все стандартные отступы и padding у всех элементов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Убирает синий highlight при тапе */
}

/* ==================== ОСНОВНЫЕ СТИЛИ СТРАНИЦЫ ==================== */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Улучшает рендеринг шрифтов на iOS */
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ ==================== */
@media (max-width: 768px) {
    /* Шапка для мобильных */
    header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-center {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .auth-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Футер для мобильных */
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contacts-main {
        order: -1; /* Контакты ПЕРВЫМИ */
    }
    
    .footer-brand {
        order: 1;
    }
    
    .footer-links {
        order: 2;
    }
    
    .contact-links {
        align-items: center;
    }
    
    .contact-link {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .nav-center {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .auth-btn {
        min-width: 180px;
        padding: 0.7rem 1.2rem;
    }
    
    .contact-link {
        padding: 0.8rem;
    }
    
    .footer-policies {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==================== СНЕЖИНКИ И АНИМАЦИИ ==================== */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.snow {
    position: absolute;
    top: -50px;
    color: white;
    font-size: clamp(14px, 4vw, 20px); /* Адаптивный размер */
    animation: snowFall 8s linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
}

/* Упрощенные анимации для мобильных */
@keyframes snowFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.2; }
    100% {
        transform: translateY(100vh) translateX(0) rotate(360deg) scale(0.3);
        opacity: 0;
    }
}

@keyframes snowFallWithStop {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    80% {
        transform: translateY(80vh) translateX(0) rotate(240deg) scale(0.7);
        opacity: 0.5;
    }
    100% {
        transform: translateY(80vh) scale(0.3) rotate(320deg);
        opacity: 0;
    }
}

/* Упрощенные версии остальных анимаций */
@keyframes snowFallWithStop2 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    15% { opacity: 0.9; }
    75% {
        transform: translateY(75vh) translateX(5px) rotate(240deg) scale(0.75);
        opacity: 0.6;
    }
    100% {
        transform: translateY(75vh) scale(0.35) rotate(320deg);
        opacity: 0;
    }
}

@keyframes snowFallWithStop3 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    5% { opacity: 0.6; }
    60% {
        transform: translateY(60vh) translateX(15px) rotate(180deg) scale(0.85);
        opacity: 0.7;
    }
    100% {
        transform: translateY(60vh) scale(0.45) rotate(260deg);
        opacity: 0;
    }
}

/* Упрощенные эффекты для мобильных */
.snow-melting {
    z-index: 10;
    animation-timing-function: ease-out !important;
}

.btn-snow-zone {
    position: absolute;
    top: -10px;
    left: -5px;
    right: -5px;
    bottom: -10px;
    pointer-events: none;
    z-index: 1;
}

/* ==================== ШАПКА САЙТА ==================== */
header {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 235, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6a42c9, #8b5ceb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(139, 92, 235, 0.3);
}

/* Основная навигация */
.nav-center {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #8b5ceb;
    background: rgba(139, 92, 235, 0.1);
    transform: translateY(-1px);
}

/* Кнопка авторизации */
.auth-btn {
    background: rgba(139, 92, 235, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 235, 0.4);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    height: 40px;
    gap: 0.5rem;
}

.auth-btn:hover {
    background: rgba(139, 92, 235, 0.3);
    border-color: rgba(139, 92, 235, 0.6);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 235, 0.3);
}


/* ==================== ШАПКА САЙТА ДЛЯ МОБИЛЬНЫХ ==================== */
header {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 235, 0.3);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Первая строка: Лого и навигация */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6a42c9, #8b5ceb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Навигация в шапке */
.nav-center {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #8b5ceb;
    background: rgba(139, 92, 235, 0.1);
    border-color: rgba(139, 92, 235, 0.3);
}

/* Вторая строка: Кнопка авторизации */
.header-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-btn {
    background: rgba(139, 92, 235, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 235, 0.4);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    height: 44px;
    gap: 0.5rem;
    width: auto;
    min-width: 200px;
}

.auth-btn:hover {
    background: rgba(139, 92, 235, 0.3);
    border-color: rgba(139, 92, 235, 0.6);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 235, 0.3);
}

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ ФУТЕРА ==================== */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-nav a {
        padding: 0.8rem;
    }
    
    .contact-link {
        max-width: 280px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-nav h4,
    .footer-contacts-main h4 {
        font-size: 1rem;
    }
    
    .contact-link {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .contact-icon {
        font-size: 1.2rem;
    }
}
/* ==================== ОСНОВНОЙ КОНТЕНТ ==================== */
main {
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 200px); /* Минимальная высота минус шапка и футер */
}

/* ==================== ГЛАВНАЯ СЕКЦИЯ (HERO) ==================== */
.hero {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.brand-name {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #8b5ceb;
    margin-bottom: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.presenting {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    color: #ccc;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8b5ceb, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(139, 92, 235, 0.2);
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem);
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.9;
    padding: 0 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ==================== СТЕКЛЯННЫЕ КНОПКИ ==================== */
.glass-btn {
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    min-width: min(180px, 100%);
    height: 48px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    touch-action: manipulation; /* Улучшает отзывчивость на тач-устройствах */
}


/* ==================== СЕКЦИЯ СТАТИСТИКИ ==================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: rgba(25, 25, 35, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 235, 0.3);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: bold;
    color: #8b5ceb;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 10px rgba(139, 92, 235, 0.3);
}

.stat-label {
    color: #ccc;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    opacity: 0.8;
}

/* ==================== СЕКЦИЯ "О КОМПАНИИ" ==================== */
.about-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
    color: #8b5ceb;
    text-shadow: 0 2px 10px rgba(139, 92, 235, 0.2);
    padding: 0 1rem;
}

.about-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.about-card {
    background: rgba(25, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 235, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(139, 92, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid rgba(139, 92, 235, 0.3);
    transition: all 0.3s ease;
}

.card-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: #8b5ceb;
    margin-bottom: 1rem;
    font-weight: bold;
}

.card-content {
    color: #ccc;
    line-height: 1.6;
    font-size: clamp(0.9rem, 3vw, 1rem);
}
/* ==================== КАТАЛОГ ТОВАРОВ ==================== */
.catalog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.empty-catalog {
    background: rgba(25, 25, 35, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 235, 0.3);
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.empty-catalog h3 {
    color: #8b5ceb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-catalog p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==================== ПРАВОВЫЕ СТРАНИЦЫ ==================== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(25, 25, 35, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 235, 0.3);
    backdrop-filter: blur(10px);
}

.legal-page h1 {
    color: #8b5ceb;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
}

.legal-page h2 {
    color: #8b5ceb;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 235, 0.2);
    padding-bottom: 0.5rem;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #ccc;
}

.legal-page ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    color: #ccc;
    line-height: 1.6;
    position: relative;
}

.legal-page li::before {
    content: '•';
    color: #8b5ceb;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* ==================== ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ ==================== */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.profile-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.profile-container {
    background: rgba(25, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 235, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 235, 0.2);
    flex-direction: column;
    text-align: center;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(139, 92, 235, 0.5);
    object-fit: cover;
}

.profile-info h1 {
    color: #8b5ceb;
    margin-bottom: 0.4rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card .stat-number {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
}


/* ==================== ФУТЕР ==================== */
footer {
    background: rgba(10, 10, 10, 0.95);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 92, 235, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 1. TeerkDev */
.footer-brand {
    text-align: center;
    order: 1;
}

.footer-brand h3 {
    color: #8b5ceb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

/* 2. Навигация */
.footer-nav {
    order: 2;
    text-align: center;
}

.footer-nav h4 {
    color: #8b5ceb;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav li {
    margin-bottom: 0;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.footer-nav a:hover {
    color: #8b5ceb;
    background: rgba(139, 92, 235, 0.1);
}

/* 3. Наши контакты */
.footer-contacts-main {
    order: 3;
    text-align: center;
}

.footer-contacts-main h4 {
    color: #8b5ceb;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 235, 0.2);
    max-width: 300px;
    width: 100%;
}

.contact-link:hover {
    background: rgba(139, 92, 235, 0.15);
    border-color: rgba(139, 92, 235, 0.4);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-details strong {
    color: #8b5ceb;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-details span {
    color: #ccc;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Нижняя часть футера */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 235, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    order: 4;
    margin-top: 2rem;
}

.footer-legal {
    color: #888;
    font-size: 0.9rem;
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-policies a {
    color: #8b5ceb;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==================== АДАПТИВНОСТЬ ==================== */

/* Планшеты */
@media (min-width: 768px) {
    /* Шапка для планшетов */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .header-top {
        width: auto;
        gap: 2rem;
    }
    
    .header-bottom {
        width: auto;
        justify-content: flex-end;
    }
    
    .nav-center {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
    
    /* Футер для планшетов */
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .footer-contacts-main {
        order: 0;
        flex: 1;
        min-width: 250px;
        text-align: left;
    }
    
    .footer-brand {
        order: 1;
        flex: 2;
        text-align: left;
    }
    
    .footer-links {
        order: 2;
        flex: 1;
        min-width: 150px;
        text-align: left;
    }
    
    .contact-links {
        align-items: flex-start;
    }
    
    .contact-link {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Десктопы */
@media (min-width: 1024px) {
    .header-content {
        gap: 3rem;
    }
    
    .nav-center {
        gap: 2rem;
    }
    
    .footer-content {
        gap: 3rem;
    }
    
    .footer-contacts-main {
        flex: 1;
    }
    
    .footer-brand {
        flex: 2;
    }
    
    .footer-links {
        flex: 1;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .header-content {
        gap: 0.8rem;
    }
    
    .header-top {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .nav-center {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .auth-btn {
        min-width: 180px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .footer-contacts-main h4,
    .footer-brand h3,
    .footer-links h4 {
        font-size: 1.1rem;
    }
    
    .contact-link {
        padding: 0.6rem 0.8rem;
    }
}

/* Исправление для очень узких экранов */
@media (max-width: 360px) {
    .nav-center {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .auth-btn {
        min-width: 160px;
        padding: 0.6rem 1rem;
    }
    
    .contact-link {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-details {
        text-align: center;
    }
}