/* ============================================================ */
/* ★ LANDING.CSS — КОМПАКТНЫЙ ЛЕНДИНГ VKPool ★ */
/* ============================================================ */

/* ============================================================ */
/* ★ ОБЩИЕ СТИЛИ ЛЕНДИНГА ★ */
/* ============================================================ */

.landing-compact {
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font);
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
}

.landing-compact .lc-container {
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Фоновые градиенты */
.landing-compact::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(109, 93, 246, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.landing-compact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 93, 246, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================================ */
/* ★ ХЕДЕР ★ */
/* ============================================================ */

.lc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 16px 0;
}

.lc-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
}

.lc-logo-icon { font-size: 24px; }

.lc-logo-text {
    background: linear-gradient(135deg, #6D5DF6, #8C7CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lc-header-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lc-login-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    font-family: inherit;
    transition: var(--transition);
}

.lc-login-btn:hover { color: var(--text-primary); }

.lc-start-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #6D5DF6, #8C7CFF);
    border: none;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(109, 93, 246, 0.3);
}

.lc-start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 24px rgba(109, 93, 246, 0.4);
}

/* ============================================================ */
/* ★ ГЕРОЙ ★ */
/* ============================================================ */

.lc-hero {
    text-align: center;
    padding: 4px 0 12px 0;
}

.lc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(109, 93, 246, 0.12);
    color: #8C7CFF;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
    border: 1px solid rgba(109, 93, 246, 0.15);
}

.lc-badge-dot {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.lc-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 8px;
}

.lc-title .gradient {
    background: linear-gradient(135deg, #6D5DF6, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lc-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 14px;
}

.lc-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.lc-actions .btn-primary {
    padding: 14px 32px;
    font-size: 18px;
    background: linear-gradient(135deg, #6D5DF6, #8C7CFF);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(109, 93, 246, 0.3);
}

.lc-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(109, 93, 246, 0.4);
}

/* ============================================================ */
/* ★ СТАТИСТИКА ★ */
/* ============================================================ */

.lc-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 12px 0 6px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 14px;
}

.lc-stat {
    text-align: center;
}

.lc-stat-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.lc-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ============================================================ */
/* ★ ПРЕИМУЩЕСТВА (6 БЛОКОВ) — 3 КОЛОНКИ ★ */
/* ============================================================ */

.lc-features-wrapper { padding: 4px 0; }
.lc-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.lc-feature {
    background: var(--bg-card);
    border-radius: var(--radius-xs);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    user-select: none;
}

.lc-feature:hover {
    border-color: #6D5DF6;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(109, 93, 246, 0.1);
}

.lc-feature:active { transform: scale(0.95); }

.lc-feature-icon { font-size: 28px; }
.lc-feature-label { font-size: 13px; font-weight: 600; margin-top: 4px; color: var(--text-secondary); }

/* ============================================================ */
/* ★ РЕФЕРАЛЫ (3 БЛОКА) — 3 В РЯД ★ */
/* ============================================================ */

.lc-referrals-wrapper { padding: 2px 0; }
.lc-referrals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px 0;
}

.lc-ref-card {
    background: var(--bg-card);
    border-radius: var(--radius-xs);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.lc-ref-card:hover {
    border-color: #6D5DF6;
    transform: translateY(-2px);
}

.lc-ref-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.lc-ref-label span { display: block; font-size: 10px; color: var(--text-muted); }

/* ============================================================ */
/* ★ СКОЛЬКО МОЖНО ЗАРАБОТАТЬ ★ */
/* ============================================================ */

.lc-earn-wrapper { padding: 4px 0; }
.lc-earn {
    background: var(--bg-card);
    border-radius: var(--radius-xs);
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.lc-earn-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.lc-earn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lc-earn-item .num {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.lc-earn-item .label {
    font-size: 10px;
    color: var(--text-muted);
}

.lc-earn-item .bonus {
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
}

.lc-earn-footer {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 6px;
}

/* ============================================================ */
/* ★ ФУТЕР ЛЕНДИНГА ★ */
/* ============================================================ */

.lc-footer {
    text-align: center;
    padding: 6px 0 2px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}

.lc-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.lc-footer a:hover { color: var(--text-primary); }

.lc-footer .dev-link {
    color: var(--primary);
    font-weight: 500;
}
.lc-footer .dev-link:hover { color: var(--primary-hover); }

.lc-footer .shield {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============================================================ */
/* ★ ВСПЛЫВАЮЩАЯ ПОДСКАЗКА ★ */
/* ============================================================ */

.feature-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: tooltipFadeIn 0.25s ease;
}

.feature-tooltip.hidden { display: none !important; }

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.feature-tooltip-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 24px 24px 24px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    position: relative;
}

.feature-tooltip-icon { font-size: 48px; margin-bottom: 8px; }
.feature-tooltip-content h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.feature-tooltip-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }

.feature-tooltip-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.feature-tooltip-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ============================================================ */
/* ★ АДАПТИВ ★ */
/* ============================================================ */

@media (max-width: 480px) {
    .landing-compact { padding: 8px 12px; justify-content: flex-start; min-height: 100dvh; height: 100dvh; max-height: 100dvh; }
    .lc-container { max-width: 100%; }

    .lc-header { padding: 4px 0 10px 0; }
    .lc-logo { font-size: 16px; gap: 4px; }
    .lc-logo-icon { font-size: 18px; }
    .lc-start-btn { padding: 4px 12px; font-size: 11px; }
    .lc-login-btn { font-size: 11px; padding: 4px 8px; }

    .lc-hero { padding: 2px 0 6px 0; }
    .lc-badge { font-size: 10px; padding: 2px 10px; margin-bottom: 4px; }
    .lc-badge-dot { width: 4px; height: 4px; }
    .lc-title { font-size: 22px; margin-bottom: 4px; }
    .lc-desc { font-size: 13px; margin-bottom: 8px; max-width: 100%; }

    .lc-actions .btn-primary { padding: 8px 18px; font-size: 13px; }

    .lc-stats { gap: 14px; padding: 6px 0; margin-top: 6px; }
    .lc-stat-number { font-size: 16px; }
    .lc-stat-label { font-size: 9px; }

    .lc-features { gap: 6px; padding: 6px 0; }
    .lc-feature { padding: 8px 4px; border-radius: 6px; }
    .lc-feature-icon { font-size: 18px; }
    .lc-feature-label { font-size: 9px; }

    .lc-referrals { gap: 6px; padding: 6px 0; }
    .lc-ref-card { padding: 8px 4px; border-radius: 6px; }
    .lc-ref-label { font-size: 9px; }
    .lc-ref-label span { font-size: 8px; }

    .lc-earn { padding: 8px 10px; }
    .lc-earn-title { font-size: 11px; }
    .lc-earn-item .num { font-size: 18px; }
    .lc-earn-item .label { font-size: 8px; }
    .lc-earn-item .bonus { font-size: 11px; }
    .lc-earn-footer { font-size: 9px; }

    .lc-footer { font-size: 9px; gap: 8px; padding: 2px 0; margin-top: 2px; }

    .feature-tooltip-content { padding: 24px 18px 18px 18px; max-width: 300px; }
    .feature-tooltip-icon { font-size: 36px; }
    .feature-tooltip-content h4 { font-size: 16px; }
    .feature-tooltip-content p { font-size: 13px; }
}

@media (max-width: 380px) {
    .landing-compact { padding: 4px 8px; padding-top: 4px; height: 100dvh; max-height: 100dvh; }
    .lc-title { font-size: 18px; }
    .lc-desc { font-size: 11px; }

    .lc-features { gap: 4px; }
    .lc-feature { padding: 6px 2px; border-radius: 4px; }
    .lc-feature-icon { font-size: 15px; }
    .lc-feature-label { font-size: 8px; }

    .lc-referrals { gap: 4px; }
    .lc-ref-card { padding: 6px 2px; }
    .lc-ref-label { font-size: 8px; }

    .lc-actions .btn-primary { padding: 6px 14px; font-size: 11px; }

    .lc-stat-number { font-size: 13px; }
    .lc-header { padding: 2px 0 6px 0; }
    .lc-logo { font-size: 14px; }
    .lc-logo-icon { font-size: 16px; }

    .lc-earn-item .num { font-size: 15px; }
    .lc-earn-item .bonus { font-size: 10px; }
}

/* ============================================================ */
/* ★ СВЕТЛАЯ ТЕМА ★ */
/* ============================================================ */

[data-theme="light"] .lc-feature,
[data-theme="light"] .lc-ref-card,
[data-theme="light"] .lc-earn {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .landing-compact::before {
    background: radial-gradient(circle, rgba(109, 93, 246, 0.08), transparent 70%);
}

[data-theme="light"] .landing-compact::after {
    background: radial-gradient(circle, rgba(109, 93, 246, 0.04), transparent 70%);
}

[data-theme="light"] .lc-badge {
    background: rgba(109, 93, 246, 0.08);
}

[data-theme="light"] .feature-tooltip {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .feature-tooltip-content {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .lc-actions .btn-primary {
    box-shadow: 0 4px 20px rgba(109, 93, 246, 0.2);
}

[data-theme="light"] .lc-actions .btn-primary:hover {
    box-shadow: 0 6px 30px rgba(109, 93, 246, 0.3);
}


/* ============================================================ */
/* ★ КОМУ ПОДХОДИТ — 4 БЛОКА ★ */
/* ============================================================ */

.lc-for-who-wrapper {
    padding: 6px 0 4px 0;
}

.lc-for-who {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.lc-for-who-item {
    background: var(--bg-card);
    border-radius: var(--radius-xs);
    padding: 10px 6px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.lc-for-who-item:hover {
    border-color: #6D5DF6;
    transform: translateY(-2px);
}

.lc-for-who-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.lc-for-who-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.lc-for-who-desc {
    font-size: 10px;
    color: var(--text-secondary);
}

/* Адаптив */
@media (max-width: 480px) {
    .lc-for-who {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .lc-for-who-item {
        padding: 8px 4px;
    }
    .lc-for-who-icon { font-size: 20px; }
    .lc-for-who-title { font-size: 11px; }
    .lc-for-who-desc { font-size: 9px; }
}

@media (max-width: 380px) {
    .lc-for-who {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    .lc-for-who-item {
        padding: 6px 2px;
    }
    .lc-for-who-icon { font-size: 18px; }
    .lc-for-who-title { font-size: 10px; }
    .lc-for-who-desc { font-size: 8px; }
}

.lc-for-who-item {
    cursor: pointer;
    transition: var(--transition);
}

.lc-for-who-item:hover {
    border-color: #6D5DF6;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(109, 93, 246, 0.1);
}

.lc-for-who-item:active {
    transform: scale(0.95);
}