/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    animation: pageFadeIn 0.4s ease forwards; /* Анимация при загрузке страницы */
}

body.fade-out {
    animation: pageFadeOut 0.3s ease forwards; /* Анимация при уходе со страницы */
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* === НАВИГАЦИЯ === */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 15, 15, 0.6) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.nav-links { display: flex; gap: 24px; }

/* === ЖИДКАЯ КАПЛЯ В МЕНЮ (Liquid Glass) === */
.nav-item {
    color: #a1a1a1;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    padding: 8px 20px !important;
    border-radius: 12px !important;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}
.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}
.nav-item:hover::before {
    transform: translate(-50%, -50%) scale(15);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: liquid-morph 3s ease-in-out infinite;
}
@keyframes liquid-morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    33% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    66% { border-radius: 30% 70% 50% 50% / 30% 70% 50% 50%; }
}
.nav-item:hover { color: #fff !important; }

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* === КНОПКИ === */
.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-primary { background-color: #fff; color: #000; border: 1px solid #fff; }
.btn-primary:hover { background-color: #ccc; }
.btn-secondary { background-color: transparent; color: #fff; border: 1px solid #333; }
.btn-secondary:hover { border-color: #fff; background-color: rgba(255,255,255,0.1); }
.btn-large { padding: 12px 24px; font-size: 16px; }
.btn-full { width: 100%; margin-top: 10px; }

/* === ГЛАВНЫЙ ЭКРАН === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}
.hero-badge {
    background-color: #111;
    border: 1px solid #333;
    color: #a1a1a1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 32px;
}
.hero h1 { font-size: 72px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; font-weight: 700; }
.gradient-text { background: linear-gradient(to right, #fff 20%, #666 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 20px; color: #a1a1a1; max-width: 600px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; }

/* === МОДАЛЬНЫЕ ОКНА === */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center; z-index: 2000; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content { background-color: rgba(20, 20, 20, 0.8) !important; backdrop-filter: blur(40px) saturate(180%) !important; -webkit-backdrop-filter: blur(40px) saturate(180%) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.05) !important; border-radius: 12px; padding: 40px; width: 100%; max-width: 400px; position: relative; text-align: center; }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #666; font-size: 28px; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: #fff; }
.modal-content h2 { margin-bottom: 8px; font-size: 24px; }
.modal-subtitle { color: #777; margin-bottom: 24px; font-size: 14px; }
.social-buttons { display: flex; flex-direction: column; gap: 12px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; background-color: #000; border: 1px solid #444; color: #fff; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.social-btn:hover { background-color: #222; border-color: #888; }
.auth-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.auth-form input { width: 100%; padding: 14px 16px; background-color: #000; border: 1px solid #444; border-radius: 6px; color: #fff; font-size: 14px; outline: none; transition: border-color 0.2s; }
.auth-form input:focus { border-color: #fff; }
.auth-form input::placeholder { color: #666; }

/* === УВЕДОМЛЕНИЯ === */
.custom-notification { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background-color: #111; color: #fff; border: 1px solid #333; padding: 14px 24px; border-radius: 8px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 3000; opacity: 0; transition: all 0.3s ease; max-width: 90%; text-align: center; }
.custom-notification.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* === НАСТРОЙКИ И ТЕМА (С ПЛАВНОЙ АНИМАЦИЕЙ) === */
.settings-wrapper { position: relative; margin-left: 12px; }
.settings-btn { background: transparent; border: none; color: #fff; cursor: pointer; padding: 8px; border-radius: 6px; display: flex; align-items: center; transition: background 0.2s; }
.settings-btn:hover { background-color: rgba(255,255,255,0.1); }
.settings-panel { 
    position: absolute; top: 45px; right: 0; width: 280px; 
    background-color: rgba(20, 20, 20, 0.7) !important; 
    backdrop-filter: blur(30px) saturate(180%) !important; 
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(255, 255, 255, 0.05) !important; 
    border-radius: 12px; padding: 20px; flex-direction: column; gap: 16px; z-index: 1500; 
    
    /* Анимация появления (заменили display: none) */
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.95); 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; 
    pointer-events: none; 
}
.settings-panel.active { 
    opacity: 1; visibility: visible; transform: translateY(0) scale(1); 
    pointer-events: all; 
}
.settings-panel h3 { font-size: 16px; margin-bottom: 8px; }
.setting-item { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #a1a1a1; padding-bottom: 12px; border-bottom: 1px solid #222; }
.setting-item:last-child { border-bottom: none; padding-bottom: 0; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { display: none; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 22px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #fff; }
input:checked + .slider:before { transform: translateX(18px); background-color: #000; }

/* === СВЕТЛАЯ ТЕМА === */
body.light-theme { background-color: #f8f8f8; color: #000; }
body.light-theme #navbar { background-color: rgba(255, 255, 255, 0.6) !important; border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; }
body.light-theme .logo, body.light-theme .nav-item, body.light-theme .settings-btn { color: #000 !important; }
body.light-theme .nav-item::before { background-color: rgba(0, 0, 0, 0.08); }
body.light-theme .nav-item:hover { color: #000 !important; }
body.light-theme .hero-badge { background-color: #eee; border-color: #ddd; color: #333; }
body.light-theme .gradient-text { background: linear-gradient(to right, #000 20%, #888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.light-theme .hero-subtitle { color: #555; }
body.light-theme .modal-content { background-color: rgba(255, 255, 255, 0.8) !important; border: 1px solid rgba(0, 0, 0, 0.05) !important; }
body.light-theme .modal-close { color: #aaa; }
body.light-theme .modal-subtitle { color: #666; }
body.light-theme .social-btn, body.light-theme .auth-form input { background-color: #f8f8f8; border-color: #ccc; color: #000; }
body.light-theme .auth-form input::placeholder { color: #888; }
body.light-theme .settings-panel { background-color: rgba(255, 255, 255, 0.7) !important; border: 1px solid rgba(0, 0, 0, 0.05) !important; }
body.light-theme .setting-item { border-color: #eee; }
body.light-theme .btn-primary { background-color: #000; color: #fff; border-color: #000; }
body.light-theme .btn-primary:hover { background-color: #333; }
body.light-theme .btn-secondary { color: #000 !important; border-color: #ccc !important; }
body.light-theme .btn-secondary:hover { background-color: rgba(0,0,0,0.05) !important; border-color: #000 !important; }
body.light-theme .settings-btn:hover { background-color: rgba(0,0,0,0.05) !important; }

/* === ПРОДУКТЫ === */
.products-section { max-width: 1200px; margin: 0 auto; padding: 140px 24px 100px; text-align: center; }
.section-title { font-size: 48px; margin-bottom: 16px; font-weight: 700; }
.section-subtitle { font-size: 18px; color: #a1a1a1; margin-bottom: 60px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background-color: #0a0a0a; border: 1px solid #222; border-radius: 12px; padding: 32px; text-align: left; transition: all 0.3s ease; cursor: pointer; }
.product-card:hover { border-color: #444; background-color: #111; transform: translateY(-5px); }
.product-icon { font-size: 32px; margin-bottom: 20px; }
.product-card h3 { font-size: 20px; margin-bottom: 12px; }
.product-card p { color: #777; font-size: 14px; line-height: 1.6; }
.large-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; }
.card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.card-header h3 { font-size: 28px; margin: 0; }
.card-header .product-icon { font-size: 40px; margin: 0; }
.large-card p { font-size: 16px; color: #888; margin-bottom: 24px; }
.card-footer { display: flex; justify-content: flex-end; }

body.light-theme .products-section { color: #000; }
body.light-theme .section-subtitle { color: #555; }
body.light-theme .product-card { background-color: #fff; border-color: #ddd; }
body.light-theme .product-card:hover { background-color: #f8f8f8; border-color: #000; }
body.light-theme .product-card p, body.light-theme .large-card p { color: #666; }

/* === СТРАНИЦА ПРОЕКТА (VIRIVILS) === */
.project-page { max-width: 1000px; margin: 0 auto; padding: 140px 24px 60px; }
.project-header { text-align: center; margin-bottom: 40px; }
.project-header h1 { font-size: 56px; margin-bottom: 12px; }
.project-header p { font-size: 20px; color: #888; margin-bottom: 30px; }
.media-section { margin-top: 60px; }
.media-section h2 { font-size: 32px; margin-bottom: 24px; border-bottom: 1px solid #333; padding-bottom: 12px; }
.video-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; border: 1px solid #333; }
.video-thumbnail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; background-size: cover; background-position: center; cursor: pointer; display: flex; justify-content: center; align-items: center; }
.play-btn { width: 80px; height: 80px; background: rgba(255, 0, 0, 0.8); border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: transform 0.2s, background 0.2s; }
.play-btn:hover { transform: scale(1.1); background: rgba(255, 0, 0, 1); }
.play-btn::after { content: ""; border-left: 25px solid white; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 8px; }
.screenshots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.screenshot-img { width: 100%; height: 100%; border-radius: 8px; border: 1px solid #333; transition: transform 0.3s; cursor: pointer; }
.screenshot-img:hover { transform: scale(1.02); border-color: #555; }

.download-block { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.version-text { color: #888; font-size: 14px; font-family: monospace; }
.btn-download { font-size: 18px; padding: 16px 32px; background-color: #0070f3; color: #fff; border-color: #0070f3; }
.btn-download:hover { background-color: #005bb5; border-color: #005bb5; }

body.light-theme .project-page h1, body.light-theme .project-header h1, body.light-theme .media-section h2, body.light-theme .large-card h3 { color: #000; }
body.light-theme .project-header p, body.light-theme .large-card p { color: #555; }
body.light-theme .media-section h2 { border-bottom-color: #ddd; }
body.light-theme .video-container, body.light-theme .screenshot-img, body.light-theme .large-card { border-color: #ddd; }
body.light-theme .large-card { background-color: #fff; }
body.light-theme .btn-download { background-color: #000; color: #fff; border-color: #000; }
body.light-theme .version-text { color: #555; }

/* === КАСТОМНОЕ МЕНЮ === */
.custom-menu { display: none; position: fixed; background-color: #111; border: 1px solid #333; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); padding: 8px 0; z-index: 5000; min-width: 200px; }
.menu-item { padding: 10px 20px; color: #ccc; font-size: 14px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.menu-item:hover { background-color: #222; color: #fff; }
body.light-theme .custom-menu { background-color: #fff; border-color: #ddd; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
body.light-theme .menu-item { color: #333; }
body.light-theme .menu-item:hover { background-color: #f0f0f0; color: #000; }

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 48px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; }
    .hero-buttons button { width: 100%; }
    .products-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 36px; }
    .screenshots-grid { grid-template-columns: 1fr; }
    .project-header h1 { font-size: 40px; }
}

/* === АВАТАР ПОЛЬЗОВАТЕЛЯ === */
.profile-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background-color: #0070f3; color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; text-transform: uppercase;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s; margin-left: 12px;
}
.profile-avatar:hover { border-color: #fff; transform: scale(1.05); }
body.light-theme .profile-avatar { background-color: #000; color: #fff; }
body.light-theme .profile-avatar:hover { border-color: #000; }

/* === АНИМАЦИЯ ПОЯВЛЕНИЯ === */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.product-card.fade-in:nth-child(2) { transition-delay: 0.2s; }
.product-card.fade-in:nth-child(3) { transition-delay: 0.4s; }
.screenshot-img.fade-in:nth-child(2) { transition-delay: 0.2s; }
.screenshot-img.fade-in:nth-child(3) { transition-delay: 0.4s; }
.screenshot-img.fade-in:nth-child(4) { transition-delay: 0.6s; }

/* === ПЛАВНАЯ ПРОКРУТКА И ПЕРЕХОДЫ === */
html { scroll-behavior: smooth; }
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pageFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* === ПОЛНОСТЬЮ СКРЫВАЕМ ПОЛОСУ ПРОКРУТКИ === */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Для Chrome, Safari и Edge */
::-webkit-scrollbar {
    display: none; /* Полностью прячем */
}

/* Для Firefox */
html {
    -ms-overflow-style: none;  /* Для IE и старого Edge */
    scrollbar-width: none;     /* Прячем в Firefox */
}

/* === ПРОСМОТРЩИК СКРИНШОТОВ (С АНИМАЦИЕЙ) === */
#imageModal {
    display: flex !important; /* Принудительно говорим не использовать display: none */
    padding: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    /* Плавное скрытие */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#imageModal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Анимация появления самой картинки */
#modalImage {
    max-width: 90vw; 
    max-height: 85vh; 
    width: auto;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    object-fit: contain;
    
    /* Стартовое состояние (до открытия) */
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease; /* 0.4s с пружиной */
    transition-delay: 0.05s; /* Чуть-чуть задержки, чтобы фон успел начать появляться */
}

/* Состояние после открытия */
#imageModal.active #modalImage {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Анимация крестика */
#imageModal .modal-close {
    top: auto; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    color: #fff;
    font-size: 28px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px); 
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Эффект при наведении на крестик (проворачивается и краснеет) */
#imageModal .modal-close:hover {
    transform: translateX(-50%) rotate(90deg); /* Вращение на 90 градусов */
    background-color: rgba(255, 0, 0, 0.6); /* Краснеет */
}

.screenshot-img {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.screenshot-img:hover {
    transform: scale(1.03);
    border-color: #0070f3;
    cursor: zoom-in;
}

.screenshot-img {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.screenshot-img:hover {
    transform: scale(1.03);
    border-color: #0070f3;
    cursor: zoom-in;
}

/* === КНОПКА НАВЕРХ === */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    opacity: 0; -> opacity: 1;
    visibility: hidden; -> visibility: visible;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 900;
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1); /* Слегка увеличивается при наведении */
}

/* Для светлой темы */
body.light-theme .scroll-top-btn {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000;
}
body.light-theme .scroll-top-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* === ПОДВАЛ (FOOTER) === */
.site-footer {
    margin-top: 80px;
    padding: 40px 24px;
    background-color: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-copyright {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

/* Для светлой темы */
body.light-theme .site-footer {
    background-color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .footer-logo {
    color: #000;
}
body.light-theme .footer-copyright {
    color: #888;
}

/* === МАКСИМАЛЬНОЕ ЖИДКОЕ СТЕКЛО (Везде) === */

/* Стеклянная плашка-бейдж на главном экране */
.hero-badge {
    background-color: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.05) !important;
}

/* Стеклянные карточки продуктов */
.product-card {
    background-color: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.03) !important;
}
.product-card:hover {
    background-color: rgba(30, 30, 30, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Стеклянный блок версии под видео */
.version-text {
    background-color: rgba(255, 255, 255, 0.05) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Стеклянные кнопки соцсетей (на странице сотцети) */
.channel-btn {
    background-color: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.03) !important;
}
.channel-btn:hover {
    background-color: rgba(30, 30, 30, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Стекло для светлой темы (делаем белое матовое стекло) */
body.light-theme .hero-badge {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05), inset 0 0 10px rgba(255,255,255,0.5) !important;
}
body.light-theme .product-card,
body.light-theme .channel-btn {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05), inset 0 0 20px rgba(255,255,255,0.5) !important;
}
body.light-theme .product-card:hover,
body.light-theme .channel-btn:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .version-text {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* === МАКСИМАЛЬНОЕ СТЕКЛО (Часть 2) === */

/* Стеклянное правое меню */
.custom-menu {
    background-color: rgba(20, 20, 20, 0.7) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.05) !important;
}

/* Стеклянные уведомления (внизу экрана) */
.custom-notification {
    background-color: rgba(20, 20, 20, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), i@keyframes pageFadeOut nset 0 0 15px rgba(255,255,255,0.05) !important;
}

/* Стеклянные рамки для скриншотов и видео */
.video-container, .screenshot-img {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.03) !important;
}

/* Стеклянная кнопка скачивания (с синим свечением) */
.btn-download {
    background-color: rgba(0, 112, 243, 0.8) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    border: 1px solid rgba(0, 112, 243, 0.5) !important;
    box-shadow: 0 8px 24px rgba(0, 112, 243, 0.3), inset 0 0 15px rgba(255,255,255,0.2) !important;
}
.btn-download:hover {
    background-color: rgba(0, 91, 181, 0.9) !important;
    box-shadow: 0 8px 30px rgba(0, 112, 243, 0.5), inset 0 0 20px rgba(255,255,255,0.3) !important;
}

/* === СВЕТЛАЯ ТЕМА: Стекло (Часть 2) === */
body.light-theme .custom-menu,
body.light-theme .custom-notification {
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1), inset 0 0 15px rgba(255,255,255,0.5) !important;
}
body.light-theme .video-container,
body.light-theme .screenshot-img {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05), inset 0 0 20px rgba(255,255,255,0.5) !important;
}