/**
 * PUBGHACK.RU - Основные стили
 * Версия: 1.0.0
 * Дата: 2025-01-24
 */

/* ============================================
   CSS ПЕРЕМЕННЫЕ
   ============================================ */

:root {
    /* Цвета - PUBG Mobile стиль */
    --primary-color: #ffa500;
    --primary-hover: #ff8c00;
    --primary-glow: rgba(255, 165, 0, 0.5);
    --secondary-color: #4169e1;
    --accent-color: #ffd700;
    --accent-hover: #ffed4e;
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --bg-particles: rgba(255, 165, 0, 0.1);
    --text-color: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #999999;
    --glow-effect: 0 0 20px rgba(255, 165, 0, 0.6), 0 0 40px rgba(255, 165, 0, 0.4);
    --orange-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #4169e1 100%);
    --yellow-gradient: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    
    /* Отступы */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Размеры */
    --container-width: 1200px;
    --border-radius: 8px;
    
    /* Переходы */
    --transition: all 0.3s ease;
    
    /* Шрифты */
    --font-family: 'TildaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
}

/* ============================================
   СБРОС СТИЛЕЙ
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(65, 105, 225, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Игровой фон с элементами PUBG */
.pubg-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Сетка карты (миникарта) - отключена */
.pubg-background::before {
    display: none;
}

/* Круглые прицелы (цели) */
.pubg-crosshair {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.25;
    animation: crosshair-float 10s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.pubg-crosshair::before,
.pubg-crosshair::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    opacity: 0.4;
    box-shadow: 0 0 8px var(--primary-color);
}

.pubg-crosshair::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.pubg-crosshair::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

/* Крестообразные прицелы */
.pubg-cross {
    position: absolute;
    width: 35px;
    height: 35px;
    opacity: 0.2;
    animation: cross-rotate 15s linear infinite;
}

.pubg-cross::before,
.pubg-cross::after {
    content: '';
    position: absolute;
    background: var(--accent-color);
    box-shadow: 0 0 6px var(--accent-color);
}

.pubg-cross::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.pubg-cross::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

/* Пули/снаряды */
.pubg-bullet {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-color), 0 0 20px rgba(255, 165, 0, 0.5);
    opacity: 0.5;
    animation: bullet-trail 7s linear infinite;
}

/* Радарные линии */
.pubg-radar-line {
    position: absolute;
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
    opacity: 0.25;
    animation: radar-sweep 12s linear infinite;
    transform-origin: center;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

/* Анимированные точки (пули в полете) */
.pubg-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color), 0 0 15px rgba(255, 215, 0, 0.4);
    opacity: 0.35;
    animation: particle-float 18s ease-in-out infinite;
}

/* Анимации */
@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(150px, 150px); }
}

@keyframes crosshair-float {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
    25% { 
        transform: translate(40px, -30px) scale(1.15);
        opacity: 0.35;
    }
    50% { 
        transform: translate(-30px, 40px) scale(0.85);
        opacity: 0.3;
    }
    75% { 
        transform: translate(30px, 30px) scale(1.1);
        opacity: 0.35;
    }
}

@keyframes cross-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bullet-trail {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.4;
    }
    100% {
        transform: translate(400px, -250px) scale(0.3);
        opacity: 0;
    }
}

@keyframes radar-sweep {
    0% {
        transform: rotate(0deg) translateX(0);
        opacity: 0;
    }
    25% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.4;
    }
    75% {
        opacity: 0.35;
    }
    100% {
        transform: rotate(360deg) translateX(0);
        opacity: 0;
    }
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.25;
    }
    25% {
        opacity: 0.4;
    }
    50% {
        transform: translate(150px, -200px);
        opacity: 0.45;
    }
    75% {
        opacity: 0.35;
    }
}

/* Позиционирование элементов - круглые прицелы */
.pubg-crosshair:nth-child(1) {
    top: 12%;
    left: 8%;
    animation-delay: 0s;
}

.pubg-crosshair:nth-child(2) {
    top: 58%;
    left: 78%;
    animation-delay: 2.5s;
}

.pubg-crosshair:nth-child(3) {
    top: 82%;
    left: 22%;
    animation-delay: 4.5s;
}

.pubg-crosshair:nth-child(4) {
    top: 28%;
    left: 88%;
    animation-delay: 1.2s;
}

/* Крестообразные прицелы */
.pubg-cross:nth-child(5) {
    top: 23%;
    left: 52%;
    animation-delay: 0s;
}

.pubg-cross:nth-child(6) {
    top: 68%;
    left: 38%;
    animation-delay: 3.2s;
}

.pubg-cross:nth-child(7) {
    top: 43%;
    left: 12%;
    animation-delay: 1.8s;
}

/* Пули/снаряды */
.pubg-bullet:nth-child(8) {
    top: 18%;
    left: 3%;
    animation-delay: 0s;
}

.pubg-bullet:nth-child(9) {
    top: 48%;
    left: 92%;
    animation-delay: 2.3s;
}

.pubg-bullet:nth-child(10) {
    top: 73%;
    left: 28%;
    animation-delay: 4.8s;
}

/* Радарные линии */
.pubg-radar-line:nth-child(11) {
    top: 8%;
    left: 18%;
    animation-delay: 0s;
}

.pubg-radar-line:nth-child(12) {
    top: 48%;
    left: 62%;
    animation-delay: 5.5s;
}

/* Анимированные частицы */
.pubg-particle:nth-child(13) {
    top: 33%;
    left: 6%;
    animation-delay: 1.5s;
}

.pubg-particle:nth-child(14) {
    top: 63%;
    left: 72%;
    animation-delay: 3.5s;
}

.pubg-particle:nth-child(15) {
    top: 87%;
    left: 48%;
    animation-delay: 2.2s;
}

/* Контейнер контента поверх частиц */
.main {
    position: relative;
    z-index: 1;
}

/* Адаптивность для мобильных */
@media (max-width: 959px) {
    .pubg-crosshair {
        width: 35px;
        height: 35px;
    }
    
    .pubg-cross {
        width: 28px;
        height: 28px;
    }
    
    .pubg-bullet {
        width: 4px;
        height: 4px;
    }
    
    .pubg-radar-line {
        width: 200px;
    }
    
    .pubg-particle {
        width: 2px;
        height: 2px;
    }
}

@media (max-width: 639px) {
    
    .pubg-crosshair {
        width: 30px;
        height: 30px;
        opacity: 0.15;
    }
    
    .pubg-cross {
        width: 25px;
        height: 25px;
        opacity: 0.12;
    }
    
    .pubg-bullet {
        width: 3px;
        height: 3px;
        opacity: 0.3;
    }
    
    .pubg-radar-line {
        width: 150px;
        opacity: 0.15;
    }
    
    .pubg-particle {
        width: 2px;
        height: 2px;
        opacity: 0.25;
    }
}

/* ============================================
   БАЗОВЫЕ ЭЛЕМЕНТЫ
   ============================================ */

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ============================================
   КОНТЕЙНЕР
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ============================================
   ЗАГОЛОВКИ
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-xxl);
}

h2 {
    font-size: var(--font-size-xl);
}

h3 {
    font-size: var(--font-size-lg);
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 140, 66, 0.1) 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
    text-decoration: none;
}

.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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.25) 0%, rgba(255, 140, 66, 0.2) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 140, 66, 0.1) 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--primary:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.25) 0%, rgba(255, 140, 66, 0.2) 100%);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1199px) {
    :root {
        --container-width: 960px;
    }
}

@media (max-width: 959px) {
    :root {
        --container-width: 100%;
        --font-size-xxl: 28px;
        --font-size-xl: 22px;
    }
}

@media (max-width: 639px) {
    :root {
        --font-size-xxl: 24px;
        --font-size-xl: 20px;
        --spacing-md: 1.5rem;
    }
}

/* ============================================
   УТИЛИТЫ
   ============================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(241, 237, 236, 0.8));
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__top {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    flex-wrap: nowrap;
}

.header__logo {
    position: relative;
}

.header__logo a {
    display: inline-block;
    transition: var(--transition);
}

.header__logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.6)) 
            drop-shadow(0 0 30px rgba(255, 165, 0, 0.4))
            brightness(1.1);
    transition: var(--transition);
    position: relative;
    animation: logo-pulse 3s ease-in-out infinite;
}

.header__logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
    animation: logo-glow 3s ease-in-out infinite;
}

.header__logo:hover::before {
    opacity: 1;
    animation: logo-glow-hover 1.5s ease-in-out infinite;
}

.header__logo:hover img {
    filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.9)) 
            drop-shadow(0 0 40px rgba(255, 165, 0, 0.6))
            brightness(1.2);
    transform: scale(1.05);
    animation: logo-pulse-hover 1.5s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.6)) 
                drop-shadow(0 0 30px rgba(255, 165, 0, 0.4))
                brightness(1.1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.8)) 
                drop-shadow(0 0 35px rgba(255, 165, 0, 0.6))
                brightness(1.15);
    }
}

@keyframes logo-pulse-hover {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.9)) 
                drop-shadow(0 0 40px rgba(255, 165, 0, 0.6))
                brightness(1.2);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 165, 0, 1)) 
                drop-shadow(0 0 50px rgba(255, 165, 0, 0.8))
                brightness(1.3);
    }
}

@keyframes logo-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes logo-glow-hover {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.header__nav {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: nowrap;
    align-items: center;
}

.header__nav-link {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    position: relative;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.header__nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 165, 0, 0.1);
}

.header__nav-link:hover::after {
    width: calc(100% - 24px);
}

.header__nav-link--lang {
    font-weight: 600;
}

/* Кнопка-гамбургер для мобильного меню */
.header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.header__menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

.header__menu-toggle:hover span {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
    border-top: 2px solid rgba(255, 165, 0, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
    opacity: 0.6;
}

.footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-lg);
    align-items: start;
    margin-bottom: var(--spacing-lg);
}

.footer__translate-block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

@media (max-width: 959px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
}

.footer__logo {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.footer__logo a {
    display: inline-block;
    transition: var(--transition);
}

.footer__logo img {
    height: 33px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5)) 
            drop-shadow(0 0 20px rgba(255, 165, 0, 0.3))
            brightness(1.1);
    transition: var(--transition);
    opacity: 0.9;
    animation: logo-pulse-footer 4s ease-in-out infinite;
}

.footer__logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.footer__logo:hover::before {
    opacity: 1;
}

.footer__logo:hover img {
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.7)) 
            drop-shadow(0 0 30px rgba(255, 165, 0, 0.5))
            brightness(1.2);
    opacity: 1;
    transform: scale(1.05);
    animation: logo-pulse-footer-hover 2s ease-in-out infinite;
}

@keyframes logo-pulse-footer {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5)) 
                drop-shadow(0 0 20px rgba(255, 165, 0, 0.3))
                brightness(1.1);
        opacity: 0.9;
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 165, 0, 0.6)) 
                drop-shadow(0 0 25px rgba(255, 165, 0, 0.4))
                brightness(1.12);
        opacity: 0.95;
    }
}

@keyframes logo-pulse-footer-hover {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.7)) 
                drop-shadow(0 0 30px rgba(255, 165, 0, 0.5))
                brightness(1.2);
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(255, 165, 0, 0.8)) 
                drop-shadow(0 0 35px rgba(255, 165, 0, 0.6))
                brightness(1.25);
    }
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.footer__nav-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer__nav-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--font-size-sm);
    line-height: 1.6;
    position: relative;
}

.footer__nav-link:hover {
    color: var(--primary-color);
    padding-left: 8px;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

/* Social links removed */

.footer__bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.footer__disclaimer,
.footer__legal,
.footer__contact {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.footer__disclaimer a,
.footer__legal a,
.footer__contact a {
    color: var(--primary-color);
}

.footer__copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 165, 0, 0.15);
}

/* Yandex Translate Widget Styles */
.footer__translate-block {
    min-width: 220px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-left: auto;
    padding-left: var(--spacing-md);
}

.footer__nav-group--translate {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: 100%;
    max-width: 220px;
}

.footer__nav-group--translate .footer__nav-title {
    text-align: right;
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
}

.footer__translate-wrapper {
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    margin-top: var(--spacing-xs);
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    overflow: visible;
}

#ytWidget {
    display: inline-block !important;
    margin-top: var(--spacing-xs);
    min-height: 32px;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    text-align: right;
}

/* Стили для выпадающего меню виджета - предотвращаем выход за края */
#ytWidget > div {
    right: 0 !important;
    left: auto !important;
    transform-origin: top right !important;
}

/* Если виджет использует iframe */
#ytWidget iframe {
    right: 0 !important;
    left: auto !important;
    max-width: calc(100vw - 2rem) !important;
}

/* Контейнер для выпадающего меню виджета */
#ytWidget > div[style*="position"] {
    right: 0 !important;
    left: auto !important;
    max-width: calc(100vw - 2rem) !important;
}

/* Адаптивность для виджета перевода */
@media (max-width: 959px) {
    .footer__translate-block {
        min-width: auto;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        justify-content: center;
        margin-top: var(--spacing-md);
    }
    
    .footer__nav-group--translate {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .footer__nav-group--translate .footer__nav-title {
        text-align: center;
        white-space: normal;
    }
    
    .footer__translate-wrapper {
        text-align: center;
        padding-top: var(--spacing-sm);
        justify-content: center;
        align-items: center;
    }
    
    #ytWidget {
        display: flex !important;
        justify-content: center;
        width: 100%;
        min-height: 32px;
        text-align: center;
    }
    
    #ytWidget > div,
    #ytWidget iframe {
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        max-width: calc(100vw - 2rem) !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 140, 66, 0.1) 30%, rgba(65, 105, 225, 0.15) 70%, rgba(65, 105, 225, 0.1) 100%);
    opacity: 0.8;
    animation: pulse-glow 6s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 165, 0, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(65, 105, 225, 0.08) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: gradient-shift 10s ease infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.1); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero__text {
    position: relative;
}

.hero__title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    animation: fade-in-up 0.8s ease-out;
}

.hero__title span {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.5);
}

.hero__subtitle {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.hero__description {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.hero__image {
    position: relative;
    text-align: center;
    animation: fade-in-right 1s ease-out 0.6s both;
}

.hero__image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(255, 165, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

/* Hero CTA Buttons */
.hero__actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

.hero__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.hero__cta-btn:first-child {
    background: var(--yellow-gradient);
    color: #000;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.hero__cta-btn:first-child:hover {
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
    color: #000;
}

.hero__cta-btn--outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero__cta-btn--outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 165, 0, 0.1);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero__stats {
    display: flex;
    gap: var(--spacing-lg);
    animation: fade-in-up 0.8s ease-out 0.8s both;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--border-radius);
    min-width: 100px;
    transition: all 0.3s ease;
}

.hero__stat:hover {
    border-color: var(--primary-color);
    background: rgba(255, 165, 0, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.hero__stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */

.advantages {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
    border-bottom: 1px solid rgba(255, 165, 0, 0.15);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.advantages__item {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(255, 165, 0, 0.04);
    border: 1px solid rgba(255, 165, 0, 0.12);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantages__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantages__item:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(255, 165, 0, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.15);
}

.advantages__item:hover::before {
    opacity: 1;
}

.advantages__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.25);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.advantages__item:hover .advantages__icon {
    background: rgba(255, 165, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    transform: scale(1.1);
}

.advantages__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.advantages__text {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 959px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .advantages__item {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .advantages {
        padding: var(--spacing-lg) 0;
    }
}

/* ============================================
   CATEGORIES NAVIGATION
   ============================================ */

.categories-nav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.categories-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
    animation: slide-shine 3s infinite;
}

@keyframes slide-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.categories-nav__list {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.categories-nav__link {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 165, 0, 0.3);
    background: rgba(255, 165, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.categories-nav__link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.categories-nav__link:hover svg {
    opacity: 1;
    stroke: var(--primary-color);
}

.categories-nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.2), transparent);
    transition: left 0.5s;
}

.categories-nav__link:hover::before {
    left: 100%;
}

.categories-nav__link:hover {
    color: var(--primary-color);
    background: rgba(255, 165, 0, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   SEARCH SECTION
   ============================================ */

.search-section {
    padding: var(--spacing-lg) 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
}

.search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-xs);
}

.search__input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search__icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.search__input-wrapper:focus-within .search__icon {
    color: var(--primary-color);
}

.search__input {
    flex: 1;
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.8);
    transition: var(--transition);
}

.search__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.95);
}

.search__input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.search__button {
    padding: 14px 32px;
    background: var(--yellow-gradient);
    color: #000000;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.search__button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.search-no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
    font-size: var(--font-size-lg);
    margin: var(--spacing-lg) 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.search-no-results p {
    margin: 0;
    color: var(--text-muted);
}

/* ============================================
   CATALOG SECTIONS
   ============================================ */

.catalog-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 0.5) 100%);
    position: relative;
    scroll-margin-top: 100px; /* Отступ сверху для якорей - учитывает высоту header */
}

/* Дополнительный отступ для заголовков секций */
.catalog-section__title {
    scroll-margin-top: 100px;
}

.catalog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
    opacity: 0.5;
}

.catalog-section__title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: var(--spacing-sm);
}

.catalog-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.catalog-section__description {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    line-height: 1.8;
    font-size: var(--font-size-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-section__description a {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    font-weight: 600;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Product Card Styles */
.catalog__item {
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(5, 5, 5, 0.9) 100%);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.catalog__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog__item:hover::after {
    opacity: 1;
}

/* Плавное появление товаров при прокрутке */
.catalog__item--visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.catalog__item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(255, 165, 0, 0.25), 0 0 0 1px rgba(255, 165, 0, 0.1);
    transform: translateY(-8px);
}

.catalog__item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog__item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    min-height: 200px;
}

.catalog__item-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.9), transparent);
    z-index: 3;
    pointer-events: none;
}

/* Shimmer эффект только если изображение не загружено */
.catalog__item-image:not(.image-loaded) {
    background-image: 
        linear-gradient(90deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 50%, rgba(255, 165, 0, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.catalog__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

/* Placeholder для загрузки изображений */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(65, 105, 225, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.image-placeholder::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 165, 0, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.catalog__item-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.3s ease;
    z-index: 1;
    will-change: opacity;
}

/* Если изображение уже загружено при рендеринге */
.catalog__item-image-main[src]:not([data-src]) {
    opacity: 1;
}

.catalog__item-image-main.loaded {
    opacity: 1;
}

.catalog__item-image-main.loading {
    opacity: 0.2;
}

.catalog__item-image-main.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

.catalog__item-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

/* Убираем shimmer анимацию когда изображение загружено */
.catalog__item-image.image-loaded {
    background-image: none;
    animation: none;
}

.catalog__item:hover .catalog__item-image-main {
    opacity: 0;
    transform: scale(1.05);
}

.catalog__item:hover .catalog__item-image-hover {
    opacity: 1;
    transform: scale(1.05);
}

.catalog__item-content {
    padding: var(--spacing-md);
    padding-right: calc(var(--spacing-md) + 12px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.catalog__item-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.catalog__item-description {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.catalog__item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    gap: 1rem;
    min-width: 0;
}

.catalog__item-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Выравнивание символа рубля */
.catalog__item-price .ruble {
    display: inline-block;
    vertical-align: 0.1em;
    margin-left: 2px;
    font-size: 0.9em;
}

.catalog__item-btn {
    padding: 8px 16px;
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
}

.catalog__item:hover .catalog__item-btn {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.5);
    transform: translateY(-1px);
}

/* ============================================
   АДАПТИВНОСТЬ HEADER/FOOTER
   ============================================ */

@media (max-width: 959px) {
    .header__inner {
        flex-direction: column;
        align-items: center;
    }

    .header__nav {
        justify-content: center;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer__nav {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .footer__socials {
        justify-content: center;
    }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }

    .hero__title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero__subtitle {
        font-size: 20px;
    }

    .hero__description {
        font-size: 16px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .categories-nav__list {
        flex-direction: column;
        align-items: center;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 639px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .header__top {
        padding: 10px 0;
        position: relative;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    .header__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-sm);
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .header__logo {
        flex-shrink: 0;
        z-index: 1;
    }

    .header__menu-toggle {
        display: flex !important;
        z-index: 1002;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(255, 165, 0, 0.3);
        position: relative;
        flex-shrink: 0;
        min-width: 30px;
        min-height: 30px;
        margin: 0;
        outline: none;
    }

    .header__menu-toggle:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    .header__menu-toggle:active {
        transform: scale(0.95);
    }

    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 165, 0, 0.2);
        border-bottom: 1px solid rgba(255, 165, 0, 0.2);
        flex-direction: column;
        gap: 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        box-sizing: border-box;
        z-index: 1000;
    }

    .header__nav.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

    .header__nav-link {
        font-size: 14px;
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 165, 0, 0.1);
        transition: background 0.3s ease;
    }

    .header__nav-link:last-child {
        border-bottom: none;
    }

    .header__nav-link:hover {
        background: rgba(255, 165, 0, 0.15);
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .catalog-section__title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .footer__nav {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer__nav-group {
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }

    .hero {
        padding: var(--spacing-md) 0;
        min-height: 400px;
    }

    .hero__title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__description {
        font-size: 14px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta-btn {
        font-size: var(--font-size-sm);
        padding: 12px 20px;
    }

    .hero__stats {
        flex-direction: row;
        gap: var(--spacing-sm);
        justify-content: center;
    }

    .hero__stat {
        padding: var(--spacing-xs) var(--spacing-sm);
        min-width: 80px;
    }

    .hero__stat-number {
        font-size: 22px;
    }

    .hero__stat-label {
        font-size: 10px;
    }

    .catalog-section__title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .catalog__item-image {
        height: 150px;
    }

    .catalog__item-content {
        padding: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .catalog__item-title {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xs);
    }

    .catalog__item-description {
        font-size: 11px;
        margin-bottom: var(--spacing-xs);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .catalog__item-footer {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
        padding-top: var(--spacing-xs);
    }

    .catalog__item-price {
        font-size: var(--font-size-base);
        text-align: center;
    }

    .catalog__item-btn {
        padding: 6px 8px;
        font-size: 11px;
        letter-spacing: 0.3px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .container {
        width: 100%;
        padding: 0 var(--spacing-sm);
        box-sizing: border-box;
    }

    .main {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================
   PRODUCT PAGE
   ============================================ */

.product-page {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.product-page .container {
    max-width: 2000px;
}

.product-page__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.product-page__gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-page__main-image {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.product-page__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-md);
}

.product-page__gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.product-page__gallery-thumb {
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.product-page__gallery-thumb:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.product-page__gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-page__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-page__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

.product-page__price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.product-page__description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-light);
    margin: var(--spacing-md) 0;
}

.product-page__buy-btn {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Заголовок страницы */
.product-page__main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    line-height: 1.2;
    position: relative;
    padding-bottom: var(--spacing-md);
}

.product-page__main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

/* Секции */
.product-page__section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(145deg, rgba(15, 15, 25, 0.6) 0%, rgba(10, 10, 18, 0.7) 100%);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    max-width: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-page__section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.4), transparent);
}

.product-page__section:hover {
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 165, 0, 0.05);
}

.product-page__section--wide {
    max-width: 100%;
}

.product-page__section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.15);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(255, 165, 0, 0.15);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Видео секция */
.product-page__video-section {
    margin-bottom: var(--spacing-xl);
}

.product-page__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8) 0%, rgba(10, 10, 20, 0.9) 50%, rgba(30, 20, 40, 0.8) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

/* Анимированный фон для видео блока */
.product-page__video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 165, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(65, 105, 225, 0.1) 0%, transparent 60%);
    animation: video-bg-pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Пульсирующие круги вокруг кнопки play */
.product-page__video-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 50%;
    animation: video-ripple 3s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes video-bg-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes video-ripple {
    0% {
        width: 120px;
        height: 120px;
        opacity: 0.6;
    }
    50% {
        width: 180px;
        height: 180px;
        opacity: 0.3;
    }
    100% {
        width: 240px;
        height: 240px;
        opacity: 0;
    }
}

/* Плавающие частицы для видео блока */
.product-page__video-wrapper {
    /* Создаем несколько псевдоэлементов для частиц через box-shadow */
}

/* Скрываем анимацию когда видео играет */
.product-page__video-wrapper.playing::before,
.product-page__video-wrapper.playing::after {
    display: none;
}

.product-page__video-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

.product-page__video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.product-page__video-wrapper video[src=""] {
    display: none;
}

.product-page__video-caption {
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
    font-size: var(--font-size-small, 0.9rem);
    color: var(--text-muted, rgba(255, 248, 225, 0.7));
}

.product-page__video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.product-page__video-play-btn:hover {
    background: rgba(255, 165, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

.product-page__video-play-btn svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
    margin-left: 5px;
}

.product-page__video-wrapper.playing .product-page__video-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Опции покупки */
.product-page__buy-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
}

.product-page__buy-option {
    padding: 16px 32px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, rgba(35, 30, 20, 0.9), rgba(25, 20, 15, 0.95)) !important;
    color: #fff8e1 !important;
    border: 2px solid rgba(255, 165, 0, 0.3) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 165, 0, 0.1);
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
    min-width: 200px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.product-page__buy-option > * {
    position: relative;
    z-index: 2;
}

.product-page__buy-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.product-page__buy-option:hover::before {
    opacity: 1;
}

.product-page__buy-option:hover {
    color: #fffef7 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.4);
    background: rgba(40, 40, 40, 0.9) !important;
    border-color: rgba(255, 165, 0, 0.6) !important;
    text-shadow: 0 0 8px rgba(255, 248, 225, 0.5);
}

.product-page__buy-more {
    text-align: left;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 165, 0, 0.1);
}

/* Системные требования */
.product-page__requirements {
    margin-top: var(--spacing-sm);
}

.product-page__requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.product-page__requirements-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05), rgba(255, 165, 0, 0.02));
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.product-page__requirements-item:hover {
    background: rgba(255, 165, 0, 0.08);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.08);
}

.product-page__requirements-item strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 140px;
}

/* Функционал */
.product-page__section:has(.product-page__features) {
    padding: var(--spacing-md) var(--spacing-sm);
}

.product-page__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    width: 100%;
}

.product-page__features-column {
    padding: var(--spacing-sm) var(--spacing-xs);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: var(--border-radius);
    text-align: left;
}

.product-page__features-column h3 {
    color: rgba(255, 165, 0, 0.7);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-xs) 0;
    padding: 0 0 var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    text-align: left;
}

.product-page__features-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left;
}

.product-page__features-column ul li {
    padding: 6px 8px 6px 0 !important;
    margin: 2px 0 2px 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid transparent;
    text-align: left;
    white-space: normal;
    word-spacing: normal;
    list-style: none !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: default;
    position: relative;
}

.product-page__features-column ul li:hover {
    color: var(--primary-color);
    background: rgba(255, 165, 0, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.1);
}

.product-page__features-column ul li:last-child {
    border-bottom: none;
}

.product-page__features-column p {
    color: var(--text-light);
    line-height: 1.4;
    margin: var(--spacing-xs) 0 0 0;
    font-size: 0.85rem;
    text-align: left;
    padding: 0 var(--spacing-xs);
}

@media (max-width: 1024px) {
    .product-page__features {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 959px) {
    .product-page__features {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* Меню программы */
.product-page__menu-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    width: 100%;
}

.product-page__menu-image-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.product-page__menu-image-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    transform: translateY(-5px);
}

.product-page__menu-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.product-page__menu-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Галерея */
.product-page__gallery-section {
    margin-top: var(--spacing-md);
}

.product-page__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-md);
    width: 100%;
    max-width: 100%;
}

.product-page__gallery-item {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-page__gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-page__gallery-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.25), 0 0 0 1px rgba(255, 165, 0, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.product-page__gallery-item:hover::after {
    opacity: 1;
}

.product-page__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-page__gallery-item:hover img {
    transform: scale(1.05);
}

/* Видео сетка */
.product-page__videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 100%;
}

/* Подробное описание */
.product-page__detailed-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: var(--font-size-base);
    max-width: 100%;
}

.product-page__detailed-description p {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.product-page__detailed-description p:first-child {
    font-size: 1.05em;
    color: rgba(255, 248, 225, 0.95);
}

.product-page__detailed-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.product-page__detailed-description p:last-child {
    margin-bottom: 0;
}

/* Модальное окно галереи */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.gallery-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

.gallery-modal__image {
    max-width: 100%;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 0 40px rgba(255, 165, 0, 0.5);
}

.gallery-modal__close,
.gallery-modal__prev,
.gallery-modal__next {
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 165, 0, 0.5);
    color: #ffffff;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10002;
}

.gallery-modal__close:hover,
.gallery-modal__prev:hover,
.gallery-modal__next:hover {
    background: rgba(255, 165, 0, 0.3);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
    transform: scale(1.1);
}

.gallery-modal__close {
    top: 30px;
    right: 30px;
}

.gallery-modal__prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal__prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal__next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal__next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Адаптивность для страницы товара */
@media (max-width: 1024px) {
    .product-page__features {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 959px) {
    .product-page__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .product-page__title {
        font-size: 28px;
    }

    .product-page__price {
        font-size: 24px;
    }

    .product-page__main-title {
        font-size: 2rem;
    }

    .product-page__section {
        padding: var(--spacing-md);
    }

    .product-page__section-title {
        font-size: 1.5rem;
    }

    .product-page__videos-grid {
        grid-template-columns: 1fr;
    }

    .product-page__features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .gallery-modal__content {
        padding: 40px 20px;
    }

    .gallery-modal__image {
        max-height: calc(90vh - 80px);
    }

    .gallery-modal__close,
    .gallery-modal__prev,
    .gallery-modal__next {
        width: 40px;
        height: 40px;
    }

    .gallery-modal__close {
        top: 10px;
        right: 10px;
    }

    .gallery-modal__prev {
        left: 10px;
    }

    .gallery-modal__next {
        right: 10px;
    }

    .product-page__requirements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .product-page {
        padding: var(--spacing-md) 0;
    }

    .product-page__title {
        font-size: 24px;
    }

    .product-page__price {
        font-size: 20px;
    }

    .product-page__description {
        font-size: var(--font-size-base);
    }

    .product-page__main-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-lg);
    }

    .product-page__section {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }

    .product-page__section-title {
        font-size: 1.25rem;
    }

    .product-page__buy-options {
        flex-direction: column;
        align-items: stretch;
    }

    .product-page__buy-option {
        min-width: auto;
        width: 100%;
    }

    .product-page__features {
        grid-template-columns: 1fr;
    }

    .product-page__gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-modal__content {
        padding: 50px 60px;
    }

    .gallery-modal__close,
    .gallery-modal__prev,
    .gallery-modal__next {
        width: 48px;
        height: 48px;
    }

    .gallery-modal__close {
        top: 20px;
        right: 20px;
    }

    .gallery-modal__prev {
        left: 20px;
    }

    .gallery-modal__next {
        right: 20px;
    }

    .product-page__video-play-btn {
        width: 60px;
        height: 60px;
    }

    .product-page__video-play-btn svg {
        width: 30px;
        height: 30px;
    }

    .gallery-modal__prev,
    .gallery-modal__next {
        width: 40px;
        height: 40px;
    }

    .gallery-modal__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--yellow-gradient);
    color: #000000;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-hover);
}

.scroll-to-top:active {
    transform: translateY(-3px) scale(1.05);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(10, 10, 10, 0.6) 100%);
    border-top: 1px solid rgba(255, 165, 0, 0.2);
}

.info-content {
    max-width: 1100px;
    margin: 0 auto;
}

.info-block {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(5, 5, 5, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

.info-block:hover {
    border-color: rgba(255, 165, 0, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(255, 165, 0, 0.15);
}

.info-block__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.info-block__text:last-child {
    margin-bottom: 0;
}

.info-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0 0;
}

.info-feature {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(255, 165, 0, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.info-feature:last-child {
    margin-bottom: 0;
}

.info-feature__name {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    margin-right: 8px;
}

.info-feature__desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .info-block {
        padding: var(--spacing-md);
    }

    .info-block__title {
        font-size: 20px;
    }

    .info-block__text {
        font-size: 13px;
    }

    .info-feature__name {
        font-size: 14px;
        display: block;
        margin-bottom: 5px;
    }

    .info-feature__desc {
        font-size: 13px;
    }
}

/* ============================================
   PAGE CONTENT STYLES
   ============================================ */

.page-section {
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    text-transform: none;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
}

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.page-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    text-shadow: none;
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.intro-text,
.page-intro {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 165, 0, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.page-content ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
    color: var(--text-light);
}

.page-content li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.page-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.page-content h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.page-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.page-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 165, 0, 0.2);
}

.page-actions .btn {
    min-width: 200px;
}

.example-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.example-box p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 26px;
        letter-spacing: 0.3px;
    }

    .page-content {
        padding: var(--spacing-md);
    }

    .page-content h2 {
        font-size: 22px;
    }

    .page-content p,
    .page-content li {
        font-size: 15px;
    }

    .intro-text,
    .page-intro {
        font-size: 16px;
    }

    .page-content h3 {
        font-size: 19px;
    }

    .page-content h4 {
        font-size: 16px;
    }

    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-actions .btn {
        width: 100%;
    }
}

/* ============================================
   GUARANTEES PAGE
   ============================================ */

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.guarantee-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: var(--transition);
}

.guarantee-item:hover {
    border-color: var(--primary-color);
    background: rgba(255, 165, 0, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.2);
}

.guarantee-item__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.guarantee-item__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .guarantee-item {
        padding: var(--spacing-md);
    }

    .guarantee-item__title {
        font-size: 20px;
    }

    .guarantee-item__text {
        font-size: 14px;
    }
}

/* ============================================
   404 ERROR PAGE
   ============================================ */

.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.error-404::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.05) 30%, rgba(65, 105, 225, 0.1) 70%, rgba(65, 105, 225, 0.05) 100%);
    opacity: 0.6;
    animation: pulse-glow 6s ease-in-out infinite;
    pointer-events: none;
}

.error-404__content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.error-404__number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--spacing-lg);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
}

.error-404__digit {
    color: var(--text-color);
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
    animation: error-digit 2s ease-in-out infinite;
    position: relative;
}

.error-404__digit:nth-child(1) {
    animation-delay: 0s;
}

.error-404__digit--glow {
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(255, 165, 0, 0.8), 
                 0 0 60px rgba(255, 165, 0, 0.6),
                 0 0 80px rgba(255, 165, 0, 0.4);
    animation: error-digit-glow 2s ease-in-out infinite;
}

.error-404__digit:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes error-digit {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
}

@keyframes error-digit-glow {
    0%, 100% {
        transform: translateY(0) scale(1);
        text-shadow: 0 0 40px rgba(255, 165, 0, 0.8), 
                     0 0 60px rgba(255, 165, 0, 0.6),
                     0 0 80px rgba(255, 165, 0, 0.4);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        text-shadow: 0 0 50px rgba(255, 165, 0, 1), 
                     0 0 80px rgba(255, 165, 0, 0.8),
                     0 0 100px rgba(255, 165, 0, 0.6);
    }
}

.error-404__title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.error-404__subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
}

.error-404__description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn--secondary {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 140, 66, 0.05) 100%);
    color: var(--text-light);
    border: 2px solid rgba(255, 165, 0, 0.3);
}

.btn--secondary:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 140, 66, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    transform: translateY(-1px);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .error-404__number {
        font-size: 80px;
        gap: 15px;
    }

    .error-404__title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .error-404__subtitle {
        font-size: 20px;
    }

    .error-404__description {
        font-size: 16px;
    }

    .error-404__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404__actions .btn {
        width: 100%;
    }
}

