/* ===== БАЗОВЫЕ СТИЛИ ===== */
:root {
    --primary: #ff6b00;
    --primary-dark: #e55a00;
    --dark: #121212;
    --dark-light: #1e1e1e;
    --gray: #333;
    --text: #ffffff;
    --text-secondary: #cccccc;
    --error: #ff4444;
    --activ: #ff4757;
    --beeline: #ffd700;
    --tele2: #00a8ff;
    --telegram: #0088cc;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext x='16' y='22' font-family='Arial' font-size='24' text-anchor='middle' fill='%23ff6b00'%3E🃏%3C/text%3E%3C/svg%3E") 16 16, auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ===== КАРТЫ НА ФОНЕ ===== */
.background-joker-cards {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.background-joker-card {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.08;
    filter: blur(0.5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    user-select: none;
    z-index: 0;
}

.background-joker-card:hover {
    opacity: 0.15;
    transform: scale(1.1);
}

/* ===== АНИМАЦИЯ КАРТ ДЖОКЕРА ===== */
#jokerCardsContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.joker-card {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
    filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.5));
    animation: floatCard 2s ease-out forwards;
}

@keyframes floatCard {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(var(--tx), var(--ty)) scale(1) rotate(var(--rot));
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx2), var(--ty2)) scale(0.8) rotate(var(--rot2));
    }
}

/* ===== КАРТОЧКИ С КАРТАМИ В УГЛАХ ===== */
.price-card,
.support-card,
.social-card,
.faq,
.footer-faq {
    position: relative;
    overflow: hidden;
}

.price-card::before,
.price-card::after,
.support-card::before,
.support-card::after,
.social-card::before,
.social-card::after,
.faq::before,
.faq::after,
.footer-faq::before,
.footer-faq::after {
    content: '🃏';
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.1;
    z-index: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.price-card:hover::before,
.price-card:hover::after,
.support-card:hover::before,
.support-card:hover::after,
.social-card:hover::before,
.social-card:hover::after,
.faq:hover::before,
.faq:hover::after,
.footer-faq:hover::before,
.footer-faq:hover::after {
    opacity: 0.2;
    transform: scale(1.1);
}

/* Угловые позиции для карточек цен */
.price-card::before { top: 10px; left: 10px; }
.price-card::after { top: 10px; right: 10px; }
.price-card .price-header::before { content: '🃏'; position: absolute; bottom: 10px; left: 10px; opacity: 0.1; font-size: 1rem; }
.price-card .price-header::after { content: '🃏'; position: absolute; bottom: 10px; right: 10px; opacity: 0.1; font-size: 1rem; }

/* Угловые позиции для карточек поддержки */
.support-card::before { top: 15px; left: 15px; }
.support-card::after { top: 15px; right: 15px; }

/* Угловые позиции для социальных карточек */
.social-card::before { top: 12px; left: 12px; }
.social-card::after { top: 12px; right: 12px; }

/* Угловые позиции для FAQ */
.faq::before { top: 20px; left: 20px; font-size: 1.5rem; }
.faq::after { top: 20px; right: 20px; font-size: 1.5rem; }
.faq::before { bottom: 20px; left: 20px; font-size: 1.5rem; }
.faq::after { bottom: 20px; right: 20px; font-size: 1.5rem; }

/* Угловые позиции для футера FAQ */
.footer-faq::before { top: 15px; left: 15px; }
.footer-faq::after { top: 15px; right: 15px; }

/* ===== ШАПКА ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-icon {
    font-size: 3rem;
    margin-bottom: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(15deg);
}

.logo h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: white;
}

.logo .highlight {
    color: var(--primary);
}

.tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 5px;
    background: rgba(255, 107, 0, 0.2);
    padding: 5px;
    border-radius: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.lang-btn.active {
    background: var(--primary);
}

.header-actions {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

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

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

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 107, 0, 0.1);
    transform: translateY(-2px);
}

.btn-telegram {
    background: var(--telegram);
    color: white;
}

.btn-price {
    background: var(--primary);
    color: white;
    width: 100%;
    margin-top: 20px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 35px;
    min-width: 250px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
}

/* ===== ГЕРОЙ СЕКЦИЯ ===== */
.hero {
    padding: 80px 20px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero h2 .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ===== СЕКЦИИ ===== */
.section {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
    position: relative;
    z-index: 2;
}

.section-title i {
    color: var(--primary);
}

/* ===== ЦЕНЫ ===== */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.price-card {
    background: var(--dark-light);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.operator-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.operator-badge.activ {
    color: var(--activ);
}

.operator-badge.beeline {
    color: var(--beeline);
}

.operator-badge.tele2 {
    color: var(--tele2);
}

.operator-badge i {
    font-size: 1.5rem;
}

.price-amount {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.price-features {
    list-style: none;
    margin-bottom: 25px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.price-features li i {
    color: #00c851;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.regular-price {
    color: white;
}

.price-with-sale {
    text-align: center;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 800;
}

.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--error);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.sale-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.price-update {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FAQ СЕКЦИЯ ===== */
.faq {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0.02) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 60px 0;
    border: 1px solid rgba(255, 107, 0, 0.1);
    position: relative;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.faq-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.faq-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== ПОДДЕРЖКА ===== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-card {
    background: var(--dark-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.support-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.support-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.support-icon.telegram {
    background: rgba(0, 136, 204, 0.2);
    color: var(--telegram);
    border: 2px solid var(--telegram);
}

.support-icon.channel {
    background: rgba(255, 107, 0, 0.2);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.support-icon.branches {
    background: rgba(0, 200, 83, 0.2);
    color: #00c853;
    border: 2px solid #00c853;
}

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

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 60px;
}

.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-support:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== СОЦСЕТИ ===== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.social-card {
    background: var(--dark-light);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.social-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.social-card i {
    font-size: 1.5rem;
}

.social-card:nth-child(1) i { color: #000000; }
.social-card:nth-child(2) i { color: #E4405F; }
.social-card:nth-child(3) i { color: var(--telegram); }

.social-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ===== ФУТЕР ===== */
.footer {
    background: var(--dark-light);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    position: relative;
}

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

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

.footer-logo .logo-icon {
    font-size: 2.5rem;
}

.footer-logo div {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    color: white;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

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

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contacts p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

/* FAQ в футере */
.footer-faq {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 107, 0, 0.1);
    position: relative;
}

.footer-faq h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: white;
}

.footer-faq h3 i {
    color: var(--primary);
}

.footer-faq p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== ПРЕЛОАДЕР ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.preloader-logo {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.preloader-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 600;
}

.loader {
    border: 4px solid rgba(255, 107, 0, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* ===== API СТАТУС ===== */
.api-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.api-status.online {
    background: rgba(0, 200, 81, 0.2);
    color: #00c851;
}

.api-status.offline {
    background: rgba(255, 68, 68, 0.2);
    color: var(--error);
}

.api-status.cached {
    background: rgba(255, 107, 0, 0.2);
    color: var(--primary);
}

/* ===== СТИЛИ ДЛЯ ГАЛЕРЕИ ОТЗЫВОВ ===== */
.reviews-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.review-item {
    position: relative;
    background: var(--dark-light);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 180px;
}

.review-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.review-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.review-zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-item:hover .review-zoom-icon {
    opacity: 1;
}

/* ===== LIGHTBOX МОДАЛЬНОЕ ОКНО ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.lightbox-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 95%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-image-container {
    width: 100%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-info {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.lightbox-counter {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255, 107, 0, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.5);
}

.lightbox-actions {
    display: flex;
    gap: 10px;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Адаптивность галереи */
@media (min-width: 768px) {
    .reviews-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .review-item {
        height: 200px;
    }

    .lightbox-nav {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 30px;
    }

    .lightbox-next {
        right: 30px;
    }
}

@media (min-width: 1024px) {
    .reviews-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .review-item {
        height: 220px;
    }
}

/* Улучшенная галерея для отзывов */
.reviews-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.reviews-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-reviews {
    padding: 10px 20px;
    font-size: 1rem;
}

.reviews-counter {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

#shown-count {
    color: var(--primary);
    font-weight: 600;
}

#total-count {
    color: var(--text);
    font-weight: 600;
}

/* ===== СТИЛИ ДЛЯ ВЫПАДАЮЩИХ ОТЗЫВОВ ===== */
.toggle-reviews-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 30px;
    padding: 12px 30px;
    font-size: 1.1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-reviews-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.toggle-reviews-btn i {
    transition: transform 0.3s ease;
}

.toggle-reviews-btn:hover i {
    transform: translateY(2px);
}

.reviews-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.review-item {
    position: relative;
    background: var(--dark-light);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 180px;
}

.review-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.review-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.review-zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-item:hover .review-zoom-icon {
    opacity: 1;
}

/* Анимация загрузки дополнительных отзывов */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-item {
    animation: fadeIn 0.3s ease forwards;
}

/* ===== ЗАГРУЗКА ЦЕН ===== */
.price-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 100px;
    justify-content: center;
}

.price-loading .loader {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .reviews-stats {
        flex-direction: column;
        gap: 20px;
    }

    .language-switcher {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        justify-content: center;
    }

    .toggle-reviews-btn {
        width: 100%;
        max-width: 300px;
    }

    .faq {
        padding: 30px 20px;
        margin: 40px 0;
    }

    .faq-description {
        font-size: 1rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1.1rem;
        min-width: 200px;
    }

    .footer-faq {
        padding: 20px;
        margin: 25px 0;
    }

    /* Скрываем карты в углах на мобильных */
    .price-card::before,
    .price-card::after,
    .support-card::before,
    .support-card::after,
    .social-card::before,
    .social-card::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

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

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

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

    .hero h2 {
        font-size: 1.8rem;
    }

    .reviews-gallery {
        grid-template-columns: 1fr;
    }

    .review-item {
        height: 250px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .faq {
        padding: 25px 15px;
    }

    .faq-description {
        font-size: 0.95rem;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Полноэкранный режим */
.lightbox-modal:fullscreen {
    background: black;
}

.lightbox-modal:fullscreen .lightbox-container {
    width: 100%;
    height: 100%;
}
