/* ===========================
   Hovor.ru - Styles
   =========================== */

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

:root {
    --primary: #5dade2;
    --primary-dark: #4a9bd9;
    --primary-light: #7ec8e3;
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --bg-card-hover: #e9ecef;
    --text-primary: #1a1a2e;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --border: #dee2e6;
    --success: #10b981;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #1976D2 0%, #2196F3 50%, #42A5F5 100%);
}

[data-theme="dark"] {
    --primary: #5dade2;
    --primary-dark: #4a9bd9;
    --primary-light: #7ec8e3;
    --bg-dark: #0f0f23;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --border: #2a2a40;
    --success: #10b981;
    --error: #ef4444;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
    padding-top: 60px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 40px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 8px;
}

[data-theme="dark"] .header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header .logo,
.header .nav {
    z-index: 1;
}

/* ===========================
   Main Navigation (Desktop)
   =========================== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 1;
}

.main-nav__item {
    position: relative;
}

.main-nav__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.main-nav__btn:hover {
    background: var(--bg-card);
    color: var(--primary);
}

.main-nav__btn--link {
    text-decoration: none;
    color: var(--text-primary);
}

.main-nav__btn--link:hover {
    text-decoration: none;
}

.main-nav__chevron {
    flex-shrink: 0;
    opacity: 0.4;
    transition: transform 0.2s;
}

.main-nav__item:hover .main-nav__chevron {
    transform: rotate(180deg);
    opacity: 0.7;
}

/* Dropdown */
.main-nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 280px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

[data-theme="dark"] .main-nav__dropdown {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.main-nav__item:hover .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.main-nav__dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.main-nav__link {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    transition: background 0.15s ease, color 0.15s ease;
}

.main-nav__link:hover {
    background: var(--bg-card);
    color: var(--primary);
    text-decoration: none;
}

/* Burger Button */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1;
    transition: background 0.2s;
}

.burger-btn:hover {
    background: var(--bg-card-hover);
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border);
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    padding-bottom: 40px;
}

[data-theme="dark"] .mobile-menu {
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu__close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.mobile-menu__close:hover {
    color: var(--text-primary);
}

.mobile-menu__section {
    padding: 16px 20px 8px;
}

.mobile-menu__category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 4px;
}

.mobile-menu__link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
    margin-bottom: 2px;
}

.mobile-menu__link:hover {
    background: var(--bg-card);
    text-decoration: none;
}

.mobile-menu__link--home {
    font-weight: 600;
    color: var(--primary);
}

/* Hide nav menu on mobile, show burger */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .header {
        padding: 6px 16px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        padding: 6px 12px;
        gap: 6px;
    }

    .nav {
        gap: 8px;
    }

    .nav .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: opacity 0.2s ease;
    letter-spacing: -0.02em;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 24px;
}

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

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

.user-credits {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    font-weight: 400;
}

.credits-icon {
    font-size: 16px;
}

.icon-coin {
    width: 20px;
    height: 20px;
    vertical-align: -4px;
    display: inline-block;
    flex-shrink: 0;
}

.user-email {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .user-email {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 0 10px;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title-gradient {
    font-size: 3rem;
    font-weight: 600;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 10px;
    color: #002C5C;
    letter-spacing: -0.025em;
    line-height: 130%;
    white-space: pre-wrap;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 0;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

/* Services Section */
.services {
    padding: 40px 0;
}

@media (max-width: 768px) {
    .services {
        padding: 30px 0;
    }
}

/* New Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Первые 3 карточки — по 2 колонки */
.cards .card {
    grid-column: span 2;
}

/* Нижние 2 карточки центрированы: смещены на 1 колонку */
.cards .card:nth-child(4) {
    grid-column: 2 / 4;
}
.cards .card:nth-child(5) {
    grid-column: 4 / 6;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    opacity: 0.9;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Card accent colors — Текст */
.card--text::before { background: var(--primary); }
.card--text:hover { border-color: rgba(93, 173, 226, 0.3); }
.card--text .card__icon { }
.card--text .card__btn:hover { background: rgba(93, 173, 226, 0.08); border-color: rgba(93, 173, 226, 0.3); }

/* Card accent colors — Фото */
.card--photo::before { background: var(--primary); }
.card--photo:hover { border-color: rgba(93, 173, 226, 0.3); }
.card--photo .card__icon { }
.card--photo .card__btn:hover { background: rgba(93, 173, 226, 0.08); border-color: rgba(93, 173, 226, 0.3); }

/* Card accent colors — Дизайн */
.card--design::before { background: var(--primary); }
.card--design:hover { border-color: rgba(93, 173, 226, 0.3); }
.card--design .card__icon { }
.card--design .card__btn:hover { background: rgba(93, 173, 226, 0.08); border-color: rgba(93, 173, 226, 0.3); }

/* Card accent colors — Музыка */
.card--music::before { background: var(--primary); }
.card--music:hover { border-color: rgba(93, 173, 226, 0.3); }
.card--music .card__icon { }
.card--music .card__btn:hover { background: rgba(93, 173, 226, 0.08); border-color: rgba(93, 173, 226, 0.3); }

/* Card accent colors — Видео */
.card--video::before { background: var(--primary); }
.card--video:hover { border-color: rgba(93, 173, 226, 0.3); }
.card--video .card__icon { }
.card--video .card__btn:hover { background: rgba(93, 173, 226, 0.08); border-color: rgba(93, 173, 226, 0.3); }

.card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card__icon img {
    width: 48px;
    height: 48px;
    opacity: 0.7;
}

.card__title {
    font-size: 20px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--text-primary);
}

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

.card__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    text-decoration: none;
}

a.card__btn:hover {
    text-decoration: none;
}

.card__btn:active {
    transform: scale(0.98);
}

.card__btn-text {
    flex: 1;
}


/* Coming soon buttons */
.card__btn--soon {
    opacity: 0.55;
    cursor: default;
}

.card__btn--soon:hover {
    background: var(--bg-dark) !important;
    border-color: var(--border) !important;
    transform: none !important;
}

.card__btn-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(25, 118, 210, 0.1);
    color: var(--primary);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards .card {
        grid-column: span 1;
    }
    .cards .card:nth-child(4),
    .cards .card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .hero-title-gradient {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cards .card,
    .cards .card:nth-child(4),
    .cards .card:nth-child(5) {
        grid-column: auto;
    }

    .card {
        padding: 24px 20px;
    }
}

/* Legacy service classes (kept for compatibility) */
.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.service-card.coming-soon {
    opacity: 0.6;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.service-credits {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(25, 118, 210, 0.15);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
}

/* Pricing Section */
.pricing {
    padding: 40px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-grid-4 {
    max-width: 1200px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(25, 118, 210, 0.12);
    border-color: var(--primary-light);
}

.pricing-card.popular {
    border-color: #ffd700;
    border-width: 2px;
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.18);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25);
}

.pricing-card.featured {
    border-color: #ff6b6b;
    border-width: 2px;
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.12);
}

.pricing-card.featured:hover {
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #1a1a2e;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
}

.pricing-badge.secondary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.pricing-icon {
    font-size: 32px;
    margin-bottom: 6px;
}

.pricing-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.pricing-old-price {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 4px;
    position: relative;
    display: inline-block;
}

.pricing-old-price::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 3px;
    background: #ef4444;
    transform: rotate(-12deg);
    border-radius: 2px;
}

.pricing-card:nth-child(3) .pricing-old-price::after {
    transform: rotate(-8deg);
}

.pricing-card:nth-child(4) .pricing-old-price::after {
    transform: rotate(-15deg);
}

.pricing-price {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.pricing-price.highlight {
    color: #f59e0b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pricing-credits {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
}

.pricing-discount {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 16px;
}

.pricing-features li {
    padding: 3px 0;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    margin-right: 10px;
}

.pricing-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.benefit-item {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .pricing-benefits {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    border: 1px solid var(--border);
    animation: modalIn 0.3s ease;
}

.modal-large {
    max-width: 600px;
}

.modal-pricing {
    max-width: 960px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 32px 36px 28px;
    border-radius: 24px;
}

.modal-pricing::-webkit-scrollbar {
    display: none;
}

/* Pricing Timer */
.pricing-timer-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.pricing-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 28px;
    margin: 0;
    background: linear-gradient(90deg, #1a0000 0%, #3d0a0a 30%, #5c1010 50%, #3d0a0a 70%, #1a0000 100%);
    border: 2px solid #ef4444;
    border-radius: 50px;
    animation: timerGlow 1.5s ease-in-out infinite, timerSwing 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    transform-origin: center top;
}

@keyframes timerSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1.5deg); }
    75% { transform: rotate(-1.5deg); }
}

.pricing-timer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(239, 68, 68, 0.08) 50%, transparent 100%);
    animation: timerShimmer 2s linear infinite;
}

@keyframes timerGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.3), 0 0 20px rgba(239, 68, 68, 0.1);
        border-color: #ef4444;
    }
    50% {
        box-shadow: 0 0 16px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.2);
        border-color: #f87171;
    }
}

@keyframes timerShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pricing-timer-flame {
    font-size: 24px;
    animation: timerFlame 0.6s ease-in-out infinite alternate;
    filter: brightness(1.2);
}

@keyframes timerFlame {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.25) rotate(5deg); }
}

.pricing-timer-body {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.pricing-timer-label {
    font-size: 14px;
    font-weight: 600;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-timer-countdown {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.8), 0 0 24px rgba(239, 68, 68, 0.4);
    animation: countdownPulse 1s ease-in-out infinite;
}

@keyframes countdownPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.pricing-timer.expired .pricing-timer-countdown {
    color: var(--text-muted);
    text-shadow: none;
    animation: none;
}

.pricing-timer.expired {
    animation: none;
    border-color: var(--border);
    background: var(--bg-card);
    box-shadow: none;
}

.pricing-timer.expired::before {
    animation: none;
    display: none;
}

.pricing-timer.expired .pricing-timer-flame {
    animation: none;
    opacity: 0.3;
}

@media (max-width: 520px) {
    .pricing-timer {
        flex-direction: row;
        gap: 8px;
        padding: 8px 14px;
    }

    .pricing-timer-body {
        flex-direction: column;
        gap: 2px;
    }

    .pricing-timer-label {
        font-size: 11px;
    }

    .pricing-timer-countdown {
        font-size: 22px;
    }

    .pricing-timer-flame {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .modal-pricing {
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        border-radius: 12px 12px 0 0;
        padding: 24px 16px;
    }
}

.pricing-grid-modal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

@media (max-width: 960px) {
    .pricing-grid-modal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .pricing-grid-modal {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-grid-modal .pricing-card {
    padding: 24px 18px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-grid-modal .pricing-card.popular {
    background: linear-gradient(180deg, #fffbe6 0%, #fff9db 100%);
    border-color: #ffd700;
}

[data-theme="dark"] .pricing-grid-modal .pricing-card.popular {
    background: linear-gradient(180deg, #2a2510 0%, #1f1c0e 100%);
}

.pricing-grid-modal .pricing-card.featured {
    background: linear-gradient(180deg, #fff0f0 0%, #ffe8e8 100%);
    border-color: #ff6b6b;
}

[data-theme="dark"] .pricing-grid-modal .pricing-card.featured {
    background: linear-gradient(180deg, #2a1515 0%, #1f0e0e 100%);
}

.pricing-grid-modal .pricing-icon {
    font-size: 36px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.pricing-grid-modal .pricing-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pricing-grid-modal .pricing-price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.pricing-grid-modal .pricing-credits {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 4px 14px;
    background: rgba(93, 173, 226, 0.1);
    border-radius: 20px;
}

.pricing-grid-modal .pricing-features {
    margin-bottom: 18px;
    width: 100%;
}

.pricing-grid-modal .pricing-features li {
    font-size: 13px;
    padding: 4px 0;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-grid-modal .pricing-features li::before {
    display: none;
}

.pricing-enough {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
    width: 100%;
    text-align: center;
}

span.pricing-or {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    opacity: 0.5;
    font-style: italic;
    margin-left: 4px;
}

.pricing-grid-modal .pricing-features li:last-child {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    justify-content: center;
}

.pricing-grid-modal .btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.pricing-grid-modal .pricing-card.popular .btn,
.pricing-grid-modal .pricing-card.featured .btn {
    box-shadow: 0 4px 14px rgba(93, 173, 226, 0.3);
}

.pricing-grid-modal .pricing-card.popular .btn:hover,
.pricing-grid-modal .pricing-card.featured .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(93, 173, 226, 0.4);
}

.pricing-grid-modal .pricing-benefits {
    margin-top: 10px;
    padding: 12px;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.02em;
}

.modal-pricing .modal-title {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 28px;
    line-height: 1.5;
}

.modal-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    margin-bottom: 12px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.modal-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    white-space: nowrap;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 400;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-error {
    color: var(--error);
    font-size: 14px;
    text-align: center;
}

.form-error:not(:empty) {
    margin-bottom: 15px;
}

.form-success {
    color: var(--success);
    font-size: 14px;
    text-align: center;
}

.form-success:not(:empty) {
    margin-bottom: 15px;
}

.modal-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-switch a {
    color: var(--primary-light);
    text-decoration: none;
}

/* Welcome credits modal — стиль «выигрыш» */
.modal-welcome-credits {
  text-align: center;
  position: relative;
  overflow: visible;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24, #10b981) border-box;
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.3), 0 0 80px rgba(16, 185, 129, 0.15);
  animation: welcomeGlow 2s ease-in-out infinite alternate;
}

@keyframes welcomeGlow {
  from { box-shadow: 0 0 30px rgba(251, 191, 36, 0.25), 0 0 60px rgba(16, 185, 129, 0.1); }
  to { box-shadow: 0 0 50px rgba(251, 191, 36, 0.4), 0 0 100px rgba(16, 185, 129, 0.2); }
}

.modal-welcome-credits .modal-title {
  text-align: center;
}

.modal-welcome-credits .welcome-credits-text,
.modal-welcome-credits .welcome-credits-actions {
  text-align: center;
}

.welcome-credits-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.welcome-credits-text strong {
  color: #d97706;
  font-weight: 800;
  font-size: 1.15em;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.welcome-free {
  display: inline-block;
  padding: 2px 12px;
  margin: 0 2px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
  color: #92400e;
  font-weight: 800;
  font-size: 1.1em;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5);
  animation: welcomePulse 1.5s ease-in-out infinite;
}

@keyframes welcomePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 4px 20px rgba(251, 191, 36, 0.7); }
}

[data-theme="dark"] .modal-welcome-credits {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, #b45309, #92400e, #10b981, #059669) border-box;
}

[data-theme="dark"] .welcome-free {
  background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
  color: #fef3c7;
}

[data-theme="dark"] .welcome-credits-text strong {
  color: #fcd34d;
}

.welcome-credits-actions {
  margin-top: 8px;
}

.modal-switch a:hover {
    text-decoration: underline;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-light);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

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

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.dashboard-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dashboard-value {
    font-size: 18px;
    font-weight: 500;
}

.dashboard-section-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.token-box {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.token-box code {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
    font-family: monospace;
}

.token-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* Dashboard Buy Section */
.dashboard-buy-section {
    margin-bottom: 20px;
}

.dashboard-buy-section .btn {
    font-size: 16px;
    padding: 14px 24px;
    gap: 8px;
}

/* Transactions History */
.transactions-section {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.transactions-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.transactions-list {
    max-height: 300px;
    overflow-y: auto;
}

.transactions-loading,
.transactions-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-size: 14px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
    margin-bottom: 8px;
}

.transaction-info {
    flex: 1;
}

.transaction-desc {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.transaction-date {
    font-size: 12px;
    color: var(--text-muted);
}

.transaction-amount {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 12px;
}

.transaction-amount.positive {
    color: var(--success);
}

.transaction-amount.negative {
    color: var(--error);
}

@media (max-width: 768px) {
    .transactions-list {
        max-height: 200px;
    }

    .transaction-item {
        padding: 10px;
    }

    .transaction-desc {
        font-size: 12px;
    }

    .transaction-date {
        font-size: 10px;
    }

    .transaction-amount {
        font-size: 14px;
    }

    .transaction-thumb {
        width: 36px;
        height: 36px;
    }
}

/* Transaction Media */
.transaction-media {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.transaction-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
}

.transaction-thumb:hover {
    transform: scale(1.1);
    border-color: var(--primary);
}

.transaction-arrow {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.transaction-audio {
    height: 28px;
    max-width: 200px;
}

.transaction-video {
    max-width: 160px;
    max-height: 90px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-title-gradient {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .pricing-card.popular {
        transform: none;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 40px 0 20px;
    background: linear-gradient(to bottom, var(--bg-card) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border);
    overflow-x: hidden;
}

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

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-desktop {
    display: none;
}

@media (min-width: 768px) {
    .footer-section-desktop {
        display: flex;
    }
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #002C5C;
    opacity: 0.7;
    letter-spacing: -0.01em;
}

.footer-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.footer-text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-accreditation {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .footer-accreditation {
        max-width: 80%;
    }
}

[data-theme="dark"] .footer-accreditation {
    background: rgba(255, 255, 255, 0.03);
}

.accreditation-icon {
    flex-shrink: 0;
}

.accreditation-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.accreditation-text {
    font-size: 10px;
    line-height: 1.3;
    color: var(--text-secondary);
}

.accreditation-text p {
    margin: 0;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-payments img {
    height: 19px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-payments img:hover {
    opacity: 1;
}

.footer-company-mobile {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .footer-company-mobile {
        display: none;
    }
}

.footer-address {
    display: none;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .footer-address {
        display: flex;
    }
}

.footer-company-info {
    font-size: 10px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-company-info > div {
    margin-bottom: 4px;
}

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

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    font-size: 14px;
    opacity: 0.7;
    flex-shrink: 0;
}

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 10px;
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-link {
    font-size: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-bottom-link:hover {
    opacity: 0.7;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

[data-theme="dark"] .cookie-banner {
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: var(--primary-light);
    text-decoration: none;
    transition: opacity 0.2s;
}

.cookie-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    white-space: nowrap;
    padding: 10px 24px;
}

@media (max-width: 600px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ===========================
   Email Verification Notice
   =========================== */
.verification-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.verification-notice-content {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

.verification-notice-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.verification-notice-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.verification-notice-content p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.verification-notice-hint {
    font-size: 0.85rem;
    margin-top: 16px !important;
    margin-bottom: 20px !important;
}

.verification-notice-hint a {
    color: var(--accent);
}

.verification-notice-hint a:hover {
    text-decoration: underline;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 90%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: toastSlideIn 0.4s ease;
}

.notification-toast button {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.7;
}

.notification-toast button:hover {
    opacity: 1;
}

.notification-success {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c, #fd79a8);
}

.notification-info {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===========================
   Reviews Carousel
   =========================== */
.reviews-section {
  margin: 60px 0 80px;
  padding: 0;
}

.reviews-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.reviews-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.reviews-nav:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.reviews-carousel {
  flex: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 280px;
  width: 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.review-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.review-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 520px) {
  .review-card {
    flex: 0 0 260px;
    width: 260px;
  }
}

@media (max-width: 640px) {
  .reviews-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* ===========================
   Last Chance Modal
   =========================== */
.lc-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10001;
  padding: 20px;
  animation: lcFadeIn 0.3s ease;
}

.lc-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  border-radius: 24px;
  padding: 36px 28px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 80px rgba(233, 69, 96, 0.25), 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(233, 69, 96, 0.3);
  animation: lcSlideUp 0.4s ease;
}

.lc-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  cursor: pointer;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lc-close:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.lc-emoji {
  font-size: 2.5rem;
  margin-bottom: 6px;
}

.lc-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
  background: linear-gradient(135deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.lc-subtitle {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 22px;
  line-height: 1.45;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.lc-highlight {
  color: #ffd93d;
}

.lc-offer {
  background: linear-gradient(135deg, rgba(233,69,96,0.12), rgba(255,107,107,0.08));
  border: 1px solid rgba(233,69,96,0.25);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.lc-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #e94560, #ff6b6b);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.lc-plan-label {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lc-old-price {
  position: relative;
  display: inline-block;
  margin-bottom: 2px;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}
.lc-strike {
  position: absolute;
  left: -2px; top: 50%;
  width: calc(100% + 4px);
  height: 2px;
  background: #e94560;
  transform: rotate(-12deg);
}

.lc-price {
  font-size: 3.8rem;
  font-weight: 900;
  color: #ffd93d;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255,217,61,0.3);
}

.lc-credits-amount {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.lc-coffee {
  font-size: 0.85rem;
  opacity: 0.55;
}

.lc-timer {
  margin-bottom: 18px;
  padding: 10px 16px;
  background: rgba(233,69,96,0.12);
  border-radius: 12px;
  border: 1px solid rgba(233,69,96,0.15);
  transition: all 0.3s;
}
.lc-timer.urgent {
  background: rgba(255,68,68,0.2);
  border-color: rgba(255,68,68,0.4);
}

.lc-timer-label {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 4px;
}

.lc-timer-countdown {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: "SF Mono", "Fira Code", monospace;
  color: #ffd93d;
  letter-spacing: 2px;
}
.lc-timer.urgent .lc-timer-countdown {
  color: #ff4444;
  animation: lcPulse 1s ease infinite;
}

.lc-cta {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #e94560 0%, #ff6b6b 50%, #e94560 100%);
  background-size: 200% 200%;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 32px rgba(233,69,96,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: lcBtnShimmer 3s ease infinite;
  letter-spacing: -0.3px;
  cursor: pointer;
  box-sizing: border-box;
}
.lc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(233,69,96,0.6);
}
.lc-cta.pulse {
  animation: lcBtnPulse 0.6s ease;
}

.lc-decline {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  cursor: pointer;
  margin-top: 14px;
  padding: 4px 8px;
  transition: color 0.2s;
}
.lc-decline:hover {
  color: rgba(255,255,255,0.5);
}

.lc-guarantees {
  margin-top: 14px;
  font-size: 0.75rem;
  opacity: 0.45;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes lcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lcSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lcPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes lcBtnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes lcBtnPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); box-shadow: 0 10px 40px rgba(233,69,96,0.6); }
  100% { transform: scale(1); }
}

@media (max-width: 480px) {
  .lc-card {
    padding: 28px 18px 22px;
    border-radius: 18px;
  }
  .lc-price {
    font-size: 3rem;
  }
  .lc-credits-amount {
    font-size: 1.1rem;
  }
  .lc-cta {
    font-size: 1.1rem;
    padding: 14px 16px;
  }
  .lc-guarantees {
    gap: 10px;
  }
}
