/* Базовые стили */
* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.feature-icon-bg {
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.feature-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

:root {
    --primary-blue: #0ea5e9;
    --primary-purple: #8b5cf6;
    --glass-light: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.8);
}

body {
    font-family: 'Lora', sans-serif;
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%); /* Более темные оттенки */
    min-height: 100vh;
    color: var(--text-white);
    overflow-x: hidden;
}

/* Анимированный фон */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #5a67d8, #3c35a0, #910f52, #a5185c); /* Темнее */
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
    opacity: 0.9; /* Добавляем прозрачность */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Добавьте темный оверлей */
.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Темный оверлей */
    z-index: -1;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Стеклянный эффект */
.glass-card {
    background: var(--glass-light);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    min-width: 100px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.nav-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.nav-btn:hover .nav-icon {
    transform: scale(1.1);
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Герой секция */
.hero {
    padding: 180px 0 80px; /* Увеличьте верхний отступ */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-card {
    padding: 60px;
    text-align: center;
}

.hero-title {
    font-family: 'Verdana', sans-serif; /* ← ЭТО шрифт заголовка */
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Форма поиска */
.search-form {
    max-width: 700px;
    margin: 0 auto 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center; /* Добавь эту строку */
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    border: none;
    border-radius: 15px;
    padding: 18px 40px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.hidden {
    display: none !important;
}

/* Быстрые примеры */
.quick-examples {
    margin-top: 30px;
}

.quick-examples p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.example-chips {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.example-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 10px 20px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.example-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Секция результатов */
.results-section {
    padding: 80px 0;
}

.results-card {
    padding: 40px;
}

.ai-analysis {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.analysis-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.analysis-content {
    line-height: 1.6;
}

.mood-tags {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.mood-tag {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Сетка игр */
.games-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.game-header {
    display: flex;
    justify-content: between;
    align-items: start;
    margin-bottom: 15px;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.game-genre {
    background: rgba(14, 165, 233, 0.2);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-blue);
}

.match-score {
    background: linear-gradient(45deg, #10b981, #059669);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.game-description {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

.game-reason {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.reason-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

/* Секция "О проекте" */
.about-section {
    padding: 80px 0;
}

.about-card {
    padding: 50px;
}

.about-card h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Футер */
.footer {
    padding: 40px 0;
}

.footer-content {
    text-align: center;
    padding: 20px;
    color: var(--text-gray);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-card {
        padding: 30px 20px;
    }
    
    .games-container {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
    }
}
.glass-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, background;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Улучшенный ховер-эффект */
.glass-card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 80px rgba(14, 165, 233, 0.1);
}

/* Предотвращение мерцания */
.glass-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Оптимизация производительности */
@media (prefers-reduced-motion: reduce) {
    .glass-card {
        transition: none;
        transform: none !important;
    }
}
/* Добавьте в конец файла */

/* Статистика */
.stats-info {
    margin-bottom: 20px;
}

.stats-card {
    background: linear-gradient(45deg, #0ea5e9, #8b5cf6);
    padding: 15px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.5s ease;
}

.stats-icon {
    font-size: 1.2rem;
}

/* Улучшенные карточки игр */
.game-title-section {
    flex: 1;
}

.game-meta {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.game-platforms {
    background: rgba(139, 92, 246, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.match-score {
    text-align: center;
    min-width: 70px;
}

.score-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
    margin: 0 auto 5px;
}

.score-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.game-details {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.detail-icon {
    font-size: 1rem;
}

/* Анализ AI */
.analysis-item {
    margin-bottom: 12px;
    line-height: 1.5;
}

.key-factors {
    margin: 20px 0;
}

.reasoning {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #0ea5e9;
}

/* Адаптивность для многих игр */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    max-height: none;
}

@media (max-width: 768px) {
    .games-container {
        grid-template-columns: 1fr;
    }
    
    .game-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .match-score {
        align-self: flex-end;
    }
}

/* Анимации для плавного появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease both;
}
.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    z-index: 10000;
}

/* Убедитесь что кнопки кликабельны */
.search-btn {
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

.search-btn:not(:disabled):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4) !important;
}

.example-chip {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.example-chip:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Гарантируем что элементы видны */
.hidden {
    display: none !important;
}

#results.hidden {
    display: none !important;
}

/* Улучшаем видимость интерактивных элементов */
.nav-link {
    cursor: pointer !important;
}

.glass-card {
    cursor: default !important;
}

/* Анимации частиц */
.particle {
    pointer-events: none !important;
}

/* Гарантируем что контейнеры существуют */
.container {
    position: relative;
    z-index: 1;
}

/* Улучшаем доступность */
button:focus, 
textarea:focus {
    outline: 2px solid #0ea5e9 !important;
    outline-offset: 2px !important;
}
.search-input:focus {
    outline: none !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 
        0 0 0 3px rgba(14, 165, 233, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.search-btn:focus {
    outline: none !important;
    box-shadow: 
        0 0 0 3px rgba(14, 165, 233, 0.5),
        0 10px 25px rgba(14, 165, 233, 0.4) !important;
}

.example-chip:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 0 0 2px rgba(14, 165, 233, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.nav-link:focus {
    outline: none !important;
    color: var(--text-white) !important;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.8) !important;
}

/* Убираем outline для всех интерактивных элементов */
button:focus,
a:focus,
textarea:focus {
    outline: none !important;
}

/* Красивые focus состояния для навигации */
.header-content:focus-within {
    border-color: rgba(14, 165, 233, 0.5) !important;
}

/* Улучшаем видимость без нарушения layout */
.glass-card:focus-within {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(14, 165, 233, 0.2) !important;
}

/* Специфичные стили для хедера */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    overflow: visible !important; /* Важно! */
}

/* Убираем любые внешние outline */
*:focus {
    outline: none !important;
}

/* Альтернатива для accessibility - внутренняя подсветка */
.search-input:focus-visible {
    border-color: var(--primary-blue) !important;
    box-shadow: 
        inset 0 0 0 2px var(--primary-blue),
        0 0 20px rgba(14, 165, 233, 0.3) !important;
}

.search-btn:focus-visible {
    box-shadow: 
        inset 0 0 0 2px white,
        0 10px 25px rgba(14, 165, 233, 0.4) !important;
}

/* Для пользователей с клавиатурой - более заметный индикатор */
@media (prefers-reduced-motion: no-preference) {
    .nav-link:focus-visible {
        color: var(--text-white) !important;
        background: rgba(14, 165, 233, 0.2) !important;
        border-radius: 8px !important;
        padding: 5px 10px !important;
        margin: -5px -10px !important;
    }
}

/* Гарантируем что контур не выходит за границы */
.logo,
.nav,
.nav-link,
.search-input,
.search-btn,
.example-chip {
    position: relative;
    z-index: 1;
}

/* Убираем стандартные браузерные стили */
input:focus, textarea:focus, select:focus {
    outline-offset: 0 !important;
    outline: none !important;
}

/* Красивые кастомные фокусы */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.5) !important;
}
.discord-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.discord-link:hover {
    color: var(--text-white);
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.discord-link:hover .discord-icon {
    color: #5865f2;
    transform: scale(1.1);
}

.discord-text {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Анимация пульсации для привлечения внимания */
.discord-link {
    animation: discord-pulse 3s ease-in-out infinite;
}

@keyframes discord-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(88, 101, 242, 0);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(88, 101, 242, 0.1);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .discord-text {
        display: none;
    }
    
    .discord-link {
        padding: 8px 12px;
    }
    
    .nav {
        gap: 15px;
    }
}

/* Стили для фокуса (accessibility) */
.discord-link:focus {
    outline: none;
    background: rgba(88, 101, 242, 0.3);
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.5);
}

/* Альтернативный вариант с иконкой Font Awesome */
.discord-link.fa-icon {
    font-family: 'Font Awesome 6 Brands';
}

.discord-link.fa-icon::before {
    content: '\f392';
    font-size: 1.2rem;
}
.discord-btn {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
    animation: discord-pulse 4s ease-in-out infinite;
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover .nav-icon {
    color: #5865f2;
    transform: scale(1.15);
}

/* Анимация пульсации для Discord */
@keyframes discord-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(88, 101, 242, 0);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(88, 101, 242, 0.1);
    }
}
.nav-btn.active {
    color: var(--text-white);
    background: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.4);
}

/* Стили для фокуса (accessibility) */
.nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.5);
}

.discord-btn:focus {
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.5);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .nav {
        gap: 8px;
    }
    
    .nav-btn {
        padding: 10px 16px;
        min-width: auto;
    }
    
    .nav-text {
        font-size: 0.85rem;
    }
    
    .nav-icon {
        width: 18px;
        height: 18px;
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .nav-text {
        display: none;
    }
    
    .nav-btn {
        padding: 12px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        min-width: auto;
    }
    
    .nav-icon {
        margin: 0;
    }
}

/* Логотип для балансировки */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Гарантируем симметричное расположение */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* Эффект свечения при наведении */
.nav-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    filter: brightness(1.2);
}

/* Индикатор текущей страницы */
.nav-btn[href="#search"]:hover,
.nav-btn[href="#about"]:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
}
.download-btn {
    background: rgba(16, 185, 129, 0.1); /* Зеленый акцент */
    border-color: rgba(16, 185, 129, 0.3);
    animation: download-pulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
    transition: left 0.6s;
}

.download-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

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

.download-btn:hover .nav-icon {
    color: #10b981;
    transform: scale(1.15);
    animation: download-bounce 0.5s ease;
}

/* Анимация пульсации для кнопки скачивания */
@keyframes download-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
    }
}

/* Анимация скачивания */
@keyframes download-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1.15);
    }
    40% {
        transform: translateY(-5px) scale(1.2);
    }
    60% {
        transform: translateY(-3px) scale(1.18);
    }
}

/* Стили для фокуса */
.download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.5);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .download-btn .nav-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .download-btn .nav-text {
        display: none;
    }
    
    .download-btn {
        padding: 12px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
    }
}
/* Стили для секции скачивания */
.download-section {
    padding: 60px 0;
    position: relative;
}

.download-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-content {
    color: white;
}

.download-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #10b981, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-features .feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    background: linear-gradient(45deg, #059669, #047857);
}

.download-main-btn i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.download-main-btn:hover i {
    transform: translateY(2px);
}

.download-info {
    margin-top: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Анимация появления */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .download-card {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .download-content h2 {
        font-size: 2rem;
    }
    
    .download-features {
        gap: 10px;
    }
    
    .download-features .feature {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .download-main-btn {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}
/* Стили для кнопки смены валюты */
.currency-btn {
    background: rgba(255, 193, 7, 0.1); /* Золотой акцент */
    border-color: rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
    margin-left: auto; /* Это сдвигает кнопку максимально вправо */
}

.currency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.2), transparent);
    transition: left 0.6s;
}

.currency-btn:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

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

.currency-btn:hover .nav-icon {
    color: #ffc107;
    transform: scale(1.15);
}

/* Анимация пульсации для кнопки валюты */
@keyframes currency-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.1);
    }
}

.currency-btn {
    animation: currency-pulse 4s ease-in-out infinite;
}

/* Стили для фокуса */
.currency-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .currency-btn .nav-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .currency-btn .nav-text {
        display: none;
    }
    
    .currency-btn {
        padding: 12px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
    }
}

/* Обновляем структуру навигации для правильного позиционирования */
.nav {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto; /* Это гарантирует что все кнопки будут справа */
}

/* Специфичные стили для хедера */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* Гарантируем что кнопка валюты всегда справа */
.nav {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

/* Убедимся что лого остается слева */
.logo {
    margin-right: auto;
}
/* Компактный выбор валюты прямо в углу */
.currency-corner {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.currency-compact-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.currency-compact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s;
}

.currency-compact-btn:hover::before {
    left: 100%;
}

.currency-compact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.currency-compact-btn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(139, 92, 246, 0.3));
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.currency-compact-icon {
    font-size: 1.2rem;
    margin-bottom: 1px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.currency-compact-btn:hover .currency-compact-icon {
    transform: scale(1.15);
}

.currency-compact-symbol {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.currency-compact-btn:hover .currency-compact-symbol {
    transform: scale(1.15);
}

/* Компактное выпадающее меню - из угла */
.currency-dropdown-menu.compact {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 16px;
    margin-top: 15px;
    min-width: 150px;
    z-index: 1000;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-dropdown-menu.compact.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.currency-dropdown-menu.compact .currency-options {
    gap: 8px;
}

.currency-dropdown-menu.compact .currency-option {
    padding: 12px 14px;
    border-radius: 14px;
    gap: 10px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-dropdown-menu.compact .currency-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.currency-dropdown-menu.compact .currency-option.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(139, 92, 246, 0.35));
    border-color: rgba(14, 165, 233, 0.7);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

.currency-dropdown-menu.compact .currency-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
}

.currency-dropdown-menu.compact .currency-symbol {
    font-size: 0.9rem;
    font-weight: 800;
    color: #51cf66;
}

.currency-dropdown-menu.compact .currency-flag {
    font-size: 1.3rem;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

/* Эффект пульсации */
@keyframes currencyPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(14, 165, 233, 0);
    }
}

.currency-compact-btn.pulse {
    animation: currencyPulse 3s ease-in-out infinite;
}

/* Эффект смены валюты */
@keyframes currencySpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.currency-spin {
    animation: currencySpin 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект появления при загрузке - из угла */
@keyframes slideInCorner {
    from {
        opacity: 0;
        transform: translate(80px, -80px) scale(0.6);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

.currency-corner {
    animation: slideInCorner 1s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

/* Адаптивность для компактной валюты - в углу */
@media (max-width: 768px) {
    .currency-corner {
        top: 15px;
        right: 15px;
    }
    
    .currency-compact-btn {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }
    
    .currency-compact-icon {
        font-size: 1.1rem;
    }
    
    .currency-compact-symbol {
        font-size: 0.9rem;
    }
    
    .currency-dropdown-menu.compact {
        min-width: 140px;
        padding: 14px;
        margin-top: 12px;
    }
    
    .currency-dropdown-menu.compact .currency-option {
        padding: 10px 12px;
    }
    
    .currency-dropdown-menu.compact .currency-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .currency-corner {
        top: 12px;
        right: 12px;
    }
    
    .currency-compact-btn {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    
    .currency-compact-icon {
        font-size: 1rem;
    }
    
    .currency-compact-symbol {
        font-size: 0.85rem;
    }
    
    .currency-dropdown-menu.compact {
        min-width: 130px;
        padding: 12px;
    }
    
    .currency-dropdown-menu.compact .currency-option {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .currency-dropdown-menu.compact .currency-flag {
        font-size: 1.1rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .currency-corner {
        top: 10px;
        right: 10px;
    }
    
    .currency-compact-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .currency-dropdown-menu.compact {
        min-width: 120px;
        right: 0;
    }
}

/* Гарантируем что кнопка всегда поверх всего */
.currency-corner {
    pointer-events: auto;
}

.currency-compact-btn {
    pointer-events: auto;
}
/* Компактный выбор валюты ПРЯМО В УГЛУ ЭКРАНА */
.currency-corner {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000; /* УВЕЛИЧЕННЫЙ z-index чтобы было поверх всего */
}

.currency-compact-btn {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.currency-compact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.currency-compact-btn:hover::before {
    left: 100%;
}

.currency-compact-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px) scale(1.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.currency-compact-btn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(139, 92, 246, 0.35));
    border-color: rgba(14, 165, 233, 0.7);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.35);
}

.currency-compact-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.currency-compact-btn:hover .currency-compact-icon {
    transform: scale(1.2);
}

.currency-compact-symbol {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.currency-compact-btn:hover .currency-compact-symbol {
    transform: scale(1.2);
}

/* Компактное выпадающее меню - из угла экрана */
.currency-dropdown-menu.compact {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(45px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 18px;
    margin-top: 18px;
    min-width: 160px;
    z-index: 10001; /* Выше чем кнопка */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-25px) scale(0.85);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-dropdown-menu.compact.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.currency-dropdown-menu.compact .currency-options {
    gap: 10px;
}

.currency-dropdown-menu.compact .currency-option {
    padding: 14px 16px;
    border-radius: 16px;
    gap: 12px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-dropdown-menu.compact .currency-option:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.currency-dropdown-menu.compact .currency-option.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(139, 92, 246, 0.4));
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.currency-dropdown-menu.compact .currency-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
}

.currency-dropdown-menu.compact .currency-symbol {
    font-size: 1rem;
    font-weight: 800;
    color: #51cf66;
}

.currency-dropdown-menu.compact .currency-flag {
    font-size: 1.4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Эффект пульсации */
@keyframes currencyPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
    }
    50% {
        box-shadow: 0 0 0 18px rgba(14, 165, 233, 0);
    }
}

.currency-compact-btn.pulse {
    animation: currencyPulse 3.5s ease-in-out infinite;
}

/* Эффект смены валюты */
@keyframes currencySpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.25);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.currency-spin {
    animation: currencySpin 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект появления при загрузке - из-за угла экрана */
@keyframes slideInFromCorner {
    from {
        opacity: 0;
        transform: translate(100px, -100px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

.currency-corner {
    animation: slideInFromCorner 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

/* Адаптивность */
@media (max-width: 768px) {
    .currency-corner {
        top: 15px;
        right: 15px;
    }
    
    .currency-compact-btn {
        width: 50px;
        height: 50px;
    }
    
    .currency-compact-icon {
        font-size: 1.2rem;
    }
    
    .currency-compact-symbol {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .currency-corner {
        top: 12px;
        right: 12px;
    }
    
    .currency-compact-btn {
        width: 46px;
        height: 46px;
    }
    
    .currency-compact-icon {
        font-size: 1.1rem;
    }
    
    .currency-compact-symbol {
        font-size: 0.9rem;
    }
}
.price-error-detail {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}
/* Стили для магазинов и цен */
.stores-container {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stores-container h4 {
    margin-bottom: 15px;
    color: var(--text-white);
    font-size: 1.1rem;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.store-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.store-btn.active {
    background: rgba(14, 165, 233, 0.3);
    border-color: rgba(14, 165, 233, 0.5);
    color: var(--text-white);
}

.price-info {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-loading {
    color: var(--text-gray);
    font-style: italic;
}

.price-error {
    color: #ff6b6b;
}

.price-success {
    color: #51cf66;
}

.price-discounted {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.current-price {
    color: #51cf66;
    font-weight: 700;
    font-size: 1.3rem;
}

.discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-saving {
    color: #ffd43b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.price-store {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.buy-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

.price-unavailable {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.price-error-detail {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Адаптивность для магазинов */
@media (max-width: 768px) {
    .store-buttons {
        gap: 6px;
    }
    
    .store-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .stores-container {
        padding: 12px;
    }
}
.price-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.buy-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

.visit-page-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.visit-page-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Улучшенные стили для ошибок цен */
.price-error, .price-unavailable {
    text-align: center;
    padding: 15px;
}

.price-error .visit-page-btn,
.price-unavailable .visit-page-btn {
    margin-top: 10px;
    width: 100%;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .price-actions {
        flex-direction: column;
    }
    
    .buy-btn, .visit-page-btn {
        min-width: 100%;
    }
}
/* Стили для кнопок действий с ценами */
.price-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.buy-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

.visit-page-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.visit-page-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Улучшенные стили для ошибок цен */
.price-error, .price-unavailable {
    text-align: center;
    padding: 15px;
}

.price-error .price-actions,
.price-unavailable .price-actions {
    margin-top: 10px;
}

/* Стиль для бесплатных игр */
.current-price.free {
    color: #51cf66;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .price-actions {
        flex-direction: column;
    }
    
    .buy-btn, .visit-page-btn {
        min-width: 100%;
    }
    
    .stores-container {
        padding: 10px;
    }
    
    .store-buttons {
        gap: 4px;
    }
    
    .store-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}
.ai-confidence {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0;
    text-align: center;
}
/* Стили для источников цен */
.price-source {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.price-source.real {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.price-source.calculated {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.price-source.estimated {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.price-reference {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    text-align: center;
    font-style: italic;
}

.buy-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
}

/* Адаптивность */
@media (max-width: 480px) {
    .price-source {
        font-size: 0.7rem;
    }
    
    .price-reference {
        font-size: 0.75rem;
    }
}
/* Стили для реальных и расчетных цен */
.price-real, .price-calculated {
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
}

.price-real {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.price-calculated {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.price-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    justify-content: center;
}

.price-amount {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

.price-discount-badge {
    background: #ff4444;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.price-original {
    color: #ccc;
    margin-bottom: 5px;
    text-align: center;
}

.price-strikethrough {
    text-decoration: line-through;
}

.price-source {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 5px;
    text-align: center;
}

.price-reference {
    font-size: 0.8em;
    opacity: 0.7;
    font-style: italic;
    text-align: center;
    margin-top: 5px;
}

.visit-store-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.visit-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.price-loading {
    text-align: center;
    padding: 20px;
    color: #ccc;
    font-style: italic;
}

.price-error {
    text-align: center;
    padding: 20px;
    color: #ff4444;
}

/* Улучшенные стили для кнопок магазинов */
.store-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

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

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

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.store-btn.active {
    background: rgba(14, 165, 233, 0.3);
    border-color: rgba(14, 165, 233, 0.5);
    color: var(--text-white);
}

/* Анимация загрузки цен */
@keyframes pricePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.price-loading {
    animation: pricePulse 1.5s ease-in-out infinite;
}

/* Стили для разных магазинов */
.store-btn[data-store="steam"]:hover {
    border-color: #1b2838;
    background: rgba(27, 40, 56, 0.3);
}

.store-btn[data-store="epic"]:hover {
    border-color: #2a2a2a;
    background: rgba(42, 42, 42, 0.3);
}

.store-btn[data-store="xbox"]:hover {
    border-color: #107c10;
    background: rgba(16, 124, 16, 0.3);
}

.store-btn[data-store="ea"]:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.3);
}

.store-btn[data-store="ubisoft"]:hover {
    border-color: #0078f2;
    background: rgba(0, 120, 242, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .price-main {
        flex-direction: column;
        gap: 5px;
    }
    
    .price-amount {
        font-size: 1.3em;
    }
    
    .store-buttons {
        gap: 5px;
    }
    
    .store-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stores-container {
        padding: 10px;
    }
    
    .price-real, .price-calculated {
        padding: 12px;
    }
    
    .price-amount {
        font-size: 1.2em;
    }
}
/* Стили для детальной страницы игры */
.game-details-section {
    padding: 120px 0 40px;
    min-height: 100vh;
}

.game-details-card {
    padding: 40px;
    margin: 20px auto;
    max-width: 1400px;
}

.game-details-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: translateX(-5px);
}

.back-icon {
    font-size: 1.2rem;
}

.game-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.game-title-large {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.match-badge {
    background: linear-gradient(45deg, #10b981, #059669);
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.game-details-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

/* Левая колонка */
.game-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image {
    width: 100%;
    height: auto;
    display: none;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.game-quick-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-gray);
}

.info-value {
    font-weight: 500;
    text-align: right;
}

/* Правая колонка */
.game-description-section,
.game-reason-section,
.requirements-section,
.stores-section-detailed {
    margin-bottom: 40px;
}

.game-description-section h3,
.game-reason-section h3,
.requirements-section h3,
.stores-section-detailed h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-description-full,
.game-reason-full {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
}

/* Системные требования */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.requirement-col h4 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.requirement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.req-label {
    font-weight: 600;
    color: var(--text-gray);
}

.req-value {
    font-weight: 500;
    text-align: right;
}

/* Магазины на детальной странице */
.detailed-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.store-price-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.store-price-card.real {
    border-color: rgba(34, 197, 94, 0.3);
}

.store-price-card.calculated {
    border-color: rgba(234, 179, 8, 0.3);
}

.store-price-card.unavailable {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.store-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.store-icon {
    font-size: 2rem;
}

.store-name {
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.price-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-badge.real {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.price-badge.calculated {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.price-main-detailed {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    justify-content: center;
}

.price-amount-detailed {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.discount-badge-detailed {
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.original-price-detailed {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.saving-amount {
    color: #51cf66;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.buy-now-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.loading-prices {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.price-unavailable {
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
    margin: 20px 0;
}

/* Кликабельные заголовки на главной */
.clickable-title {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.clickable-title:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.clickable-title::after {
    content: '🔍';
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clickable-title:hover::after {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .game-details-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .game-image-container {
        max-width: 500px;
        margin: 0 auto 30px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .game-details-card {
        padding: 20px;
        margin: 10px;
    }
    
    .game-title-large {
        font-size: 2rem;
    }
    
    .game-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .detailed-stores-grid {
        grid-template-columns: 1fr;
    }
    
    .price-amount-detailed {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .game-details-section {
        padding: 100px 0 20px;
    }
    
    .game-title-large {
        font-size: 1.7rem;
    }
    
    .game-quick-info {
        padding: 15px;
    }
    
    .store-price-card {
        padding: 20px;
    }
}
/* Стили для особенностей игры */
.features-section {
    margin-bottom: 40px;
}

.features-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-tag {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

/* Стили для бесплатных игр */
.price-amount-detailed.free {
    color: #51cf66;
    font-size: 2.2rem;
}

.free-btn {
    background: linear-gradient(45deg, #51cf66, #40c057) !important;
}

.free-btn:hover {
    box-shadow: 0 8px 25px rgba(81, 207, 102, 0.4) !important;
}

/* Улучшенные стили для требований */
.requirement-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.req-label {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: left;
}

.req-value {
    font-weight: 500;
    text-align: left;
    color: var(--text-white);
}
/* Стили для секции цен в Discord */
.prices-discord-section {
    margin-bottom: 40px;
}

.prices-discord-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-price-card {
    background: rgba(88, 101, 242, 0.1);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.discord-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.2), transparent);
    transition: left 0.6s;
}

.discord-price-card:hover::before {
    left: 100%;
}

.discord-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.discord-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.discord-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-price-btn {
    display: inline-block;
    background: linear-gradient(45deg, #5865f2, #4752c4);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-price-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
    background: linear-gradient(45deg, #4752c4, #3c45a5);
}

/* Анимация пульсации для кнопки */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
    }
}

.discord-price-btn {
    animation: pulse 2s ease-in-out infinite;
}

/* Анимация плавания для иконки */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Убираем старые стили магазинов */
.detailed-stores-grid,
.store-price-card,
.price-main-detailed {
    display: none;
}
/* Стили для мини-версии Discord кнопки в карточках игр */
.discord-price-mini {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.discord-mini-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.discord-mini-icon {
    font-size: 1.2rem;
}

.discord-mini-text {
    font-weight: 600;
    color: var(--text-white);
}

.discord-mini-btn {
    display: block;
    background: linear-gradient(45deg, #5865f2, #4752c4);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.discord-mini-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.price-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 8px;
}

/* Анимация для частиц */
@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Улучшенные стили для карточек игр */
.game-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.clickable-title {
    cursor: pointer;
    transition: color 0.3s ease;
}

.clickable-title:hover {
    color: var(--primary-blue);
}
/* Анимации для плавного появления множества игр */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    max-height: none;
}

.game-card {
    animation: fadeInUp 0.6s ease both;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1200px) {
    .games-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .games-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        margin: 0 10px;
    }
}

/* Улучшенная статистика */
.stats-info {
    margin-bottom: 20px;
    text-align: center;
}

.stats-card {
    background: linear-gradient(45deg, #0ea5e9, #8b5cf6);
    padding: 15px 25px;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.5s ease;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.stats-icon {
    font-size: 1.4rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Плавная анимация для большого количества элементов */
@keyframes staggeredFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }
.game-card:nth-child(9) { animation-delay: 0.45s; }
.game-card:nth-child(10) { animation-delay: 0.5s; }
.game-card:nth-child(11) { animation-delay: 0.55s; }
.game-card:nth-child(12) { animation-delay: 0.6s; }
.game-card:nth-child(13) { animation-delay: 0.65s; }
.game-card:nth-child(14) { animation-delay: 0.7s; }
.game-card:nth-child(15) { animation-delay: 0.75s; }
.game-card:nth-child(16) { animation-delay: 0.8s; }
.game-card:nth-child(17) { animation-delay: 0.85s; }
.game-card:nth-child(18) { animation-delay: 0.9s; }
.game-card:nth-child(19) { animation-delay: 0.95s; }
.game-card:nth-child(20) { animation-delay: 1.0s; }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Стили для кнопки отправки в Discord */
.discord-mini-btn {
    display: block;
    background: linear-gradient(45deg, #5865f2, #4752c4);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

.discord-mini-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
    background: linear-gradient(45deg, #4752c4, #3c45a5);
}

.discord-mini-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}
/* Эффект падающих звезд - УВЕЛИЧЕННЫЕ РАЗМЕРЫ */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation-timing-function: linear;
    box-shadow: 0 0 10px currentColor;
}

/* УВЕЛИЧЕННЫЕ РАЗМЕРЫ ЗВЕЗД */
.star.tiny {
    width: 3px;
    height: 3px;
}

.star.small {
    width: 5px;
    height: 5px;
}

.star.medium {
    width: 8px;
    height: 8px;
}

.star.large {
    width: 12px;
    height: 12px;
}

.star.huge {
    width: 18px;
    height: 18px;
}

/* Анимации для звезд */
@keyframes starFall {
    0% {
        transform: translateX(-200px) translateY(-200px) rotate(45deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(calc(100vh + 200px)) rotate(45deg);
        opacity: 0;
    }
}

@keyframes starFallDiagonal {
    0% {
        transform: translateX(-300px) translateY(-150px) rotate(30deg);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(calc(100vh + 150px)) rotate(30deg);
        opacity: 0;
    }
}

@keyframes starFallReverse {
    0% {
        transform: translateX(calc(100vw + 200px)) translateY(-200px) rotate(-45deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-200px) translateY(calc(100vh + 200px)) rotate(-45deg);
        opacity: 0;
    }
}

@keyframes starFallVertical {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) translateX(100px) rotate(0deg);
        opacity: 0;
    }
}

/* ЯРКИЕ ЦВЕТА С ПЕРЕЛИВАМИ */
.star.color-blue {
    background: linear-gradient(45deg, #0ea5e9, #22d3ee, #0ea5e9);
    box-shadow: 0 0 15px #0ea5e9, 0 0 30px #0ea5e9;
}

.star.color-purple {
    background: linear-gradient(45deg, #8b5cf6, #a855f7, #8b5cf6);
    box-shadow: 0 0 15px #8b5cf6, 0 0 30px #8b5cf6;
}

.star.color-gold {
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
    box-shadow: 0 0 15px #fbbf24, 0 0 30px #fbbf24;
}

.star.color-pink {
    background: linear-gradient(45deg, #ec4899, #db2777, #ec4899);
    box-shadow: 0 0 15px #ec4899, 0 0 30px #ec4899;
}

.star.color-cyan {
    background: linear-gradient(45deg, #22d3ee, #06b6d4, #22d3ee);
    box-shadow: 0 0 15px #22d3ee, 0 0 30px #22d3ee;
}

.star.color-white {
    background: linear-gradient(45deg, #ffffff, #f8fafc, #ffffff);
    box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
}

.star.color-green {
    background: linear-gradient(45deg, #10b981, #059669, #10b981);
    box-shadow: 0 0 15px #10b981, 0 0 30px #10b981;
}

/* Эффект хвоста для больших звезд */
.star.large::after, .star.huge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        currentColor 30%, 
        transparent 100%);
    filter: blur(3px);
    opacity: 0.6;
}
/* Стили для пасхалок */
.easter-egg-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    color: white;
    padding: 20px 40px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    z-index: 10000;
    animation: eggMessage 3s ease-in-out;
    box-shadow: 0 0 50px rgba(255,255,255,0.5);
    text-align: center;
}

@keyframes eggMessage {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    30% { transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--confetti-color);
    animation: confettiFall 5s linear forwards;
    z-index: 9999;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.debug-panel {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    z-index: 1000;
    border: 1px solid #00ff00;
}

.god-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    font-size: 20px;
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px gold; }
    to { text-shadow: 0 0 20px gold, 0 0 30px gold; }
}

@keyframes matrixFall {
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes ripple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.secret-hint {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid gold;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    text-align: center;
    animation: pulse 2s infinite;
}
/* Анимации для звуковых эффектов */
@keyframes musicPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        box-shadow: 0 0 0 rgba(255,255,255,0.5);
    }
    50% {
        width: 100px;
        height: 100px;
        opacity: 0.7;
        box-shadow: 0 0 20px currentColor;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
        box-shadow: 0 0 40px currentColor;
    }
}

@keyframes soundWave {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 2px;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Стили для барабанов */
.drum-pad {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.drum-pad:active {
    transform: scale(0.85) !important;
    filter: brightness(1.3);
}

.virtual-drums {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}
/* Божественные анимации */
@keyframes haloFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(5px, -5px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(0, -10px) scale(1.2);
        opacity: 0.9;
    }
    75% {
        transform: translate(-5px, -5px) scale(1.1);
        opacity: 1;
    }
}

@keyframes floatDivine {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(-40px) rotate(240deg);
        opacity: 0.8;
    }
}

/* Стили для божественного курсора */
.god-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    font-size: 24px;
    animation: godGlow 1.5s ease-in-out infinite alternate;
    text-shadow: 0 0 20px gold, 0 0 40px gold, 0 0 60px orange;
}

@keyframes godGlow {
    from {
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
    to {
        transform: scale(1.2);
        filter: hue-rotate(60deg);
    }
}

/* Дополнительные божественные эффекты */
.god-mode-active .glass-card {
    animation: divinePulse 2s ease-in-out infinite;
}

@keyframes divinePulse {
    0%, 100% {
        box-shadow: 0 0 30px gold;
    }
    50% {
        box-shadow: 0 0 60px gold, 0 0 80px orange;
    }
}
/* Анимации для появления Иисуса */
@keyframes jesusAppear {
    0% {
        transform: translate(-50%, -50%) scale(0.5) rotate(-180deg);
        opacity: 0;
        filter: blur(20px);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    80% {
        transform: translate(-50%, -50%) scale(0.95) rotate(5deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

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

@keyframes jesusGlow {
    0% {
        box-shadow: 0 0 20px gold, 0 0 40px gold;
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 40px gold, 0 0 80px orange, 0 0 120px yellow;
        transform: scale(1.05);
    }
}

/* Дополнительные божественные эффекты */
.jesus-container {
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}
@keyframes jesusAppear {
    0% {
        transform: translate(-50%, -50%) scale(0.3) rotate(-180deg);
        opacity: 0;
        filter: blur(20px);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    80% {
        transform: translate(-50%, -50%) scale(0.9) rotate(5deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

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

@keyframes jesusFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px gold;
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px gold, 0 0 30px orange;
        transform: scale(1.05);
    }
}

/* Божественные частицы */
@keyframes haloFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(5px, -5px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(0, -10px) scale(1.2);
        opacity: 0.9;
    }
    75% {
        transform: translate(-5px, -5px) scale(1.1);
        opacity: 1;
    }
}

@keyframes floatDivine {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(-40px) rotate(240deg);
        opacity: 0.8;
    }
}

/* Божественный курсор */
.god-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    font-size: 24px;
    animation: godGlow 1.5s ease-in-out infinite alternate;
    text-shadow: 0 0 20px gold, 0 0 40px gold, 0 0 60px orange;
}

@keyframes godGlow {
    from {
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
    to {
        transform: scale(1.2);
        filter: hue-rotate(60deg);
    }
}
/* Анимации для выезда Иисуса слева */
@keyframes jesusSlideIn {
    0% {
        left: -300px;
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    70% {
        left: 50px;
        opacity: 1;
        transform: translateY(-50%) scale(1.05);
    }
    100% {
        left: 30px;
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes jesusSlideOut {
    0% {
        left: 30px;
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    100% {
        left: -300px;
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
}

@keyframes jesusFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px gold;
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px gold, 0 0 30px orange;
        transform: scale(1.05);
    }
}
/* Стили для улучшенной секции "Как это работает" */
.about-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-card {
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
}

/* Анимированный фон */
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    opacity: 0.1;
    filter: blur(40px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation: floatShape 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation: floatShape 10s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Заголовок секции */
.about-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.header-decoration {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.decoration-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    animation: pulseDot 2s ease-in-out infinite;
}

.dot-1 {
    left: -40px;
    animation-delay: 0s;
}

.dot-2 {
    left: 0;
    animation-delay: 0.4s;
}

.dot-3 {
    left: 40px;
    animation-delay: 0.8s;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.title-gradient {
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.about-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Сетка функций */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Карточки функций */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.2);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.discord-glow {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), transparent);
}

/* Иконки */
.feature-icon-wrapper {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.feature-icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 0 !important;
}
.feature-icon {
    font-size: 2.2rem;
    transition: transform 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
/* Убираем любые отступы у эмодзи */
.feature-icon-bg .feature-icon {
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon-bg {
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.feature-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.discord-bg {
    background: linear-gradient(135deg, #5865f2, #4752c4);
}

.feature-card:hover .feature-icon-bg {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

/* Орбиты вокруг иконок */
.icon-orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit {
    position: absolute;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    animation: orbitRotate 3s linear infinite;
}

.orbit-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.orbit-2 {
    width: 120px;
    height: 120px;
    animation-delay: 1.5s;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Текст карточек */
.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
    text-align: center;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Теги */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: inline-block;
}

/* Кнопки действий */
.feature-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
}

.discord-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.feature-action-btn:hover .btn-shine {
    left: 100%;
}

/* Секция призыва к действию */
.cta-section {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.1));
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-blue);
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.primary-cta-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
}

.primary-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.secondary-cta-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.secondary-cta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-sparkle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.secondary-cta-btn:hover .btn-glow {
    left: 100%;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-card {
        padding: 40px 20px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon-bg {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
}
/* Стили для блока отзывов */
.game-reviews {
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-percent {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 50px;
    text-shadow: 0 0 10px currentColor;
}

.review-info {
    flex: 1;
}

.review-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2px;
}

.review-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.review-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.review-fill {
    height: 100%;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px currentColor;
}

/* Анимация для заполнения бара */
@keyframes fillReviewBar {
    from { width: 0%; }
    to { width: var(--review-width); }
}

.review-fill {
    animation: fillReviewBar 1.5s ease-out forwards;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .review-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .review-percent {
        font-size: 1.3rem;
    }
}
/* Стили для заголовка с джойстиком по центру */
.games-grid h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: white; /* Белый цвет для текста */
    text-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    letter-spacing: -0.5px;
}

/* Эмодзи джойстика без градиента */
.games-grid h3::before {
    content: '🎮';
    font-size: 2.8rem;
    animation: joystickBounce 2s ease-in-out infinite;
    /* Убираем градиент и оставляем оригинальный цвет эмодзи */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

/* Текст с градиентом */
.games-grid h3 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes joystickBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-8deg);
    }
    50% {
        transform: translateY(0) rotate(8deg);
    }
    75% {
        transform: translateY(-3px) rotate(-4deg);
    }
}

/* Подчеркивание */
.games-grid h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .games-grid h3 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .games-grid h3::before {
        font-size: 2.2rem;
    }
    
    .games-grid h3::after {
        width: 80px;
    }
}
/* Стили для красивого текста без контура */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Стили для кнопок Каталог и Купить игру */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 30px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

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

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

.action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.action-btn-catalog {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border: 1px solid rgba(102, 126, 234, 0.4);
}

.action-btn-buy {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3) 0%, rgba(78, 205, 196, 0.3) 100%);
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.action-btn-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Адаптивность для кнопок */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 250px;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}
/* Стили для верхней панели */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    margin: 0;
    max-width: none;
    width: 100%;
}

/* Логотип по центру */
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Навигация слева и справа */
.nav-left,
.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Стили для кнопок навигации */
.nav-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.nav-text {
    white-space: nowrap;
}

/* Особые стили для кнопок Каталог и Купить */
.nav-btn-catalog {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.nav-btn-buy {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        padding: 12px 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .logo-center {
        position: static;
        transform: none;
        order: 1;
        margin: 0 10px;
    }
    
    .nav-left,
    .nav-right {
        order: 2;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
    
    .nav-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .logo-title {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 1.7rem;
    }
}
/* Прозрачный хедер без фона */
.header-content {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Увеличиваем логотип */
.logo-icon {
    font-size: 2.8rem !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.logo-title {
    font-size: 2.2rem !important;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Делаем кнопки более прозрачными */
.nav-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Убираем особые градиенты для кнопок Каталог и Купить */
.nav-btn-catalog,
.nav-btn-buy {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Адаптивность для большого логотипа */
@media (max-width: 768px) {
    .logo-icon {
        font-size: 2.2rem !important;
    }
    
    .logo-title {
        font-size: 1.8rem !important;
    }
    
    .header-content {
        padding: 15px 20px !important;
    }
}
/* Стили для скролла хедера */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Хедер при скролле */
.header.scrolled {
    padding: 8px 0;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Логотип остается наверху */
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
}

/* Логотип при скролле */
.header.scrolled .logo-center {
    transform: translateX(-50%) scale(0.9);
}

.header.scrolled .logo-icon {
    font-size: 2.2rem !important;
}

.header.scrolled .logo-title {
    font-size: 1.8rem !important;
}

/* Навигация тоже опускается */
.nav-left,
.nav-right {
    transition: all 0.4s ease;
}

.header.scrolled .nav-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Адаптивность для скролла */
@media (max-width: 768px) {
    .header.scrolled {
        padding: 5px 0;
    }
    
    .header.scrolled .logo-icon {
        font-size: 1.8rem !important;
    }
    
    .header.scrolled .logo-title {
        font-size: 1.5rem !important;
    }
    
    .header.scrolled .nav-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
/* Убираем кнопки Каталог и Купить из hero секции */
.action-buttons {
    display: none !important;
}
.quick-examples {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-examples p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.example-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.search-input {
    font-family: 'Verdana', serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    color: var(--text-white);
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    font-family: 'Verdana', serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic; /* Можно добавить курсив для placeholder */
}

.search-btn {
    font-family: 'Verdana', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    border: none;
    border-radius: 15px;
    padding: 18px 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-text {
    font-family: inherit; /* Наследует шрифт от кнопки */
    font-weight: 600;
}

.loading-spinner {
    font-family: 'Verdana', serif;
    font-weight: 500;
    font-size: 1rem;
}

.loading-spinner span {
    font-family: inherit;
}
/* --- Стили для Выбора AI Модели --- */
.ai-selector-container {
    margin-bottom: 25px; /* Отступ от формы поиска */
    text-align: center;
}

.ai-selector-label {
    display: block;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.ai-selector {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1); /* Легкий фон */
    border-radius: 20px;
    padding: 6px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ai-selector input[type="radio"] {
    /* Скрываем стандартный элемент */
    display: none;
}

.ai-option-label {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 15px;
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.ai-option-label:hover {
    color: var(--text-white);
}

/* Выделение выбранной модели (Gemini - фиолетовый) */
.ai-selector input[type="radio"]:checked + .ai-option-label {
    background: var(--primary-purple); 
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
    transform: scale(1.05); /* Легкое увеличение */
}

/* Изменение цвета кнопки DeepSeek (DeepSeek - синий) */
#ai-deepseek:checked + .ai-option-label {
    background: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.5);
}
/* --- Стили для Выбора AI Модели --- */
.ai-selector-container {
    margin-bottom: 25px; 
    text-align: center;
}

.ai-selector-label {
    display: block;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    /* Сохраняем тень для читаемости */
    text-shadow: 0 0 8px rgba(0, 0, 0, 1); 
}

.ai-selector {
    display: inline-flex;
    /* УДАЛЕНО: background: rgba(255, 255, 255, 0.1); */ 
    /* УДАЛЕНО: border: 1px solid var(--glass-border); */
    /* УДАЛЕНО: box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
    background: transparent; /* Убедимся, что фон прозрачный */
    border-radius: 20px;
    padding: 6px;
    
    /* Добавим легкий ободок, чтобы элементы не сливались, но без сильного glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ai-selector input[type="radio"] {
    /* Скрываем стандартный элемент */
    display: none;
}
/* Добавьте в style.css */
.ai-selector-container {
    margin-bottom: 20px;
    text-align: center;
}

.ai-selector-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ai-selector {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-selector input[type="radio"] {
    display: none;
}

.ai-option-label {
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.ai-selector input[type="radio"]:checked + .ai-option-label {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

#current-ai-name {
    font-size: 0.8em;
    opacity: 0.8;
    margin-left: 4px;
}
/* Стили для выбора AI */
.ai-selector-container {
    margin-bottom: 20px;
}

.ai-selector-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.ai-selector {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-option-label {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-option-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.ai-option-text {
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.ai-selector input[type="radio"] {
    display: none;
}

.ai-selector input[type="radio"]:checked + .ai-option-label::before {
    opacity: 1;
}

.ai-selector input[type="radio"]:checked + .ai-option-label .ai-option-text {
    color: white;
    font-weight: 600;
}

/* Стили для поля поиска (input вместо textarea) */
.search-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    resize: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Стили для кнопки поиска */
.search-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

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

.search-btn:hover::after {
    left: 100%;
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Группа ввода */
.input-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Адаптивность */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .ai-selector {
        flex-direction: column;
    }
}
.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

.loading-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.hidden {
    display: none !important;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-btn-container {
    width: 100%;
}

.search-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

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

.search-btn:hover::after {
    left: 100%;
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Анимация градиента для кнопки */
.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

/* Стили для спиннера загрузки */
.loading-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.hidden {
    display: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .search-btn {
        padding: 12px 32px;
        font-size: 15px;
        min-width: 160px;
    }
    
    .input-group {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .search-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 140px;
    }
}
/* Стили для секции "Как это работает?" */
.about-section {
    padding: 80px 0;
}

.about-card {
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

/* Стили для иконок с оригинальными цветами эмодзи */
.feature-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 2.5rem;
    /* Убираем фильтры чтобы эмодзи были в оригинальных цветах */
    filter: none !important;
    /* Отключаем градиенты для текста */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: inherit !important;
}

/* Особые стили для Discord иконки */
.discord-icon {
    color: #5865F2; /* Оригинальный цвет Discord */
    font-size: 2.2rem;
}

.discord-bg {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
}

.discord-glow {
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.4), transparent);
}

/* Анимация орбит вокруг иконок */
.icon-orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 90px;
    height: 90px;
    animation: orbitRotate 8s linear infinite;
}

.orbit-2 {
    width: 110px;
    height: 110px;
    animation: orbitRotate 12s linear infinite reverse;
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Заголовки и текст */
.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #a8b1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
}

/* Теги функций */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

/* Кнопки действий */
.feature-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.feature-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.feature-action-btn:hover .btn-shine {
    left: 100%;
}

/* Особые стили для Discord кнопки */
.discord-btn {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
}

.discord-btn:hover {
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

/* Стили для скачивания */
.download-btn {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
}

.download-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4);
}

/* Заголовок секции */
.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.title-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .feature-icon-bg {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
}
.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.title-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}
/* Градиенты для названий AI моделей */
.model-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.deepseek-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.gemini-gradient {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.model-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: right;
}

/* Стили для сравнения AI моделей */
.ai-models-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-model-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

/* Адаптивность для AI сравнения */
@media (max-width: 480px) {
    .ai-model-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .model-desc {
        text-align: left;
        font-size: 0.85rem;
    }
}
/* Сетка для AI моделей */
.ai-models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.ai-model-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.ai-model-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Заголовки моделей */
.model-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.model-icon {
    font-size: 1.5rem;
}

.model-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.deepseek-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gemini-gradient {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Описание моделей */
.model-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Особенности моделей */
.model-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.model-feature {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ai-models-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ai-model-card {
        padding: 12px;
    }
    
    .model-header {
        gap: 8px;
    }
    
    .model-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .model-features {
        flex-direction: column;
    }
}