
        :root {
            --primary: #2c6e49;
            --primary-dark: #1e4e34;
            --primary-light: #4c956c;
            --secondary: #ffd166;
            --accent: #ef6c6c;
            --light: #f9f9f9;
            --dark: #1a1a1a;
            --gray: #6c757d;
            --gray-light: #e9ecef;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
            --radius: 16px;
            --header-height: 80px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Cormorant Garamond', 'Playfair Display', serif;
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
            cursor: default;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Marcellus', 'Cormorant Garamond', serif;
            font-weight: 600;
            line-height: 1.2;
            letter-spacing: 0.5px;
        }

        /* Preloader */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f9f9f9 0%, #e6f2e6 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 1s ease;
        }

        .preloader-container {
            text-align: center;
        }

        .tree-growth-animation {
            position: relative;
            width: 120px;
            height: 180px;
            margin: 0 auto 30px;
        }

        .tree-trunk {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 15px;
            height: 0;
            background: #8B4513;
            border-radius: 5px;
            animation: growTrunk 2s ease forwards;
        }

        .tree-branches {
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 80px;
        }

        .branch {
            position: absolute;
            background: #8B4513;
            border-radius: 3px;
            opacity: 0;
        }

        .branch-1 {
            width: 40px;
            height: 6px;
            top: 0;
            left: 0;
            transform: rotate(-30deg);
            transform-origin: left center;
            animation: growBranch 1s ease 1.5s forwards;
        }

        .branch-2 {
            width: 40px;
            height: 6px;
            top: 0;
            right: 0;
            transform: rotate(30deg);
            transform-origin: right center;
            animation: growBranch 1s ease 1.7s forwards;
        }

        .branch-3 {
            width: 30px;
            height: 5px;
            top: 30px;
            left: 0;
            transform: rotate(-20deg);
            transform-origin: left center;
            animation: growBranch 1s ease 1.9s forwards;
        }

        .branch-4 {
            width: 30px;
            height: 5px;
            top: 30px;
            right: 0;
            transform: rotate(20deg);
            transform-origin: right center;
            animation: growBranch 1s ease 2.1s forwards;
        }

        .tree-leaves {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 100px;
        }

        .leaf {
            position: absolute;
            background: #2c6e49;
            border-radius: 50%;
            opacity: 0;
        }

        .leaf-1 {
            width: 25px;
            height: 25px;
            top: 10px;
            left: 10px;
            animation: growLeaf 0.8s ease 2.3s forwards;
        }

        .leaf-2 {
            width: 20px;
            height: 20px;
            top: 5px;
            right: 15px;
            animation: growLeaf 0.8s ease 2.4s forwards;
        }

        .leaf-3 {
            width: 22px;
            height: 22px;
            top: 30px;
            left: 5px;
            animation: growLeaf 0.8s ease 2.5s forwards;
        }

        .leaf-4 {
            width: 18px;
            height: 18px;
            top: 35px;
            right: 5px;
            animation: growLeaf 0.8s ease 2.6s forwards;
        }

        .leaf-5 {
            width: 20px;
            height: 20px;
            top: 55px;
            left: 20px;
            animation: growLeaf 0.8s ease 2.7s forwards;
        }

        .leaf-6 {
            width: 16px;
            height: 16px;
            top: 50px;
            right: 15px;
            animation: growLeaf 0.8s ease 2.8s forwards;
        }

        .loading-text {
            font-family: 'Marcellus', serif;
            font-size: 1.8rem;
            color: var(--primary);
            letter-spacing: 2px;
        }

        .letter {
            display: inline-block;
            opacity: 0;
            animation: fadeInLetter 0.4s ease forwards;
        }

        .letter:nth-child(1) { animation-delay: 0.5s; }
        .letter:nth-child(2) { animation-delay: 0.6s; }
        .letter:nth-child(3) { animation-delay: 0.7s; }
        .letter:nth-child(4) { animation-delay: 0.8s; }
        .letter:nth-child(5) { animation-delay: 0.9s; }
        .letter:nth-child(6) { animation-delay: 1.0s; }
        .letter:nth-child(7) { animation-delay: 1.1s; }
        .letter:nth-child(8) { animation-delay: 1.2s; }

        @keyframes growTrunk {
            from { height: 0; }
            to { height: 120px; }
        }

        @keyframes growBranch {
            from { 
                opacity: 0;
                transform: scale(0) rotate(0);
            }
            to { 
                opacity: 1;
                transform: scale(1) rotate(var(--rotation));
            }
        }

        @keyframes growLeaf {
            from { 
                opacity: 0;
                transform: scale(0);
            }
            to { 
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes fadeInLetter {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Анимированный фон */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background: linear-gradient(135deg, #f9f9f9 0%, #e6f2e6 50%, #d4e8d4 100%);
            overflow: hidden;
        }

        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            background: rgba(44, 110, 73, 0.1);
            animation: floatParticle 20s infinite linear;
        }

        .particle-1 {
            width: 20px;
            height: 20px;
            top: 10%;
            left: 10%;
            animation-duration: 25s;
        }

        .particle-2 {
            width: 15px;
            height: 15px;
            top: 20%;
            right: 15%;
            animation-duration: 20s;
            animation-delay: 2s;
        }

        .particle-3 {
            width: 25px;
            height: 25px;
            bottom: 15%;
            left: 20%;
            animation-duration: 30s;
            animation-delay: 5s;
        }

        .particle-4 {
            width: 10px;
            height: 10px;
            top: 30%;
            left: 30%;
            animation-duration: 18s;
            animation-delay: 1s;
        }

        .particle-5 {
            width: 18px;
            height: 18px;
            bottom: 25%;
            right: 25%;
            animation-duration: 22s;
            animation-delay: 3s;
        }

        .particle-6 {
            width: 12px;
            height: 12px;
            top: 40%;
            right: 40%;
            animation-duration: 17s;
            animation-delay: 4s;
        }

        .particle-7 {
            width: 22px;
            height: 22px;
            bottom: 35%;
            left: 35%;
            animation-duration: 28s;
            animation-delay: 6s;
        }

        .particle-8 {
            width: 16px;
            height: 16px;
            top: 50%;
            right: 10%;
            animation-duration: 24s;
            animation-delay: 7s;
        }

        .floating-leaves {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .leaf {
            position: absolute;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%232c6e49' d='M12,2C8,2,5,5,5,9c0,6,6,11,7,11s7-5,7-11C19,5,16,2,12,2z'/%3E%3C/svg%3E") no-repeat center;
            opacity: 0.15;
            animation: floatLeaf 25s infinite linear;
        }

        .floating-leaves .leaf-1 {
            width: 30px;
            height: 30px;
            top: 15%;
            left: 5%;
            animation-duration: 30s;
        }

        .floating-leaves .leaf-2 {
            width: 25px;
            height: 25px;
            top: 25%;
            right: 10%;
            animation-duration: 25s;
            animation-delay: 3s;
        }

        .floating-leaves .leaf-3 {
            width: 35px;
            height: 35px;
            bottom: 20%;
            left: 15%;
            animation-duration: 35s;
            animation-delay: 6s;
        }

        .floating-leaves .leaf-4 {
            width: 20px;
            height: 20px;
            bottom: 30%;
            right: 20%;
            animation-duration: 22s;
            animation-delay: 8s;
        }

        @keyframes floatParticle {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0.1;
            }
            25% {
                transform: translateY(-30px) translateX(15px) rotate(5deg);
                opacity: 0.2;
            }
            50% {
                transform: translateY(-50px) translateX(-20px) rotate(-5deg);
                opacity: 0.3;
            }
            75% {
                transform: translateY(-20px) translateX(10px) rotate(3deg);
                opacity: 0.2;
            }
            100% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0.1;
            }
        }

        @keyframes floatLeaf {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
            }
            25% {
                transform: translateY(-40px) translateX(20px) rotate(90deg);
            }
            50% {
                transform: translateY(-70px) translateX(-25px) rotate(180deg);
            }
            75% {
                transform: translateY(-30px) translateX(15px) rotate(270deg);
            }
            100% {
                transform: translateY(0) translateX(0) rotate(360deg);
            }
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            color: var(--dark);
            padding: 1.2rem 0;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: var(--transition);
        }

        header.scrolled {
            padding: 0.8rem 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
            z-index: 1001;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo i {
            color: var(--secondary);
            font-size: 2.2rem;
            animation: pulse 2s infinite;
        }

        /* Навигация для десктопа */
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        nav a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            position: relative;
            font-size: 20px;
        }

        nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: var(--primary);
            transition: var(--transition);
        }

        nav a:hover:after {
            width: 80%;
            left: 10%;
        }

        nav a:hover {
            color: var(--primary);
        }

        /* Поиск в хедере */
        .header-search {
            margin-left: auto;
        }

        .search-form {
            position: relative;
            display: flex;
            align-items: center;
        }

        .search-form input {
            padding: 0.8rem 1rem;
            padding-right: 3rem;
            border: 2px solid var(--gray-light);
            border-radius: 50px;
            font-size: 0.9rem;
            background: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            width: 250px;
            font-family: 'Inter', sans-serif;
        }

        .search-form input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(44, 110, 73, 0.1);
            width: 300px;
        }

        .search-form button {
            position: absolute;
            right: 8px;
            background: transparent;
            border: none;
            color: var(--gray);
            cursor: pointer;
            transition: var(--transition);
        }

        .search-form button:hover {
            color: var(--primary);
        }

        /* Гамбургер-меню */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            margin: 3px 0;
            transition: var(--transition);
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* Overlay для мобильного меню */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
        }

        .overlay.active {
            display: block;
        }

        /* Hero section */
        .hero {
            background: linear-gradient(rgb(131 225 128 / 23%), rgb(88 205 88 / 48%)), url(https://habrastorage.org/webt/zt/uy/2m/ztuy2mvmzcbdjt77qqhydxga8go.jpeg) no-repeat center center / cover;
            color: #ffffff;
            text-align: center;
            padding: 10rem 1rem 6rem;
            margin-bottom: 3rem;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .hero:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary-light));
        }

        .hero-content {
            background-color: #00000029;
            max-width: 800px;
            z-index: 2;
            padding: 20px;
            border-radius: 15px;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .hero p {
            font-size: 1.5rem;
            margin: 0 auto 2.5rem;
            opacity: 0.9;
            font-family: 'Cormorant Garamond', serif;
            font-weight: 300;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #ffffff;
            opacity: 0.7;
            animation: bounce 2s infinite;
        }

        .scroll-line {
            width: 2px;
            height: 40px;
            background: #ffffff;
            margin-bottom: 10px;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
            40% {transform: translateY(-20px) translateX(-50%);}
            60% {transform: translateY(-10px) translateX(-50%);}
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Кнопки */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            font-size: 1rem;
            gap: 0.5rem;
            font-family: 'Inter', sans-serif;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            box-shadow: var(--shadow);
        }

        .btn-primary:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .pulse-animation {
            animation: pulse 2s infinite;
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        .btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .btn:hover:before {
            left: 100%;
        }

        /* Основной контент */
        .main-content {
            padding-top: 2rem;
        }

        .section-title {
            text-align: center;
            margin: 3rem 0;
            color: var(--primary);
            font-size: 3rem;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 2px;
        }

        .letter-animate {

            opacity: 0;
            animation: fadeInUp 0.5s ease forwards;
        }

        /* Фильтры и сортировка */
        .filters-container {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }

        .filters-row {
            display: flex;
            gap: 1.5rem;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            min-width: 200px;
            flex: 1;
        }

        .filter-group label {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Inter', sans-serif;
        }

        .filter-group select, .filter-group input {
            padding: 0.8rem 1rem;
            border: 2px solid var(--gray-light);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
            background: white;
            font-family: 'Inter', sans-serif;
        }

        .filter-group select:focus, .filter-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(44, 110, 73, 0.1);
        }

        .filter-reset {
            align-self: center;
            margin-left: auto;
        }

        /* Сетка статей */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2.5rem;
            margin: 3rem 0;
        }

        .article-card {
            background-color: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            opacity: 0;
            transform: translateY(20px);
        }

        .article-card:hover {
            transform: translateY(-10px) rotate(1deg);
            box-shadow: var(--shadow-hover);
        }

        .article-img {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .article-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .article-card:hover .article-img img {
            transform: scale(1.1);
        }

        .article-category {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            z-index: 2;
            font-family: 'Inter', sans-serif;
        }

        .article-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: var(--transition);
        }

        .article-card:hover .article-overlay {
            opacity: 1;
        }

        .article-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            color: var(--primary);
            font-size: 1.5rem;
            transition: var(--transition);
            transform: translateY(20px);
        }

        .article-card:hover .article-link {
            transform: translateY(0);
        }

        .article-link:hover {
            background: var(--primary);
            color: white;
        }

        .article-content {
            padding: 2rem;
        }

        .article-content h3 {
            margin-bottom: 1rem;
            color: var(--primary);
            font-size: 1.5rem;
            line-height: 1.3;
        }

        .article-content p {
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
            font-family: 'Inter', sans-serif;
        }

        .article-meta {
            display: flex;
            justify-content: space-between;
            color: #888;
            font-size: 0.9rem;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
            flex-wrap: wrap;
            gap: 0.5rem;
            font-family: 'Inter', sans-serif;
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            overflow: hidden;
            position: relative;
            font-family: 'Inter', sans-serif;
        }

        .read-more i {
            margin-left: 0.5rem;
            transition: var(--transition);
        }

        .read-more:hover {
            padding-right: 2rem;
        }

        .read-more:hover i {
            transform: translateX(5px);
        }

        .no-results {
            text-align: center;
            padding: 3rem;
            color: var(--gray);
            font-size: 1.2rem;
            grid-column: 1 / -1;
        }

        .no-results i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #ddd;
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            color: white;
            padding: 4rem 0 2rem;
            margin-top: 5rem;
            clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            justify-items: center;
        }

        .footer-section h3 {
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            color: var(--secondary);
        }

        .footer-section p {
            margin-bottom: 1.2rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.8rem;
        }

        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-section a:hover {
            color: white;
            padding-left: 5px;
        }

        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-icons a:hover {
            background: var(--secondary);
            transform: translateY(-5px);
            color: var(--dark);
        }

        .copyright {
            text-align: center;
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
        }

        /* Кнопка "Наверх" */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
            box-shadow: var(--shadow);
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-5px);
        }

        /* Анимации */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes flipUp {
            from {
                opacity: 0;
                transform: perspective(400px) rotateX(90deg);
            }
            to {
                opacity: 1;
                transform: perspective(400px) rotateX(0);
            }
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .articles-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 992px) {
            .header-content {
                flex-wrap: wrap;
            }
            
            .header-search {
                order: 3;
                width: 100%;
                margin-top: 1rem;
            }
            
            .search-form input {
                width: 100%;
            }
            
            .search-form input:focus {
                width: 100%;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.3rem;
            }
            
            .filters-row {
                flex-direction: column;
                align-items: stretch;
            }
            
            .filter-reset {
                align-self: stretch;
                text-align: center;
                margin-left: 0;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }
            
            nav {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: white;
                padding: 80px 2rem 2rem;
                transition: var(--transition);
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
            
            nav.active {
                right: 0;
            }
            
            nav ul {
                flex-direction: column;
                gap: 1rem;
            }
            
            nav a {
                display: block;
                padding: 1rem;
                border-radius: 8px;
            }
            
            nav a:hover {
                background: var(--gray-light);
            }
            
            .hero {
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .articles-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .article-meta {
                flex-direction: column;
                gap: 0.8rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                justify-items: left;
            }
            
            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
        }

        @media (max-width: 480px) {
            .logo span {
                font-size: 1.5rem;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .filters-container {
                padding: 1.5rem;
            }
            
            .article-content {
                padding: 1.5rem;
            }
            
            .article-content h3 {
                font-size: 1.3rem;
            }
        }

        /* Улучшения для фокуса и доступности */
        a:focus, button:focus, input:focus, select:focus {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        /* Улучшенная анимация появления элементов при скролле */
        [data-aos] {
            opacity: 0;
            transition: opacity 0.6s, transform 0.6s;
        }

        [data-aos].aos-animate {
            opacity: 1;
            transform: translateY(0);
        }

        [data-aos="flip-up"] {
            transform: perspective(400px) rotateX(90deg);
            opacity: 0;
            transform-origin: bottom;
        }

        [data-aos="flip-up"].aos-animate {
            opacity: 1;
            transform: perspective(400px) rotateX(0);
        }

        /* Специальные эффекты для интерактивных элементов */
        .hover-lift {
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .hover-lift:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        /* Улучшения для читаемости текста */
        .text-shadow {
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Улучшения для состояний загрузки */
        .loading-state {
            animation: pulse 1.5s infinite;
            background: #f0f0f0;
            color: transparent;
            border-radius: 4px;
        }

        /* Улучшения для выделения текста */
        ::selection {
            background: var(--primary);
            color: white;
        }

        ::-moz-selection {
            background: var(--primary);
            color: white;
        }