/* ========== БАЗА ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fffbf0;
    color: #2d2418;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.10);
    border: 1px solid rgba(251, 191, 36, 0.12);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '🏆';
    position: absolute;
    top: -30px;
    right: -10px;
    font-size: 180px;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(15deg);
}

/* ========== ШАПКА ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}
.logo span {
    color: #d4a86a;
    -webkit-text-fill-color: #d4a86a;
    font-weight: 300;
}

.badge {
    background: #fef3c7;
    padding: 6px 20px;
    border-radius: 60px;
    font-size: 12px;
    color: #b45309;
    border: 1px solid #fcd34d;
    font-weight: 600;
    animation: pulse-badge 2.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.97); }
}

/* ========== ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ ========== */
.lang-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    font-size: 13px;
}
.lang-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 20px;
    text-decoration: none;
    color: #5a4a2e;
    background: transparent;
    border: 1px solid transparent;
    transition: 0.2s;
    white-space: nowrap;
}
.lang-switcher a:hover {
    background: #fef3c7;
    border-color: #fde68a;
}
.lang-switcher a.active {
    background: #fef3c7;
    border-color: #f59e0b;
    font-weight: 700;
    color: #b45309;
}
.lang-switcher .flag {
    font-size: 18px;
}

/* ========== ГЕРОЙ ========== */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto 15px;
}

.hero-tag {
    display: inline-block;
    background: #fef3c7;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 60px;
    text-transform: uppercase;
    margin-bottom: 10px;
    border: 1px solid #fcd34d;
}

h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #2d2418;
}
h1 .highlight {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: #5a4a2e;
    max-width: 650px;
    margin: 0 auto 6px;
    font-weight: 400;
}
.hero-sub .accent {
    color: #b45309;
    font-weight: 700;
}

/* ========== ЖИВОЙ СЧЁТЧИК ========== */
.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fef3c7;
    padding: 6px 20px 6px 16px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    color: #2d2418;
    border: 1px solid #fcd34d;
    margin: 8px 0 10px;
}
.live-counter .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.live-counter .num {
    color: #b45309;
    font-size: 18px;
}

/* ========== БОНУСНЫЙ БАННЕР ========== */
.bonus-banner {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #2d2418;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 24px;
    border-radius: 60px;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
    animation: pulse-banner 2.5s infinite;
}
@keyframes pulse-banner {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25); }
    50% { transform: scale(1.02); box-shadow: 0 6px 30px rgba(251, 191, 36, 0.4); }
}

/* ========== СОЦИАЛЬНОЕ ДОКАЗАТЕЛЬСТВО ========== */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 12px 0 18px;
    flex-wrap: wrap;
}
.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a4a2e;
}
.proof-item .num {
    font-size: 20px;
    font-weight: 700;
    color: #d97706;
}

/* ========== БЛОК СТРАТЕГИЙ ========== */
.strategies-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 16px 0 18px;
    position: relative;
    z-index: 1;
}
.strategy-item {
    background: #fffbeb;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #fde68a;
    text-align: left;
    transition: 0.3s ease;
}
.strategy-item:hover {
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -10px rgba(251, 191, 36, 0.15);
}
.strategy-item .emoji {
    font-size: 22px;
}
.strategy-item h4 {
    font-size: 14px;
    margin: 4px 0 2px;
    color: #2d2418;
}
.strategy-item p {
    font-size: 12px;
    color: #8b7a5a;
}
.strategy-item .result {
    color: #22c55e;
    font-weight: 700;
    font-size: 13px;
}

/* ========== КАТЕГОРИИ ========== */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 10px 0 16px;
    position: relative;
    z-index: 1;
}

.category-card {
    background: #fffbeb;
    border-radius: 20px;
    padding: 16px 18px 14px;
    border: 1px solid #fde68a;
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-3px);
    border-color: #f59e0b;
    box-shadow: 0 8px 25px -10px rgba(251, 191, 36, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.category-header .icon {
    font-size: 24px;
}
.category-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d2418;
}
.category-header .sub-label {
    font-size: 10px;
    font-weight: 600;
    color: #d97706;
    background: #fef3c7;
    padding: 1px 10px;
    border-radius: 20px;
    margin-left: auto;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.category-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #5a4a2e;
    text-decoration: none;
    border: 1px solid #fde68a;
    transition: 0.3s ease;
}
.category-links a:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    transform: translateY(-1px);
}

/* ========== ГЛАВНЫЙ CTA-БЛОК ========== */
.cta-block {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border-radius: 28px;
    padding: 28px 30px 22px;
    margin: 16px 0 12px;
    border: 1px solid #fde68a;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-block h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #2d2418;
}
.cta-block h2 .highlight-cta {
    color: #b45309;
    position: relative;
}
.cta-block h2 .highlight-cta::after {
    content: '🏆';
    font-size: 26px;
    margin-left: 4px;
    display: inline-block;
    animation: pulse-badge 1.5s infinite;
}
.cta-block .sub {
    color: #5a4a2e;
    margin: 4px 0 16px;
    font-size: 16px;
}
.cta-block .sub strong {
    color: #b45309;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== АНИМАЦИЯ КНОПОК ========== */
.cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 16px;
    text-decoration: none;
    color: #2d2418;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #fde68a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.cta-link:hover::before {
    opacity: 1;
}
.cta-link:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.3);
}
.cta-link .arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #d97706;
}
.cta-link:hover .arrow {
    transform: translateX(6px) scale(1.1);
}
.cta-link .icon {
    transition: transform 0.3s ease;
}
.cta-link:hover .icon {
    transform: scale(1.15) rotate(-5deg);
}

.cta-link.primary {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #2d2418;
    border-color: #f59e0b;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
    animation: glow-pulse 2s infinite;
}
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25); }
    50% { box-shadow: 0 4px 40px rgba(251, 191, 36, 0.5), 0 0 60px rgba(251, 191, 36, 0.15); }
}
.cta-link.primary:hover {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    box-shadow: 0 8px 40px rgba(251, 191, 36, 0.5);
    transform: translateY(-3px) scale(1.03);
}

.cta-link .badge-link {
    background: #ef4444;
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    animation: pulse-badge 1.8s infinite;
}

/* ========== СРОЧНОСТЬ ========== */
.urgency {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 13px;
    color: #5a4a2e;
}
.urgency .item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.urgency .item .highlight {
    color: #b45309;
    font-weight: 700;
}

/* ========== ФУТЕР ========== */
.footer {
    margin-top: 25px;
    padding-top: 16px;
    border-top: 1px solid #fef3c7;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #b8a07a;
    position: relative;
    z-index: 1;
}
.footer a {
    color: #b8a07a;
    text-decoration: none;
    transition: 0.2s;
}
.footer a:hover {
    color: #d97706;
}

/* ========== ПОП-АП ========== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeInOverlay 0.4s ease;
}
.popup-overlay.active {
    display: flex;
}

@keyframes fadeInOverlay {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.popup {
    background: #ffffff;
    border-radius: 32px;
    padding: 35px 30px 28px;
    max-width: 520px;
    width: 95%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    animation: popupSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

@keyframes popupSlideUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    color: #b8a07a;
    cursor: pointer;
    background: none;
    border: none;
    transition: 0.3s;
    line-height: 1;
}
.popup-close:hover {
    color: #b45309;
    transform: rotate(90deg);
}

.popup .emoji-big {
    font-size: 48px;
    display: block;
    text-align: center;
    margin-bottom: 6px;
}
.popup h3 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: #2d2418;
    margin-bottom: 4px;
}
.popup .sub {
    text-align: center;
    color: #5a4a2e;
    font-size: 15px;
    margin-bottom: 18px;
}
.popup .sub strong {
    color: #b45309;
}

.popup-bonus-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.popup-bonus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbeb;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid #fde68a;
    text-decoration: none;
    color: #2d2418;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.popup-bonus-item:hover {
    border-color: #f59e0b;
    transform: translateX(6px);
    box-shadow: 0 8px 20px -10px rgba(251, 191, 36, 0.2);
}
.popup-bonus-item .icon {
    font-size: 28px;
}
.popup-bonus-item .info {
    flex: 1;
}
.popup-bonus-item .info .title {
    font-weight: 700;
    font-size: 15px;
}
.popup-bonus-item .info .desc {
    font-size: 12px;
    color: #8b7a5a;
}
.popup-bonus-item .bonus-tag {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #2d2418;
    white-space: nowrap;
}

.popup .timer {
    text-align: center;
    font-size: 13px;
    color: #8b7a5a;
    margin-top: 6px;
}
.popup .timer .count {
    color: #b45309;
    font-weight: 700;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .container {
        padding: 22px 16px;
        border-radius: 28px;
    }
    h1 {
        font-size: 30px;
    }
    .hero-sub {
        font-size: 15px;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-block h2 {
        font-size: 24px;
    }
    .cta-block {
        padding: 20px 16px;
    }
    .social-proof {
        gap: 16px;
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .strategies-preview {
        grid-template-columns: 1fr 1fr;
    }
    .live-counter {
        font-size: 12px;
        padding: 4px 14px;
    }
    .cta-grid {
        grid-template-columns: 1fr;
    }
    .popup {
        padding: 25px 18px;
    }
    .popup h3 {
        font-size: 20px;
    }
    .lang-switcher {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .strategies-preview {
        grid-template-columns: 1fr;
    }
    .category-links a {
        font-size: 11px;
        padding: 3px 10px;
    }
    .popup-bonus-item {
        flex-wrap: wrap;
    }
    .popup-bonus-item .bonus-tag {
        margin-top: 4px;
    }
}