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

: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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 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-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.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;
}

.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);
}

.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;
}

.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;
}

.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);
}

.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);
}

.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;
}

.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;
}

.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);
}

.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);
}

.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(150px, 1fr));
        gap: 15px;
    }
    
    .product-seo-article {
        padding: 25px 20px;
    }
    
    .seo-article-content {
        font-size: 14px;
    }
    
    .seo-article-content h3 {
        font-size: 20px;
    }
}

/* Страница ошибок */
.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);
}

.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;
}

.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) {
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .logo {
        font-size: 24px;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    
    .nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid var(--border);
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 10px;
        border-top: 1px solid var(--border);
        padding-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .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-disclaimer {
        font-size: 11px;
        padding: 0 10px;
    }

    .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;
    }

    .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: 32px;
    }
    
    .product-status-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .price-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .price-info {
        align-items: center;
    }
    
    .system-requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header-info {
        width: 100%;
    }

    .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;
    }

    .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);
}

.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;
}

