* {
  box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
  background: rgb(94,46,166);
  font-family: "Rubik", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}


.logo span {
  color: rgb(246,222,255);
  font-size: 27px;
  font-weight: 500;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: rgb(246,222,255);
  font-size: 24px;
  cursor: pointer;
}

.links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.links a {
  display: block;
  color: rgb(246,222,255);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: .3s;
  font-weight: 500;
}

.links a:hover, .links a.active {
  color: white;
  border-bottom-color: white;
}

main {
  flex: 1 0 auto;
}

.popular-bouquets {
  position: relative;
  padding: 60px 0;
  background: rgb(94,46,166);
}

.popular-bouquets::before {
  content: "";
  background-image: url('../images/fon.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(244,236,249);
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8e2de2, #4a00e0);
  margin: 10px auto 30px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: rgb(244,236,249);
  margin-bottom: 50px;
}

.bouquets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.bouquet-card {
  background: rgba(94,46,166, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.bouquet-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(237,110,191,0.5);
}

.bouquet-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.bouquet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bouquet-card:hover .bouquet-image img {
  transform: scale(1.05);
}

.bouquet-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.bouquet-badge.new { background: linear-gradient(45deg, #9d4edd, #c77dff); }
.bouquet-badge.sale { background: linear-gradient(45deg, #ff9e00, #ffd166); }

.bouquet-info {
  padding: 25px;
}

.bouquet-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgb(244,236,249);
  margin-bottom: 8px;
}

.bouquet-description {
  font-size: 0.9rem;
  color: rgba(244,236,249, 0.8);
  margin-bottom: 15px;
  line-height: 1.5;
}

.bouquet-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(244,236,249);
  margin-bottom: 20px;
}

.order-btn {
  width: 100%;
  background: linear-gradient(45deg, rgb(204,52,161) 0%, rgb(237,110,191) 100%);
  color: white;
  border: none;
  padding: 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
}

.section-footer {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.view-all {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgb(244,236,249);
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  background: linear-gradient(45deg, rgb(204,52,161) 0%, rgb(237,110,191) 100%);
}

.view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
}

.delivery-content {
  position: relative;
  padding: 40px;
  margin-top: 60px;
  background: rgba(94,46,166, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.delivery-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: rgb(244,236,249);
  margin-bottom: 40px;
}

.delivery-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.feature {
  flex: 0 0 calc(25% - 30px);
  min-width: 200px;
  text-align: center;
}

.feature-icon {
  font-size: 2.2rem;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: transform 0.3s;
}

.feature:hover .feature-icon {
  transform: scale(1.1);
}

.feature-text h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgb(244,236,249);
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 1rem;
  color: rgba(244,236,249, 0.9);
}

.delivery-button {
  display: inline-block;
  background: linear-gradient(45deg, rgb(204,52,161) 0%, rgb(237,110,191) 100%);
  color: white;
  padding: 20px 50px;
  font-family: 'Rubik', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delivery-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 45, 226, 0.4);
}

footer {
  background: rgba(94,46,166, 0.8);
  padding: 30px 0;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-section h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: white;
}

.footer-section p {
  margin-bottom: 10px;
  color: rgb(246,222,255);
}

.footer-section a {
  color: rgb(246,222,255);
  text-decoration: none;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .bouquets-grid { grid-template-columns: repeat(2, 1fr); }
  /* .hero-title { font-size: 2.5rem; } */
  .mobile-menu-toggle { display: block; }
  .links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    background: linear-gradient(135deg, rgb(48,28,139), rgb(123,71,195));
    flex-direction: column;
    padding: 20px;
    border-radius: 0 0 0 20px;
    transition: right 0.3s;
    gap: 20px;
    z-index: 99;
  }
  .links.active { right: 0; }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .bouquets-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .delivery-title { font-size: 1.8rem; }
  .delivery-features { flex-direction: column; align-items: center; }
  .feature { width: 100%; max-width: 300px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
}

/* Стили для select в каталоге */
.catalog-sort select,
.catalog-sort select option {
    background: #2d1a4e;
    color: #fff;
}

.catalog-sort select option {
    background: #2d1a4e;
    color: #fff;
    padding: 10px;
}

/* Для фильтра размера */
.filter-content select,
.filter-content select option {
    background: #2d1a4e;
    color: #fff;
}

/* Общие стили для всех select */
select {
    background: rgba(48, 28, 139, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
}

select option {
    background: #2d1a4e;
    color: #fff;
}

select option:hover {
    background: #ed6ebf;
}

/* Для webkit браузеров (Chrome, Safari) */
select::-webkit-scrollbar {
    width: 8px;
}

select::-webkit-scrollbar-track {
    background: #2d1a4e;
}

select::-webkit-scrollbar-thumb {
    background: #ed6ebf;
    border-radius: 4px;
}

/* ==================== HERO СЕКЦИЯ ==================== */
.hero {
    background: linear-gradient(135deg, rgb(36,20,127) 0%, rgb(178,119,227) 50%, rgb(36,20,127) 100%);
    position: relative;
    padding: 100px 20px;
    text-align: center;
    min-height: calc(100vh - 69px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Фоновые элементы */
.hero::before {
    content: "🌿";
    position: absolute;
    font-size: 300px;
    opacity: 0.08;
    bottom: -50px;
    left: -50px;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero::after {
    content: "🌸";
    position: absolute;
    font-size: 200px;
    opacity: 0.08;
    top: -50px;
    right: -50px;
    animation: floatSlow 6s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Hero контент */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Бейдж */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Заголовки */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: rgb(244,236,249);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(244,236,249, 0.95);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Кнопки */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, rgb(204,52,161) 0%, rgb(237,110,191) 100%);
    color: white;
    padding: 16px 40px;
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(142, 45, 226, 0.3);
}

.hero-button i {
    transition: transform 0.3s ease;
}

.hero-button:hover i {
    transform: translateY(3px);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(142, 45, 226, 0.4);
}

.hero-button.secondary {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Статистика */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

/* Индикатор скролла */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.arrow-down i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    animation: arrowPulse 1.5s infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(5px); }
}

/* Анимации появления */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-down {
    animation: fadeDown 0.6s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ==================== СОВРЕМЕННЫЙ HEADER ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: linear-gradient(135deg, rgba(48, 28, 139, 0.95) 0%, rgba(94, 46, 166, 0.95) 100%);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header.scrolled {
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(48, 28, 139, 0.98) 0%, rgba(94, 46, 166, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.main-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ===== ЛОГОТИП ===== */
.logo__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 2px;
    position: relative;
    transition: transform 0.3s ease;
}

.logo__link:hover {
    transform: scale(1.02);
}

.logo__text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo__highlight {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(45deg, #cc34a1, #ed6ebf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo__flower {
    font-size: 24px;
    margin-left: 5px;
    animation: flowerRotate 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes flowerRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

/* ===== НАВИГАЦИЯ ===== */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: linear-gradient(45deg, #cc34a1, #ed6ebf);
    box-shadow: 0 4px 15px rgba(204, 52, 161, 0.3);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Индикатор активной ссылки */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(45deg, #cc34a1, #ed6ebf);
    border-radius: 3px;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== ХЕДЕР ДЕЙСТВИЯ ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-phone i {
    font-size: 16px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 12px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #301c8b, #5e2ea6);
        backdrop-filter: blur(20px);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 18px;
    }

    .header-actions {
        display: none;
    }

    .logo__text,
    .logo__highlight {
        font-size: 22px;
    }

    .logo__flower {
        font-size: 20px;
    }
}

/* Анимация при загрузке */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-header {
    animation: slideDown 0.5s ease forwards;
}

/* Отступ для фиксированного header */
main {
    padding-top: 80px;
}

@media (max-width: 768px) {
    main {
        padding-top: 70px;
    }
}

/* ===== КНОПКА МОБИЛЬНОГО МЕНЮ ===== */
.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 14px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 28px;
}

/* Анимация при открытом меню */
.mobile-menu-toggle.active {
    background: rgba(237, 110, 191, 0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* ===== МОБИЛЬНАЯ НАВИГАЦИЯ ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(145deg, #2d1a4e, #4a2c7a);
        backdrop-filter: blur(20px);
        padding: 100px 30px 40px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        animation: navItemFadeIn 0.3s ease forwards;
    }

    .nav-item:nth-child(1) { animation-delay: 0.05s; }
    .nav-item:nth-child(2) { animation-delay: 0.1s; }
    .nav-item:nth-child(3) { animation-delay: 0.15s; }
    .nav-item:nth-child(4) { animation-delay: 0.2s; }

    @keyframes navItemFadeIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        justify-content: flex-start;
        padding: 14px 20px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
    }

    .nav-link i {
        width: 28px;
        font-size: 20px;
    }

    .nav-link.active {
        background: linear-gradient(45deg, #cc34a1, #ed6ebf);
    }

    .nav-link.active::after {
        display: none;
    }

    .header-actions {
        display: none;
    }

    /* Оверлей для затемнения фона */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
