/* ============================================================
   Лендинг — Премиум стили
   ============================================================ */

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 600px at 50% 30%, rgba(0, 212, 255, 0.08), transparent),
        radial-gradient(ellipse 600px 400px at 30% 70%, rgba(124, 58, 237, 0.06), transparent),
        radial-gradient(ellipse 500px 300px at 80% 50%, rgba(255, 215, 0, 0.04), transparent);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    font-size: 24px;
    opacity: 0.08;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    font-size: 14px;
    color: var(--accent-primary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- Секции ---- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

/* ---- Преимущества ---- */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Как играть ---- */
.how-to-play {
    background: var(--bg-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    box-shadow: var(--glow-blue);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ---- Пакеты фишек ---- */
.packages {
    background: var(--bg-secondary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.package-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.package-card.popular {
    border-color: var(--accent-gold);
    box-shadow: var(--glow-gold);
}

.package-card:hover {
    transform: translateY(-8px);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-gold);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
}

.package-amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-gold);
    margin: 16px 0 4px;
}

.package-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.package-price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.package-old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 24px;
}

.package-discount {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent-green);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* ---- CTA финальный ---- */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(0, 212, 255, 0.1), transparent);
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
}

/* ---- Footer ---- */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
}

/* ---- SEO текст ---- */
.seo-content { background: var(--bg-primary); }
.seo-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.seo-text h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
}
.seo-text p { margin-bottom: 14px; }
.seo-text ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.seo-text li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.seo-text a {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.seo-text a:hover { text-decoration: none; }

/* ---- FAQ ---- */
.faq-section { background: var(--bg-secondary); }
.faq-list {
    max-width: 740px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent-gold); }
.faq-question {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
    content: '−';
    color: var(--accent-gold);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.faq-answer p { margin-bottom: 8px; }
.faq-answer a { color: var(--accent-gold); }

/* ---- Footer links ---- */
.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-gold); }

/* ---- Анимации ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Адаптивность ---- */
@media (max-width: 768px) {
    .hero { padding: 90px 16px 50px; min-height: auto; }
    .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
    .hero-subtitle { margin-bottom: 32px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .hero-stat-value { font-size: 22px; }
    .hero-stat-label { font-size: 11px; }
    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 15px; margin-bottom: 40px; }
    .feature-card { padding: 24px 20px; }
    .feature-icon { width: 48px; height: 48px; font-size: 24px; margin-bottom: 14px; }
    .feature-title { font-size: 17px; }
    .feature-text { font-size: 13px; }
    .steps { gap: 20px; }
    .step-number { width: 44px; height: 44px; font-size: 18px; }
    .packages-grid { gap: 16px; }
    .package-card { padding: 28px 20px; }
    .package-amount { font-size: 36px; }
    .cta-section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero { padding: 80px 14px 40px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .packages-grid { grid-template-columns: 1fr; max-width: 320px; }
}
