* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.mini-app {
    width: 100%;
    max-width: 380px;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
    padding-bottom: 20px;
}

/* Хедер */
.mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px 5px;
    position: relative;
}

/* Логотип */
.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10%;
    width: 80%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
}

/* Иконка языка */
.lang-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    padding: 0;
    overflow: hidden;
    position: absolute;
    right: 22px;
    top: 20px;
}

.lang-icon:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.lang-icon:active {
    transform: scale(0.95);
}

.lang-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* Контент */
.mini-content {
    padding: 10px 22px 0px;
}

/* Градиентный текст */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Приветственный блок */
.welcome-block {
    margin-bottom: 20px;
    text-align: center;
}

.welcome-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.welcome-subtitle {
    font-size: 14px;
    color: #8e8e93;
}

/* Карточка видео на всю ширину */
.feature-card-wide {
    display: block;
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
}

.feature-card-wide:hover {
    border-color: #667eea;
}

.feature-card-wide:active {
    transform: scale(0.99);
}

.feature-media {
    width: 100%;
    height: 100%;
    position: relative;
}

.feature-media video,
.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Затемнение для широкой карточки видео - теперь вертикальное, как у нижних карточек */
.feature-card-wide .feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.feature-card-wide .feature-info-wide h3,
.feature-card-wide .feature-info-wide p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

/* Для половинчатых карточек - убираем overlay */
.feature-card-half .feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    z-index: 1;
}

/* Информационный слой для широкой карточки */
.feature-card-wide .feature-info-wide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 150px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    z-index: 2;
}

.feature-card-wide .feature-info-wide h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.feature-card-wide .feature-info-wide p {
    font-size: 12px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Ряд с карточками */
.image-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

/* Карточки половина ширины */
.feature-card-half {
    display: block;
    position: relative;
    width: calc(50% - 5px);
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
}

.feature-card-half:hover {
    border-color: #667eea;
}

.feature-card-half:active {
    transform: scale(0.98);
}

/* Информационный слой для половинчатых карточек с затемнением внизу */
.feature-card-half .feature-info-half {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.feature-card-half .feature-info-half h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

.feature-card-half .feature-info-half p {
    font-size: 11px;
    opacity: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

.feature-card-half .feature-info-half .feature-price-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    width: fit-content;
    margin-top: 4px;
    text-shadow: none;
}

/* Специально для карточки своя настройка */
.custom-card .feature-media img {
    filter: brightness(0.9) contrast(1.1);
}

/* Быстрые действия */
.quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    color: #8e8e93;
    transition: all 0.2s;
}

.action-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.action-btn:active {
    background: #e8ecf3;
}

.action-btn i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.action-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Виджет баланса */
.balance-widget {
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.balance-widget:hover {
    border-color: #667eea;
}

.balance-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
}

.balance-row i {
    color: #667eea;
}

.balance-amount {
    font-weight: 700;
    color: #1a1a1a;
}

.balance-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 20px;
}

.balance-link:hover {
    background: #667eea20;
}

/* Тарифы */
.tariffs-list {
    margin-bottom: 20px;
}

.tariffs-list h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.tariffs-container {
    margin-bottom: 8px;
}

.tariff-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s;
    position: relative;
}

.tariff-row:hover {
    border-color: #667eea;
    background: #e8ecf3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.1);
}

/* Скрытые тарифы */
.tariff-row.hidden-tariff {
    display: none;
}

.tariff-row.hidden-tariff.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

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

/* Популярный тариф */
.tariff-row.popular {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border: 2px solid #667eea;
    position: relative;
}

.popular-badge-tariff {
    position: absolute;
    top: -8px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    z-index: 10;
}

.tariff-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tariff-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.tariff-desc {
    font-size: 11px;
    color: #8e8e93;
}

.tariff-price {
    font-weight: 700;
    font-size: 18px;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    position: relative;
}

.tariff-row.popular .tariff-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Кнопка показать все тарифы */
.show-more-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fc;
    border: 1px dashed #667eea;
    border-radius: 12px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.show-more-btn:hover {
    background: #e8ecf3;
    border-color: #667eea;
    border-style: solid;
}

.show-more-btn:active {
    transform: scale(0.98);
}

.show-more-btn .btn-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.show-more-btn.active .btn-icon {
    transform: rotate(180deg);
}

/* Компактный блок "Как это работает" */
.how-it-works-compact {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 16px 16px 12px;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.how-it-works-compact:hover {
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
}

.compact-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1a1a1a;
    padding-left: 4px;
}

.compact-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compact-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #f8f9fc;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.compact-step:hover {
    border-color: #667eea;
    background: white;
    transform: translateX(2px);
}

.compact-step-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.2);
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 14px;
    filter: blur(4px);
    opacity: 0.4;
    z-index: -1;
}

.compact-step-content {
    flex: 1;
}

.compact-step-number {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 30px;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.compact-step-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.compact-step-content p {
    font-size: 11px;
    color: #8e8e93;
    line-height: 1.3;
}

/* Кнопка действия */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 16px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    border-color: white;
}

.cta-button:active {
    transform: scale(0.98);
}

/* Футер с копирайтом и ссылками */
.mini-footer {
    margin-top: 30px;
    padding: 20px 0 30px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: #8e8e93;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.footer-separator {
    color: #e0e0e0;
    font-size: 12px;
}

.footer-copyright {
    color: #b0b0b5;
    font-size: 11px;
}

/* НИЖНЯЯ НАВИГАЦИЯ */
.bottom-nav {
    display: flex;
    gap: 12px;
    padding: 12px 22px 16px;
    border-top: 1px solid #f0f0f0;
    align-items: center;
    background: white;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 380px;
    z-index: 999999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.nav-btn {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
    color: #8e8e93;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.nav-btn:active {
    background: #e8ecf3;
}

.nav-btn i {
    font-size: 16px;
}

.nav-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    margin: 0 5px;
    flex-shrink: 0;
    line-height: 1;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-btn-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.6);
}

.nav-btn-circle:active {
    transform: scale(0.95);
}

/* Адаптация */
@media (max-width: 380px) {
    .quick-actions {
        flex-wrap: wrap;
    }
    
    .action-btn {
        min-width: calc(50% - 4px);
    }
    
    .welcome-title {
        font-size: 22px;
    }
    
    .feature-card-wide {
        height: 100px;
    }
    
    .feature-card-wide .feature-info-wide h3 {
        font-size: 18px;
    }
    
    .feature-card-half {
        height: 110px;
    }
    
    .feature-card-half .feature-info-half h3 {
        font-size: 13px;
    }
    
    .feature-card-half .feature-info-half p {
        font-size: 10px;
    }
    
    .tariff-row {
        padding: 12px 14px;
    }
    
    .tariff-name {
        font-size: 14px;
    }
    
    .tariff-desc {
        font-size: 10px;
    }
    
    .tariff-price {
        font-size: 16px;
        padding: 3px 10px;
    }
    
    .popular-badge-tariff {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .show-more-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .compact-step-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .compact-step-content h4 {
        font-size: 13px;
    }
    
    .compact-step-content p {
        font-size: 10px;
    }
    
    .bottom-nav {
        padding: 10px 22px 14px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-link {
        font-size: 11px;
    }
    
    .footer-copyright {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .mini-header {
        padding: 15px 22px 5px;
    }
    
    .lang-icon {
        width: 28px;
        height: 28px;
        right: 22px;
        top: 15px;
    }
    
    .lang-flag {
        width: 18px;
        height: 18px;
    }
}

/* Страницы политики и соглашения */
.back-nav {
    padding: 10px 22px 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.2s;
}

.back-button:hover {
    transform: translateX(-3px);
}

.back-button i {
    font-size: 14px;
}

.page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 12px;
    color: #8e8e93;
}

.privacy-content {
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 28px;
}

.policy-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid #667eea;
}

.policy-section-content {
    padding-left: 12px;
}

.policy-section-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 12px;
}

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

.policy-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.policy-list li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 4px;
}

.policy-list li strong {
    color: #1a1a1a;
}

.contact-info {
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px !important;
    font-size: 14px;
}

.contact-info p:last-child {
    margin-bottom: 0 !important;
}

.contact-info i {
    width: 20px;
    color: #667eea;
}

.policy-footer {
    margin: 30px 0 20px;
}

/* Ссылка на вход под кнопкой */
.account-link {
    text-align: center;
    margin: -10px 0 20px 0;
    font-size: 13px;
    color: #8e8e93;
}

.login-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    transition: all 0.2s;
}

.login-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.account-link {
    font-size: 12px;
    margin: -8px 0 18px 0;
}

/* Иконка информации в стиле переключателя языка */
.info-icon {
    position: absolute;
    left: 22px;
    top: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    padding: 0;
    text-decoration: none;
    color: #8e8e93;
    font-size: 14px;
}

.info-icon:hover {
    border-color: #667eea;
    color: #667eea;
    transform: scale(1.05);
}

.info-icon:active {
    transform: scale(0.95);
}

/* Блок с реферальной ссылкой - минималистичный дизайн */
.referral-block {
    margin: 25px 0 20px;
    padding: 0;
}

.referral-label {
    font-size: 11px;
    color: #8e8e93;
    margin-bottom: 6px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.referral-link-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.referral-link-container:hover {
    border-color: #667eea;
}

.referral-link-input {
    flex: 1;
    padding: 0 18px;
    height: 44px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.referral-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 20px;
    background: transparent;
    border: none;
    outline: none;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border-left: 1px solid #eaeaea;
}

.referral-copy-btn:hover {
    color: #764ba2;
    background: #f8f9fc;
}

.referral-copy-btn:active {
    transform: scale(0.97);
}

.referral-copy-btn i {
    font-size: 14px;
    color: #8e8e93;
    transition: color 0.2s;
}

.referral-copy-btn:hover i {
    color: #667eea;
}

/* Адаптация для маленьких экранов */
@media (max-width: 380px) {
    .referral-link-input {
        font-size: 12px;
        padding: 0 15px;
        height: 40px;
    }
    
    .referral-copy-btn {
        height: 40px;
        padding: 0 16px;
        font-size: 12px;
    }
}

/* Длинная кнопка пополнения баланса */
.balance-topup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 15px;
    margin: 25px 0 20px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.balance-topup-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.balance-topup-btn i {
    font-size: 16px;
}

.balance-topup-btn i:last-child {
    margin-left: 4px;
    opacity: 0.8;
}

.balance-topup-btn:hover i:last-child {
    transform: translateX(3px);
    opacity: 1;
}

/* Адаптация для маленьких экранов */
@media (max-width: 380px) {
    .balance-topup-btn {
        padding: 12px 16px;
        font-size: 14px;
        gap: 8px;
        margin: 20px 0 15px;
    }
}

/* Стили для страницы информации */
.info-card {
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 18px;
    margin: 20px 0;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-card-header i {
    font-size: 22px;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px;
    border-radius: 12px;
}

.info-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 14px;
    color: #4a4a4a;
}

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

.info-list li i {
    color: #667eea;
    font-size: 16px;
    width: 20px;
}

.info-pricing {
    margin: 25px 0 15px;
}

.info-pricing h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.pricing-grid {
    display: flex;
    gap: 10px;
}

.pricing-item {
    flex: 1;
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 15px 5px;
    text-align: center;
    position: relative;
}

.pricing-item.popular {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    font-size: 16px;
}

.pricing-count {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.pricing-price {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 10px;
    border-radius: 30px;
}

.pricing-item.popular .pricing-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Адаптация для маленьких экранов */
@media (max-width: 380px) {
    .info-card-header h3 {
        font-size: 15px;
    }
    
    .info-list li {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .pricing-count {
        font-size: 14px;
    }
    
    .pricing-price {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* Стили для страницы баланса */
.current-balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px;
    color: white;
    margin: 20px 0 10px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.current-balance-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.current-balance-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.balance-stars {
    font-size: 20px;
    letter-spacing: 2px;
}

.balance-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.balance-currency {
    font-size: 14px;
    opacity: 0.9;
}

.balance-progress {
    margin-top: 5px;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin-bottom: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    width: 0%;
}

.progress-text {
    font-size: 11px;
    opacity: 0.8;
}

/* Выбранный тариф */
.tariff-row.selected {
    border: 2px solid #667eea;
    background: #f0f3ff;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.tariff-row.selected .tariff-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Карточка выбранного тарифа */
.selected-tariff-card {
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 16px;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.selected-tariff-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.selected-tariff-label {
    font-size: 13px;
    color: #8e8e93;
}

.selected-tariff-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.selected-tariff-price {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.payment-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    width: 100%;
    justify-content: center;
}

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

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

/* Способы оплаты */
.payment-methods {
    margin: 20px 0;
    text-align: center;
}

.payment-methods h3 {
    font-size: 14px;
    font-weight: 500;
    color: #8e8e93;
    margin-bottom: 12px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.payment-icon {
    font-size: 28px;
    color: #b0b0b5;
    transition: color 0.2s;
}

.payment-icon:hover {
    color: #667eea;
}

.payment-security {
    font-size: 12px;
    color: #8e8e93;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Адаптация */
@media (max-width: 380px) {
    .current-balance-amount {
        gap: 5px;
    }
    
    .balance-number {
        font-size: 28px;
    }
    
    .selected-tariff-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .selected-tariff-price {
        align-self: flex-start;
    }
    
    .payment-icons {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .payment-icon {
        font-size: 24px;
    }
}

/* Стили для страницы истории */
.history-filters {
    display: flex;
    gap: 8px;
    margin: 20px 0 25px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.history-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 8px 16px;
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.history-item {
    display: flex;
    gap: 15px;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    padding: 12px;
    transition: all 0.2s;
}

.history-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.history-item-media {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f5;
}

.history-item-media video,
.history-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-item-type {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.history-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.history-item-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.history-item-date {
    font-size: 11px;
    color: #8e8e93;
}

.history-item-desc {
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.history-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
}

.history-item-status.completed {
    color: #34c759;
}

.history-item-status.processing {
    color: #667eea;
}

.history-item-actions {
    display: flex;
    gap: 8px;
}

.history-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    color: #8e8e93;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.history-action-btn:hover:not(:disabled) {
    border-color: #667eea;
    color: #667eea;
}

.history-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.load-more-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #f8f9fc;
    border: 1px dashed #667eea;
    border-radius: 16px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.load-more-btn:hover {
    background: #e8ecf3;
    border-color: #667eea;
    border-style: solid;
}

.load-more-btn:active {
    transform: scale(0.98);
}

/* Активная кнопка в нижней навигации */
.nav-btn.active {
    border-color: #667eea;
    color: #667eea;
    background: #f0f3ff;
}

/* Адаптация */
@media (max-width: 380px) {
    .history-item-media {
        width: 70px;
        height: 70px;
    }
    
    .history-item-header h4 {
        font-size: 14px;
    }
    
    .history-item-desc {
        font-size: 12px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* Стили для страницы профиля */

/* Заголовок профиля */
.profile-info-header {
    margin: 15px 0 20px;
}

.profile-name-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.profile-username {
    font-size: 14px;
    color: #8e8e93;
}

/* Карточка с информацией */
.profile-info-card {
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 25px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}

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

.profile-info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a4a4a;
    font-size: 14px;
}

.profile-info-label i {
    width: 20px;
    color: #667eea;
    font-size: 16px;
}

.profile-info-value {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

/* Статистика обработок */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.stats-card {
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.stats-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stats-label {
    font-size: 11px;
    color: #8e8e93;
}

.stats-number {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Баланс и статистика */
.balance-section {
    margin-bottom: 25px;
}

.balance-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.balance-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.balance-stat-item {
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 15px;
}

.balance-stat-label {
    display: block;
    font-size: 11px;
    color: #8e8e93;
    margin-bottom: 6px;
}

.balance-stat-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    flex-wrap: wrap;
}

.balance-stat-value.money {
    color: #34c759;
}

.balance-stat-value .stars {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffb800;
}

.balance-stat-value .number {
    font-size: 20px;
}

.balance-stat-value .currency {
    font-size: 12px;
    font-weight: 400;
    color: #8e8e93;
}

/* Реферальная секция */
.referral-section {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 20px;
}

.referral-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.referral-description {
    font-size: 12px;
    color: #8e8e93;
    margin-bottom: 15px;
}

/* Исправленный блок с реферальной ссылкой */
.referral-link-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    overflow: hidden;
    transition: border-color 0.2s;
    width: 100%;
}

.referral-link-wrapper:hover {
    border-color: #667eea;
}

.referral-link-input {
    flex: 1;
    min-width: 0;
    padding: 0 18px;
    height: 44px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.referral-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 20px;
    background: #1e1e1e;
    border: none;
    outline: none;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border-left: 1px solid #eaeaea;
    flex-shrink: 0;
}

.referral-copy-btn:hover {
    color: #764ba2;
    background: #f8f9fc;
}

.referral-copy-btn:active {
    transform: scale(0.97);
}

.referral-copy-btn i {
    font-size: 14px;
    color: #8e8e93;
    transition: color 0.2s;
}

.referral-copy-btn:hover i {
    color: #667eea;
}

.referral-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.referral-stat-item {
    flex: 1;
}

.referral-stat-label {
    display: block;
    font-size: 11px;
    color: #8e8e93;
    margin-bottom: 4px;
}

.referral-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Кнопка пополнения баланса */
.profile-topup-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    margin: 20px 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

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

.profile-topup-btn i:last-child {
    opacity: 0.8;
    transition: transform 0.2s;
}

.profile-topup-btn:hover i:last-child {
    transform: translateX(3px);
    opacity: 1;
}

/* История пополнений */
.payment-history {
    margin: 25px 0 20px;
}

.payment-history h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.payment-history-list {
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    overflow: hidden;
}

.payment-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eaeaea;
}

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

.payment-history-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-history-date {
    font-size: 11px;
    color: #8e8e93;
}

.payment-history-plan {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.payment-history-amount {
    font-size: 16px;
    font-weight: 700;
    color: #34c759;
}

/* Кнопка выхода */
.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 16px;
    color: #f5222d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin: 20px 0 10px;
}

.logout-btn:hover {
    background: #ffe6e3;
    border-color: #ff8a80;
}

.logout-btn:active {
    transform: scale(0.98);
}

/* Адаптация для разных экранов */
@media (max-width: 380px) {
    .profile-name-section h2 {
        font-size: 22px;
    }
    
    .stats-grid {
        gap: 6px;
    }
    
    .stats-card {
        padding: 12px 5px;
    }
    
    .stats-number {
        font-size: 16px;
    }
    
    .balance-stat-value {
        font-size: 16px;
    }
    
    .balance-stat-value .number {
        font-size: 18px;
    }
    
    .referral-stat-number {
        font-size: 16px;
    }
    
    .profile-topup-btn {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .referral-link-input {
        font-size: 12px;
        padding: 0 12px;
        height: 40px;
    }
    
    .referral-copy-btn {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 340px) {
    .referral-copy-btn span {
        display: none;
    }
    
    .referral-copy-btn i {
        font-size: 16px;
        margin: 0;
    }
    
    .referral-copy-btn {
        padding: 0 15px;
    }
    
    .balance-stat-value {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

/* Стили для страницы загрузки */
.upload-area {
    background: #f8f9fc;
    border: 2px dashed #e0e0e0;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

.upload-area.dragover {
    border-color: #667eea;
    background: #f0f3ff;
    transform: scale(1.02);
}

.upload-content i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 10px;
}

.upload-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.upload-content p {
    font-size: 13px;
    color: #8e8e93;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 11px;
    color: #b0b0b5;
}

.preview-area {
    position: relative;
    margin: 15px 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.preview-area img {
    width: 100%;
    height: auto;
    display: block;
}

.change-photo-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 25px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.change-photo-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.style-section {
    margin: 20px 0 15px;
}

.style-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.style-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.style-card-compact {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.style-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.style-card-compact.selected {
    border: 2px solid #667eea;
    transform: scale(1.02);
}

.style-media {
    position: relative;
    width: 100%;
    height: 100%;
}

.style-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.style-name-bottom {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 11px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    z-index: 2;
    padding: 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-style-info {
    background: #f0f3ff;
    border: 1px solid #667eea;
    border-radius: 25px;
    padding: 10px 16px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
}

.selected-style-info span:last-child {
    font-weight: 600;
    color: #1a1a1a;
}

.generate-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    margin: 20px 0 10px;
}

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

.generate-btn:active:not(:disabled) {
    transform: translateY(0);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cost-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: #8e8e93;
    font-size: 13px;
    border-top: 1px solid #eaeaea;
    margin-top: 10px;
}

.cost-info i {
    color: #667eea;
}

/* Адаптация */
@media (max-width: 380px) {
    .style-grid-compact {
        gap: 6px;
    }
    
    .style-name-bottom {
        font-size: 10px;
        bottom: 6px;
    }
    
    .upload-content i {
        font-size: 36px;
    }
    
    .upload-content h3 {
        font-size: 15px;
    }
    
    .upload-content p {
        font-size: 12px;
    }
}

@media (max-width: 340px) {
    .style-name-bottom {
        font-size: 9px;
    }
}

/* Стили для кнопки открытия настроек */
.settings-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    margin: 15px 0 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
}

.settings-toggle-btn:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

.settings-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-toggle-left i {
    color: #667eea;
    font-size: 16px;
}

.settings-toggle-btn i.fa-chevron-down {
    color: #8e8e93;
    transition: transform 0.3s;
}

/* Стили для настроек */
.settings-section {
    margin: 0 0 20px 0;
    padding: 16px;
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.setting-item {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
}

.setting-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 500;
}

.setting-label i {
    color: #667eea;
    font-size: 14px;
    width: 18px;
}

.setting-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.setting-option {
    padding: 6px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    color: #4a4a4a;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 0 auto;
}

.setting-option:hover {
    border-color: #667eea;
    color: #667eea;
}

.setting-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.settings-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    color: #8e8e93;
    font-size: 12px;
}

.settings-note i {
    color: #667eea;
    font-size: 14px;
}

/* Выбранный стиль */
.selected-style-info {
    background: #f0f3ff;
    border: 1px solid #667eea;
    border-radius: 30px;
    padding: 10px 16px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
}

.selected-style-info i {
    color: #34c759;
}

.selected-style-info span:last-child {
    font-weight: 600;
    color: #1a1a1a;
    background: white;
    padding: 3px 12px;
    border-radius: 30px;
}

/* Адаптация */
@media (max-width: 380px) {
    .setting-option {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .settings-section {
        padding: 12px;
    }
    
    .setting-label {
        font-size: 12px;
    }
    
    .settings-toggle-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Стили для выбранных параметров */
.selected-params-container {
    background: #f0f3ff;
    border: 1px solid #667eea;
    border-radius: 16px;
    padding: 12px 16px;
    margin: 15px 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selected-params-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.selected-params-header i {
    color: #34c759;
}

.selected-params-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.param-badge {
    background: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: #667eea;
    border: 1px solid #667eea;
    font-weight: 500;
}

/* Стоимость обработки */
.cost-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: #8e8e93;
    font-size: 13px;
    border-top: 1px solid #eaeaea;
    margin-top: 10px;
}

.cost-info i {
    color: #667eea;
}

/* Адаптация */
@media (max-width: 380px) {
    .param-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .selected-params-container {
        padding: 10px 12px;
    }
}

/* Стили для страницы замены лица */
.generation-type-selector {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    background: #f8f9fc;
    padding: 6px;
    border-radius: 40px;
    border: 1px solid #eaeaea;
}

.type-selector-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 34px;
    font-size: 14px;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s;
}

.type-selector-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.2);
}

.type-selector-btn i {
    font-size: 16px;
}

.upload-section {
    margin-bottom: 25px;
}

.upload-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
}

.upload-section-label i {
    color: #667eea;
    font-size: 16px;
}

.upload-area-small {
    background: #f8f9fc;
    border: 2px dashed #e0e0e0;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area-small:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

.upload-area-small.dragover {
    border-color: #667eea;
    background: #f0f3ff;
    transform: scale(1.01);
}

.upload-content-small i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 10px;
}

.upload-content-small p {
    font-size: 13px;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 500;
}

.upload-hint-small {
    font-size: 11px;
    color: #8e8e93;
}

.preview-area-small {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #eaeaea;
    aspect-ratio: 16/9;
    background: #f8f9fc;
}

.preview-area-small img,
.preview-area-small video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.change-photo-small-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    cursor: pointer;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.change-photo-small-btn:hover {
    background: white;
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.selected-files-info {
    background: #f0f3ff;
    border: 1px solid #667eea;
    border-radius: 16px;
    padding: 12px 16px;
    margin: 20px 0;
}

.selected-files-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.selected-files-header i {
    color: #34c759;
}

.selected-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #1a1a1a;
    border: 1px solid #eaeaea;
}

.file-badge i {
    color: #667eea;
    font-size: 14px;
}

/* Адаптация */
@media (max-width: 380px) {
    .type-selector-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .upload-area-small {
        padding: 20px;
    }
    
    .upload-content-small i {
        font-size: 28px;
    }
    
    .upload-content-small p {
        font-size: 12px;
    }
    
    .file-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Стили для страниц политики */
.privacy-content {
    margin: 20px 0 30px;
}

.policy-section {
    margin-bottom: 28px;
}

.policy-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid #667eea;
}

.policy-section-content {
    padding-left: 12px;
}

.policy-section-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 12px;
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.policy-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.policy-list li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 4px;
}

.policy-list li strong {
    color: #1a1a1a;
}

.contact-info {
    background: #f8f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px !important;
    font-size: 14px;
}

.contact-info p:last-child {
    margin-bottom: 0 !important;
}

.contact-info i {
    width: 20px;
    color: #667eea;
}

.policy-footer {
    margin: 30px 0 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.2s;
}

.back-button:hover {
    transform: translateX(-3px);
}

.back-button i {
    font-size: 14px;
}

/* Адаптация */
@media (max-width: 380px) {
    .policy-section-title {
        font-size: 16px;
    }
    
    .policy-section-content p,
    .policy-list li {
        font-size: 13px;
    }
    
    .contact-info p {
        font-size: 12px;
    }
}

/* Стили для кнопки "На главную" */
.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    width: auto;
    min-width: 160px;
}

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

.back-to-home-btn:active {
    transform: translateY(0);
}

.back-to-home-btn i {
    font-size: 16px;
}

.policy-footer {
    margin: 30px 0 20px;
    text-align: center;
}

/* Стили для страницы соглашения */
.terms-content {
    margin: 20px 0 30px;
}

.terms-section {
    margin-bottom: 28px;
}

.terms-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid #667eea;
}

.terms-section-content {
    padding-left: 12px;
}

.terms-section-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 12px;
}

.terms-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 15px 20px;
}

.terms-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.terms-list li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 4px;
}

.terms-agreement {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border: 1px solid #667eea;
    border-radius: 16px;
    padding: 16px;
    margin: 25px 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.terms-agreement i {
    color: #34c759;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-agreement p {
    font-size: 13px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
}

.terms-footer {
    margin: 30px 0 20px;
    text-align: center;
}

/* Адаптация */
@media (max-width: 380px) {
    .terms-section-title {
        font-size: 16px;
    }
    
    .terms-section-content p,
    .terms-list li {
        font-size: 13px;
    }
    
    .terms-agreement {
        padding: 14px;
    }
    
    .terms-agreement p {
        font-size: 12px;
    }
}

/* Информативное компактное модальное окно 18+ */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    border-radius: 24px;
    padding: 20px;
    max-width: 280px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.2s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-modal-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

.age-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.age-modal-text {
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.age-modal-warning {
    background: #fff3e0;
    border-left: 3px solid #ff9800;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #e65100;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-modal-warning i {
    color: #ff9800;
    font-size: 14px;
}

.age-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.age-modal-btn {
    padding: 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}

.age-modal-btn.accept {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.age-modal-btn.accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.age-modal-btn.decline {
    background: #f8f9fc;
    color: #8e8e93;
    border: 1px solid #e0e0e0;
}

.age-modal-btn.decline:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f0f3ff;
}

.age-modal-footer {
    font-size: 11px;
    color: #8e8e93;
    line-height: 1.5;
    border-top: 1px solid #eaeaea;
    padding-top: 12px;
}

.age-modal-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.age-modal-link:hover {
    text-decoration: underline;
}

/* Стили для блока настроек в профиле */
.settings-profile-section {
    margin: 25px 0 20px;
}

.settings-profile-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.settings-profile-grid {
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    overflow: hidden;
}

.settings-profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

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

.settings-profile-item:hover {
    background: #f0f3ff;
}

.settings-profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-profile-info i {
    width: 20px;
    color: #667eea;
    font-size: 16px;
}

.settings-profile-info span {
    font-size: 14px;
    color: #1a1a1a;
}

.settings-profile-toggle {
    width: 50px;
    height: 28px;
    background: #e0e0e0;
    border-radius: 30px;
    border: none;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.settings-profile-toggle.active {
    background: #667eea;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.settings-profile-toggle.active .toggle-slider {
    transform: translateX(22px);
}

.settings-profile-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.settings-profile-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}

.settings-profile-btn:hover i {
    transform: translateX(3px);
}

/* Темная тема для настроек */
body.dark-theme .settings-profile-grid {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-theme .settings-profile-item {
    border-bottom-color: #333;
}

body.dark-theme .settings-profile-item:hover {
    background: #252525;
}

body.dark-theme .settings-profile-info span {
    color: #ffffff;
}

body.dark-theme .settings-profile-info i {
    color: #ff9c04;
}

body.dark-theme .settings-profile-toggle {
    background: #333;
}

body.dark-theme .settings-profile-toggle.active {
    background: #ff9c04;
}

body.dark-theme .settings-profile-btn {
    color: #ff9c04;
}
.referral-label.warning-text {
    color: #ff4757;
}

/* Исправление для картинок в блоках стилей */
.style-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.style-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Для видео тоже добавим */
.style-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Убедимся, что карточки имеют правильные пропорции */
.style-card-compact {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #f0f2f5; /* Цвет фона на время загрузки */
}

/* Затемнение остается как было */
.style-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Информационная плашка о хранении */
.storage-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fc;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    padding: 10px 16px;
    margin: -5px 0 20px 0;
    font-size: 12px;
    color: #64748b;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.storage-info i {
    color: #667eea;
    font-size: 14px;
}

/* Темная тема */
body.dark-theme .storage-info {
    background: #1e1e1e;
    border-color: #333;
    color: #a0a0a0;
}

body.dark-theme .storage-info i {
    color: #ff9c04;
}

/* Адаптация для маленьких экранов */
@media (max-width: 380px) {
    .storage-info {
        font-size: 11px;
        padding: 8px 12px;
        gap: 6px;
    }
}

/* Три карточки в ряд */
.image-row-three {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.image-row-three .feature-card-half {
    width: calc(33.33% - 5.33px);
    height: 140px;
}

/* Стили для цены на карточках - компактные */
.feature-price-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    color: #ffb800;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.3px;
}

.feature-price-badge i {
    font-size: 9px;
    color: #ffb800;
}

/* Темная тема для цены */
body.dark-theme .feature-price-badge {
    background: rgba(0, 0, 0, 0.8);
    color: #ff9c04;
}

body.dark-theme .feature-price-badge i {
    color: #ff9c04;
}

/* Адаптация для маленьких экранов */
@media (max-width: 380px) {
    .image-row-three .feature-card-half {
        height: 120px;
    }
    
    .feature-price-badge {
        top: 5px;
        right: 5px;
        padding: 2px 6px;
        font-size: 9px;
    }
    
    .feature-price-badge i {
        font-size: 8px;
    }
    
    .feature-card-half .feature-info-half h3 {
        font-size: 11px;
    }
    
    .feature-card-half .feature-info-half p {
        font-size: 9px;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 340px) {
    .image-row-three .feature-card-half {
        height: 105px;
    }
    
    .feature-price-badge {
        padding: 2px 5px;
        font-size: 8px;
    }
    
    .feature-price-badge i {
        font-size: 7px;
    }
}