/* Основные переменные и сброс */
:root {
    --primary-bg: #282c35;
    --secondary-bg: #1e222b;
    --accent-color: #6d72ff;
    --accent-secondary: #ff6bcb;
    --text-primary: #ffffff;
    --text-secondary: #b0b7c3;
    --card-bg: rgba(40, 44, 53, 0.7);
    --card-border: rgba(109, 114, 255, 0.3);
    --glow-color: rgba(109, 114, 255, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    position: relative;
    z-index: 100;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(30deg);
}

/* Герой секция */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.title-main {
    display: block;
    color: var(--text-primary);
}

.title-accent {
    display: block;
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--glow-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(109, 114, 255, 0.1);
    border: 1px solid var(--card-border);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Главное изображение */
.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.main-character {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: brightness(1.05) contrast(1.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(109, 114, 255, 0.2) 0%, 
        transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    color: var(--accent-color);
    font-size: 1.5rem;
    animation: float-around 15s linear infinite;
}

.star-1 { top: 10%; left: 5%; animation-delay: 0s; }
.star-2 { top: 80%; left: 85%; animation-delay: 5s; }
.star-3 { top: 40%; left: 90%; animation-delay: 10s; }

@keyframes float-around {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Скролл индикатор */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Основной контент */
.main-content {
    position: relative;
    z-index: 10;
}

.content-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Секция "О персонаже" */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(109, 114, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Черты характера */
.personality-traits {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--card-border);
}

.personality-traits h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.trait {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trait-name {
    display: flex;
    justify-content: space-between;
    color: var(--text-primary);
    font-weight: 500;
}

.trait-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.trait-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

/* Галерея */
.gallery-section {
    background: linear-gradient(to bottom, transparent, rgba(30, 34, 43, 0.3));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.gallery-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* История */
.story-section {
    background: linear-gradient(to bottom, transparent, rgba(40, 44, 53, 0.5));
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--accent-color), 
        transparent);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-date {
    min-width: 120px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    margin-right: 30px;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Детали персонажа */
.details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.details-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    text-align: right;
    max-width: 60%;
}

.details-image {
    position: relative;
}

.details-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 20px;
}

.details-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(109, 114, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
}

.card-note i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.card-note span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Футер */
.main-footer {
    background: var(--secondary-bg);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-accent {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.footer-logo p {
    color: var(--text-secondary);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .details-info {
        order: 2;
    }
    
    .details-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .story-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        margin-right: 0;
        margin-bottom: 15px;
        width: fit-content;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .tag {
        width: fit-content;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== СВЕТЛАЯ ТЕМА ===== */
body.light-theme {
    --primary-bg: #f8f9fa;
    --secondary-bg: #ffffff;
    --accent-color: #7c3aed;
    --accent-secondary: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(124, 58, 237, 0.2);
    --glow-color: rgba(124, 58, 237, 0.3);
}

body.light-theme .neon-grid {
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
}

body.light-theme .main-footer {
    background: #f1f5f9;
}

body.light-theme .gallery-section {
    background: linear-gradient(to bottom, transparent, rgba(248, 249, 250, 0.5));
}

body.light-theme .story-section {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
}

body.light-theme .tag {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

body.light-theme .trait-bar {
    background: rgba(0, 0, 0, 0.1);
}

/* Плавный переход темы */
body {
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body * {
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ФИКСИРОВАННАЯ НАВИГАЦИЯ ===== */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.3s ease, background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-nav.visible {
    transform: translateY(0);
}

.fixed-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-nav .nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.fixed-nav .theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.fixed-nav .theme-toggle:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.theme-text {
    font-size: 0.9rem;
}

/* Обновленная основная навигация */
.main-nav {
    padding: 25px 0 0;
    display: flex;
    justify-content: center;
}

/* ===== АНИМАЦИЯ СКРОЛЛ ИНДИКАТОРА ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 100;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.scroll-indicator.scrolled-up {
    animation: bounce 2s infinite;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .fixed-nav .theme-toggle .theme-text {
        display: none;
    }
    
    .fixed-nav .theme-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-section {
        padding-top: 80px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .fixed-nav .nav-logo {
        font-size: 1.3rem;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ АНИМАЦИИ ===== */
@keyframes themeSwitch {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.theme-switching {
    animation: themeSwitch 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект появления для секций при скролле */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Активная ссылка навигации */
.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Прогресс бар скролла (опционально) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    width: 0%;
    transition: width 0.1s ease;
}

/* ===== ФИКСИРОВАННАЯ НАВИГАЦИЯ ===== */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.3s ease, background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.fixed-nav.visible {
    transform: translateY(0);
}

.fixed-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.fixed-nav .nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Ссылки навигации в фиксированной панели */
.fixed-nav-links {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.fixed-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.fixed-nav-link:hover {
    color: var(--text-primary);
}

.fixed-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.fixed-nav-link:hover::after,
.fixed-nav-link.active::after {
    width: 100%;
}

.fixed-nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Кнопка темы в фиксированной навигации */
.fixed-nav .theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.fixed-nav .theme-toggle:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(30deg);
}

.fixed-nav .theme-toggle i {
    font-size: 1.2rem;
}

/* Убираем старую основную навигацию */
.main-nav {
    display: none;
}

/* Корректируем отступ для героя */
.hero-section {
    padding-top: 60px;
}

/* ===== ИСПРАВЛЕНИЕ СКРОЛЛА К СЕКЦИЯМ ===== */
.content-section {
    scroll-margin-top: 80px; /* Учитываем высоту фиксированной навигации */
}

/* ===== АДАПТИВНОСТЬ ФИКСИРОВАННОЙ НАВИГАЦИИ ===== */
@media (max-width: 992px) {
    .fixed-nav-links {
        gap: 20px;
    }
    
    .fixed-nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .fixed-nav .container {
        gap: 15px;
    }
    
    .fixed-nav-links {
        display: none; /* На мобильных скрываем ссылки */
    }
    
    .fixed-nav .nav-logo {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    /* Мобильное меню */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Мобильное меню (пока скрыто) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.mobile-menu-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--accent-color);
    transform: translateX(10px);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}