/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Предотвращение горизонтальной прокрутки */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Оптимизация для таблиц на мобильных */
table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #c4b5fd;
    --accent-hover: #a78bfa;
    --border: #2a2a2a;
    --gradient: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
}

/* Анимация Neon Glow */
@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(196, 181, 253, 0.5),
                     0 0 20px rgba(196, 181, 253, 0.3),
                     0 0 30px rgba(196, 181, 253, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(196, 181, 253, 0.8),
                     0 0 30px rgba(196, 181, 253, 0.6),
                     0 0 40px rgba(196, 181, 253, 0.4),
                     0 0 50px rgba(167, 139, 250, 0.3);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Оптимизация изображений для мобильных */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

video {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

/* Оптимизация для форм и инпутов */
input, textarea, select, button {
    font-size: 16px; /* Предотвращает автоматическое увеличение на iOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Оптимизация ссылок */
a {
    -webkit-tap-highlight-color: rgba(196, 181, 253, 0.2);
    touch-action: manipulation;
}

/* Предотвращение выделения текста при двойном тапе на мобильных */
@media (max-width: 768px) {
    * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    input, textarea, [contenteditable] {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    a, button {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Header */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header.sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
    left: 0;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%);
}

.menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.logo {
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 4s ease-in-out infinite;
}

.nav {
    display: flex;
    gap: 30px;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav.active {
        display: flex;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--accent);
}

.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--border);
}

.lang-link {
    padding: 5px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-link.active {
    background: var(--gradient);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.15) 0%, transparent 70%);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.6);
    z-index: 1;
}

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

.video-control-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(196, 181, 253, 0.2);
    border: 2px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

.video-control-btn:hover {
    background: rgba(196, 181, 253, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(196, 181, 253, 0.5);
}

.video-control-icon {
    display: inline-block;
    line-height: 1;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 4s ease-in-out infinite;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Products Grid */
.products-section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 4s ease-in-out infinite;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(196, 181, 253, 0.4),
                0 5px 15px rgba(196, 181, 253, 0.2),
                inset 0 0 20px rgba(196, 181, 253, 0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card:hover .product-title {
    color: var(--accent);
}

.product-card:hover .product-price {
    transform: scale(1.1);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-secondary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.4s ease;
}

.product-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(196, 181, 253, 0.1);
    color: var(--accent);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.product-card:hover .product-status {
    background: rgba(196, 181, 253, 0.2);
    transform: scale(1.05);
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    transition: transform 0.4s ease;
    display: inline-block;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: neonGlow 4s ease-in-out infinite;
}

.footer-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-disclaimer {
    max-width: 1000px;
    margin: 20px auto;
    line-height: 1.8;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer-contact {
    margin-top: 15px;
    font-size: 14px;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Секция поддержки */
.support-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.support-content {
    max-width: 1200px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.support-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(196, 181, 253, 0.2);
    background: rgba(196, 181, 253, 0.02);
}

.support-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

.support-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent);
}

.support-card-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.support-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(196, 181, 253, 0.1);
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.support-link:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.support-note {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.support-note p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

.support-note strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Информационная статья */
.info-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.info-article {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 50px;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    animation: neonGlow 4s ease-in-out infinite;
}

.article-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-list {
    margin: 20px 0;
    padding-left: 30px;
}

.article-list li {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.article-list strong {
    color: var(--text-primary);
}

.article-note {
    margin-top: 30px;
    padding: 20px;
    background: rgba(196, 181, 253, 0.15);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    color: var(--text-secondary);
}

/* Страница товара */
.product-page {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

.product-header {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.product-main-image {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.product-header-info {
    flex: 1;
}

.product-main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 4s ease-in-out infinite;
}

.product-status-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(196, 181, 253, 0.15);
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.product-details {
    display: grid;
    gap: 40px;
}

.product-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.product-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.functions-block {
    display: grid;
    gap: 30px;
}

.function-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.function-section:last-child {
    border-bottom: none;
}

.function-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.function-subsection {
    margin-bottom: 20px;
    padding-left: 15px;
}

.function-subsection:last-child {
    margin-bottom: 0;
}

.function-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 15px;
    color: var(--text-primary);
}

.function-subsection:first-child .function-subtitle {
    margin-top: 0;
}

.function-list {
    list-style: none;
    padding-left: 0;
}

.function-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.function-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.function-list-columns {
    display: grid;
    gap: 25px;
    align-items: start;
}

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

.function-list-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.function-list-columns .function-list {
    min-width: 0;
}

.function-list-columns .function-list li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 1200px) {
    .function-list-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .function-list-columns {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.prices-block {
    display: grid;
    gap: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.price-item:hover {
    border-color: var(--accent);
    background: rgba(196, 181, 253, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 181, 253, 0.2);
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.price-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 181, 253, 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    justify-content: center;
}

.price-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 181, 253, 0.4);
}

.price-button svg {
    transition: transform 0.3s ease;
}

.price-button:hover svg {
    transform: translateX(4px);
}

.payment-info-link {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.payment-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.payment-link:hover {
    color: var(--accent-hover);
    background: rgba(196, 181, 253, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.payment-link svg {
    transition: transform 0.3s ease;
}

.payment-link:hover svg {
    transform: scale(1.1);
}

.system-block {
    display: grid;
    gap: 15px;
}

.system-item {
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    color: var(--text-secondary);
}

.system-requirements-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.system-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.system-requirement-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
}

.system-requirement-item.system-requirement-warning {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.system-requirement-item:hover {
    border-color: var(--accent);
    background: rgba(196, 181, 253, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(196, 181, 253, 0.15);
}

.system-requirement-key {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.system-requirement-value {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.system-requirement-warning .system-requirement-value {
    width: 100%;
}

.loading, .error {
    text-align: center;
    padding: 60px 20px;
    font-size: 20px;
    color: var(--text-secondary);
}

/* Видео галерея */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.15) 0%, rgba(167, 139, 250, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Заглушка для видео - показываем по умолчанию */
.video-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(196, 181, 253, 0.25);
    border-radius: 50%;
    border: 4px solid var(--accent);
    z-index: 10;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(196, 181, 253, 0.4);
    opacity: 1;
    visibility: visible;
}

/* Иконка плейера */
.video-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-38%, -50%);
    width: 0;
    height: 0;
    border-left: 30px solid var(--accent);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    z-index: 11;
    transition: all 0.3s ease;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
}

.video-item:hover::before {
    background: rgba(196, 181, 253, 0.35);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 50px rgba(196, 181, 253, 0.6);
}

.video-item:hover::after {
    border-left-color: var(--accent-hover);
}

.product-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    position: relative;
    z-index: 5;
    min-height: 300px;
    background: var(--bg-secondary);
}

/* Скрываем заглушку когда видео загрузилось и показывает контент */
.video-item:not(.video-placeholder-active)::before,
.video-item:not(.video-placeholder-active)::after {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Показываем заглушку по умолчанию и когда класс активен */
.video-item.video-placeholder-active::before,
.video-item.video-placeholder-active::after {
    opacity: 1;
    visibility: visible;
}

.product-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.7);
}

.product-video-embed {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    border: none;
}

.video-item-embed {
    aspect-ratio: 16/9;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-item-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Галерея скриншотов меню */
.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.menu-image-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-image-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(196, 181, 253, 0.3);
}

.menu-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.menu-image-item:hover .menu-image {
    transform: scale(1.05);
}

/* Модальная галерея изображений */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(196, 181, 253, 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

.gallery-modal-close:hover {
    background: rgba(196, 181, 253, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(196, 181, 253, 0.5);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(196, 181, 253, 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(196, 181, 253, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(196, 181, 253, 0.5);
}

.gallery-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .gallery-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .gallery-modal-prev {
        left: 15px;
    }
    
    .gallery-modal-next {
        right: 15px;
    }
    
    .gallery-modal-content img {
        max-height: 75vh;
    }
    
    .gallery-modal-counter {
        bottom: 15px;
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* SEO статья */
.product-seo-article {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 0;
}

.seo-article-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.seo-article-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.seo-article-content p {
    margin-bottom: 20px;
}

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

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-video-embed {
        height: 300px;
    }
    
    .menu-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .menu-image-item {
        min-height: 120px;
    }
    
    .product-seo-article {
        padding: 25px 20px;
    }
    
    .seo-article-content {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .seo-article-content h3 {
        font-size: 22px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    
    .seo-article-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .seo-article-content strong {
        font-size: 16px;
    }
}

/* Страница ошибок */
.errors-page {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* Страница гарантий */
.guarantees-page {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* Страница пользовательского соглашения */
.agreement-page {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* Страница контактов */
.contacts-page {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

/* Страница 404 */
.error-404-page {
    padding: 100px 0;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.error-404-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(196, 181, 253, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.error-404-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.error-404-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.error-404-icon {
    font-size: 80px;
    display: inline-block;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 0 20px rgba(196, 181, 253, 0.5));
}

.error-404-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s ease-out infinite;
}

.error-404-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    perspective: 1000px;
}

.error-404-number {
    font-size: 120px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline-block;
    animation: numberFloat 2s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(196, 181, 253, 0.6);
    transform-style: preserve-3d;
}

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

.error-404-number:nth-child(2) {
    animation-delay: 0.2s;
    font-size: 140px;
}

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

.error-404-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(196, 181, 253, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 181, 253, 0.5);
}

.btn-primary:hover svg {
    transform: translateX(-3px);
}

.btn-secondary {
    background: rgba(196, 181, 253, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(196, 181, 253, 0.3);
}

.btn-secondary:hover svg {
    transform: rotate(5deg);
}

.error-404-links {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.error-404-links-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.error-404-links-list li {
    margin: 0;
}

.error-404-links-list a {
    color: var(--accent);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 181, 253, 0.05);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.error-404-links-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.2), transparent);
    transition: left 0.5s;
}

.error-404-links-list a:hover::before {
    left: 100%;
}

.error-404-links-list a:hover {
    background: rgba(196, 181, 253, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 181, 253, 0.2);
}

.error-404-links-list a svg {
    transition: transform 0.3s ease;
}

.error-404-links-list a:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* Анимации для страницы 404 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateY(10deg);
    }
}

.contacts-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-intro {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(196, 181, 253, 0.2);
    background: rgba(196, 181, 253, 0.02);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1;
}

.contact-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
}

.contact-card-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(196, 181, 253, 0.1);
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
}

.contact-link:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: translateX(4px);
}

.contacts-note {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contacts-note-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.contacts-note p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 16px;
}

.contacts-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contacts-info-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.contacts-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 16px;
}

.agreement-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.agreement-intro {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.agreement-intro a {
    color: var(--accent);
    text-decoration: none;
}

.agreement-intro a:hover {
    text-decoration: underline;
}

.agreement-section {
    margin-bottom: 40px;
}

.agreement-section:last-child {
    margin-bottom: 0;
}

.agreement-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.agreement-paragraph {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.agreement-paragraph strong {
    color: var(--text-primary);
    font-weight: 600;
}

.agreement-paragraph a {
    color: var(--accent);
    text-decoration: none;
}

.agreement-paragraph a:hover {
    text-decoration: underline;
}

.agreement-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.agreement-contact p {
    color: var(--text-primary);
    font-size: 16px;
}

.agreement-contact a {
    color: var(--accent);
    text-decoration: none;
}

.agreement-contact a:hover {
    text-decoration: underline;
}

.guarantees-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
    width: 100%;
}

.guarantee-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.guarantee-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(196, 181, 253, 0.2);
    background: rgba(196, 181, 253, 0.02);
}

.guarantee-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
    line-height: 1.3;
}

.guarantee-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
    flex-grow: 1;
}

.guarantee-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.guarantee-section:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(196, 181, 253, 0.15);
}

.guarantee-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.guarantee-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 15px 0;
}

.guarantee-section p:last-child {
    margin-bottom: 0;
}

.guarantee-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.guarantee-list li {
    padding: 10px 0 10px 25px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.guarantee-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 20px;
    font-weight: bold;
}

.guarantee-section-highlight {
    background: rgba(196, 181, 253, 0.08);
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px rgba(196, 181, 253, 0.1);
}

.guarantee-section-highlight:hover {
    box-shadow: 0 6px 25px rgba(196, 181, 253, 0.2);
}

.guarantee-section-warning {
    background: rgba(255, 100, 100, 0.08);
    border-left: 4px solid #ff6464;
    box-shadow: 0 4px 15px rgba(255, 100, 100, 0.1);
}

.guarantee-section-warning:hover {
    box-shadow: 0 6px 25px rgba(255, 100, 100, 0.2);
}

.guarantee-section-warning .guarantee-title {
    color: #ff6464;
}

/* Стили для страницы продавцов */
.vendors-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vendor-project-group {
    background: rgba(196, 181, 253, 0.1);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.vendor-project-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(196, 181, 253, 0.3);
}

.vendor-project-group h3 {
    color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.vendor-option {
    margin-bottom: 30px;
}

.vendor-option-featured {
    background: rgba(196, 181, 253, 0.12);
    border-left: 5px solid var(--accent);
    box-shadow: 0 5px 20px rgba(196, 181, 253, 0.2);
}

.vendor-option-premium {
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.15), rgba(139, 92, 246, 0.15));
    border-left: 5px solid #8b5cf6;
    box-shadow: 0 5px 25px rgba(139, 92, 246, 0.3);
    position: relative;
}

.vendor-option-premium::before {
    content: "⭐";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
}

.vendor-option-unlimited {
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.2), rgba(139, 92, 246, 0.2));
    border: 2px solid var(--accent);
    box-shadow: 0 8px 30px rgba(196, 181, 253, 0.4);
    position: relative;
    overflow: hidden;
}

.vendor-option-unlimited::before {
    content: "💎";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

.vendor-option-unlimited::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(196, 181, 253, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.vendor-panel-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.vendor-panel-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.vendor-panel-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(196, 181, 253, 0.2);
}

.vendor-panel-item h3 {
    color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.vendor-rebranding-note {
    margin-top: 25px;
    padding: 20px;
    background: rgba(196, 181, 253, 0.08);
    border-radius: 8px;
    border: 1px dashed var(--accent);
}

.vendor-rebranding-note p {
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 500;
}

.vendor-other-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    text-align: center;
    margin: 50px 0 30px;
}

@media (max-width: 768px) {
    .vendors-projects {
        grid-template-columns: 1fr;
    }
    
    .vendor-panel-info {
        grid-template-columns: 1fr;
    }
    
    .vendor-other-games {
        grid-template-columns: 1fr;
    }
    
    .section-subtitle {
        font-size: 24px;
    }
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 4s ease-in-out infinite;
}

.errors-list {
    display: grid;
    gap: 30px;
}

.error-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.error-item:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(196, 181, 253, 0.15);
}

.error-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
}

.error-solution {
    color: var(--text-secondary);
    line-height: 1.8;
}

.error-solution strong {
    color: var(--text-primary);
}

.error-solution a {
    color: var(--accent);
    text-decoration: none;
}

.error-solution a:hover {
    text-decoration: underline;
}

.error-solution code {
    display: block;
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent);
    border: 1px solid var(--border);
}

/* Видео-секция на странице ошибок */
.errors-video-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.errors-video-section:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(196, 181, 253, 0.15);
}

.errors-video-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
    animation: neonGlow 4s ease-in-out infinite;
}

.errors-video-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.errors-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.errors-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.errors-video-note {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.errors-video-note p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 15px;
}

.errors-video-note strong {
    color: var(--accent);
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
    
    /* Оптимизация производительности на мобильных */
    .product-card,
    .support-card,
    .guarantee-card {
        will-change: transform;
        transform: translateZ(0);
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Улучшение читаемости текста */
    p, li, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Оптимизация для длинных слов */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    
    .logo {
        font-size: 24px;
        margin-bottom: 0;
        width: auto;
        text-align: left;
    }
    
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        align-items: stretch;
        padding: 70px 0 20px;
        margin: 0;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        -webkit-overflow-scrolling: touch;
        display: flex;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        z-index: 1;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 15px 20px;
        min-height: 50px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: rgba(196, 181, 253, 0.1);
        color: var(--accent);
    }
    
    .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .lang-link {
        min-height: 44px;
        padding: 8px 16px;
    }
    
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
        border-top: 1px solid var(--border);
        padding-top: 20px;
        width: 100%;
        justify-content: center;
        gap: 15px;
        position: relative;
        z-index: 2;
    }
    
    .lang-link {
        font-size: 15px;
    }
    
    /* Затемнение фона при открытом меню */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

    .info-article {
        padding: 30px 20px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-disclaimer {
        font-size: 11px;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 5px 0;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 20px;
    }
    
    .footer-subtitle {
        font-size: 14px;
    }
    
    .footer-text {
        font-size: 13px;
    }

    .guarantee-section {
        padding: 20px;
    }

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

    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guarantee-card {
        padding: 20px;
    }

    .guarantee-card-title {
        font-size: 18px;
    }

    .guarantees-content {
        gap: 30px;
    }

    .agreement-content {
        padding: 25px 20px;
    }
    
    .contacts-page {
        padding: 40px 0;
    }
    
    .contacts-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        font-size: 40px;
    }
    
    .contact-card-title {
        font-size: 20px;
    }
    
    .contact-card-text {
        font-size: 14px;
    }
    
    .contacts-note,
    .contacts-info {
        padding: 20px;
    }
    
    .contacts-note-title,
    .contacts-info-title {
        font-size: 20px;
    }
    
    .contacts-note p,
    .contacts-info p {
        font-size: 14px;
    }

    .agreement-section-title {
        font-size: 20px;
    }

    .agreement-paragraph {
        font-size: 14px;
    }

    .agreement-intro {
        font-size: 14px;
    }
    
    .product-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .product-main-image {
        width: 100%;
        max-width: 400px;
        height: 250px;
    }

    .product-main-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .product-status-badge {
        font-size: 14px;
        padding: 8px 18px;
    }
    
    .section-heading {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .function-title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .function-subtitle {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .function-list li {
        font-size: 16px;
        line-height: 1.6;
        padding: 10px 0;
        padding-left: 20px;
    }
    
    .price-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 18px;
    }
    
    .price-info {
        align-items: center;
        width: 100%;
    }
    
    .price-value {
        font-size: 26px;
    }
    
    .price-period {
        font-size: 16px;
    }
    
    .price-button {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .system-requirements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .system-requirement-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px;
        padding: 15px 18px;
        overflow: visible;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .system-requirement-key {
        display: block !important;
        white-space: normal !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 6px;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        overflow: visible;
        text-overflow: clip;
        box-sizing: border-box;
        font-size: 17px;
        line-height: 1.4;
    }
    
    .system-requirement-value {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
        overflow: visible;
        box-sizing: border-box;
        font-size: 16px;
        line-height: 1.6;
    }
    
    .system-requirements-block {
        gap: 15px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        min-width: 0;
    }
    
    .product-section {
        padding: 25px 18px;
        margin-bottom: 30px;
        overflow: hidden;
        min-width: 0;
        max-width: 100%;
    }
    
    .product-section p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .system-requirements-grid {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    
    .product-header-info {
        width: 100%;
    }
    
    .product-header-info p {
        font-size: 16px;
        line-height: 1.6;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support-card {
        padding: 25px 20px;
    }

    .support-icon {
        font-size: 40px;
    }

    .support-card-title {
        font-size: 18px;
    }

    .support-section {
        padding: 60px 0;
    }

    .hero-video {
        display: none;
    }

    .hero {
        background-image: url('../GameIMG/body.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 350px;
    }
    
    .hero .container {
        padding: 0 15px;
    }

    .video-control-btn {
        display: none;
    }

    .scroll-to-top {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

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

    .errors-page {
        padding: 30px 0;
    }

    .errors-list {
        gap: 20px;
    }

    .error-item {
        padding: 20px 15px;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .error-title {
        font-size: 16px;
        line-height: 1.4;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .error-solution {
        font-size: 14px;
        line-height: 1.6;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .error-solution code {
        font-size: 12px;
        padding: 12px;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
        word-break: break-word;
    }

    .errors-video-section {
        padding: 25px 15px;
        margin-bottom: 30px;
    }

    .errors-video-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .errors-video-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .errors-video-container {
        margin: 0;
    }
}

/* Кнопка прокрутки вверх */
.scroll-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(196, 181, 253, 0.2);
    border: 2px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(196, 181, 253, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(196, 181, 253, 0.5);
}

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

/* Дополнительная оптимизация для очень маленьких экранов */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .nav {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 14px 18px;
    }
    
    .lang-switcher {
        gap: 12px;
    }
    
    .header-content {
        gap: 0;
    }
    
    .menu-toggle {
        width: 28px;
        height: 28px;
    }
    
    .menu-toggle span {
        height: 2.5px;
    }
    
    .support-card {
        padding: 20px 15px;
    }
    
    .support-icon {
        font-size: 36px;
    }
    
    .support-card-title {
        font-size: 16px;
    }
    
    .support-card-text {
        font-size: 13px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .price-period {
        font-size: 17px;
    }
    
    .product-main-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .section-heading {
        font-size: 22px;
        margin-bottom: 22px;
    }
    
    .function-title {
        font-size: 19px;
        margin-bottom: 16px;
    }
    
    .function-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .function-list li {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .product-section {
        padding: 20px 15px;
    }
    
    .product-section p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .price-button {
        font-size: 15px;
    }
    
    .system-requirement-item {
        display: flex !important;
        flex-direction: column !important;
        padding: 10px 12px;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        align-items: flex-start !important;
    }
    
    .system-requirement-key {
        display: block !important;
        font-size: 16px;
        line-height: 1.4;
        white-space: normal !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin-bottom: 6px;
    }
    
    .system-requirement-value {
        display: block !important;
        font-size: 15px;
        line-height: 1.6;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .system-requirement-item {
        padding: 14px 16px;
    }
    
    .system-requirements-block {
        gap: 10px;
        min-width: 0;
        max-width: 100%;
    }
    
    .product-section {
        padding: 15px 12px;
        margin-bottom: 25px;
        min-width: 0;
        max-width: 100%;
    }
    
    .section-heading {
        font-size: 22px;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .system-requirements-grid {
        min-width: 0;
        max-width: 100%;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
    
    .article-content p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .article-list {
        padding-left: 20px;
    }
    
    .article-list li {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* Оптимизация для альбомной ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 300px;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .products-section {
        padding: 50px 0;
    }
    
    .support-section {
        padding: 50px 0;
    }
}

/* Оптимизация для планшетов */
@media (min-width: 481px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .error-404-page {
        padding: 60px 0;
    }
    
    .error-404-icon {
        font-size: 60px;
    }
    
    .error-404-icon-pulse {
        width: 90px;
        height: 90px;
    }
    
    .error-404-number-wrapper {
        gap: 5px;
    }
    
    .error-404-number {
        font-size: 80px;
    }
    
    .error-404-number:nth-child(2) {
        font-size: 90px;
    }
    
    .error-404-title {
        font-size: 32px;
    }
    
    .error-404-description {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 28px;
    }
    
    .error-404-links {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .error-404-links-title {
        font-size: 20px;
    }
    
    .error-404-links-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .error-404-links-list a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-404-icon {
        font-size: 50px;
    }
    
    .error-404-icon-pulse {
        width: 70px;
        height: 70px;
    }
    
    .error-404-number-wrapper {
        gap: 3px;
    }
    
    .error-404-number {
        font-size: 60px;
    }
    
    .error-404-number:nth-child(2) {
        font-size: 70px;
    }
    
    .error-404-title {
        font-size: 24px;
    }
    
    .error-404-description {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .error-404-actions {
        gap: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .error-404-links {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .error-404-links-title {
        font-size: 18px;
    }
    
    .error-404-links-list a {
        font-size: 14px;
        padding: 10px 16px;
    }
}

