/* ===== СБРОС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #0a0e1a;
    color: #e8e8e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #888;
    transition: all 0.15s;
    font-family: inherit;
    min-width: 36px;
}

.lang-btn.active {
    background: #2481cc;
    color: #fff;
}

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

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, #2481cc 0%, #1e6ba8 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(36, 129, 204, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(36, 129, 204, 0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e8e8e8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

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

/* ===== HERO ===== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(36, 129, 204, 0.15) 0%, transparent 60%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(36, 129, 204, 0.12);
    border: 1px solid rgba(36, 129, 204, 0.25);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #5aa9e6;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #a0b0c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: #8899b0;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== TRUST ===== */
.trust {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.trust-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #667;
    margin-bottom: 24px;
}

.trust-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 32px;
}

.trust-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.trust-name span {
    font-size: 12px;
    font-weight: 400;
    color: #8899b0;
}

.trust-hint {
    text-align: center;
    font-size: 13px;
    color: #667;
    font-style: italic;
}

/* ===== СЕКЦИИ ===== */
.section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.features, .how, .faq {
    padding: 80px 0;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.25s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(36, 129, 204, 0.3);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.feature-card p {
    font-size: 14px;
    color: #8899b0;
    line-height: 1.55;
}

/* ===== HOW ===== */
.how {
    background: rgba(255, 255, 255, 0.015);
}

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

.how-step {
    text-align: center;
    padding: 24px;
}

.how-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2481cc 0%, #1e6ba8 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(36, 129, 204, 0.35);
}

.how-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.how-step p {
    font-size: 14px;
    color: #8899b0;
    line-height: 1.55;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #2481cc;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 12px;
    font-size: 14px;
    color: #8899b0;
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== FINAL CTA ===== */
.cta-final {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(36, 129, 204, 0.12) 0%, transparent 70%);
}

.cta-final h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-final p {
    font-size: 16px;
    color: #8899b0;
    margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

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

.footer-links a {
    font-size: 14px;
    color: #8899b0;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #2481cc;
}

.footer-copy {
    font-size: 12px;
    color: #556;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 640px) {
    .header-inner {
        padding: 12px 16px;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .features, .how, .faq, .cta-final {
        padding: 60px 0;
    }

    .trust-list {
        gap: 20px;
    }

    .header-actions .btn-small {
        padding: 8px 12px;
        font-size: 12px;
    }
}
/* ===== LIVE STATS ===== */
.live-stats {
    padding: 50px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(36, 129, 204, 0.05) 50%, transparent 100%);
}

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

.live-stat {
    text-align: center;
    padding: 20px 12px;
}

.live-stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.live-stat-value {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
    background: linear-gradient(180deg, #5aa9e6 0%, #2481cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    transition: transform 0.2s;
}

.live-stat-label {
    font-size: 13px;
    color: #8899b0;
    text-transform: lowercase;
    line-height: 1.3;
    max-width: 160px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .live-stats {
        padding: 30px 0;
    }

    .live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .live-stat {
        padding: 12px 8px;
    }
}
/* ===== SCREENSHOTS ===== */
.screens {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.015);
}

.screens-subtitle {
    text-align: center;
    color: #8899b0;
    font-size: 15px;
    margin-top: -30px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.screen-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.screen-image {
    background: #0d1420;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(36, 129, 204, 0.25);
}

.screen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screen-caption {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #a0b0c8;
}

@media (max-width: 640px) {
    .screens {
        padding: 60px 0;
    }

    .screens-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screen-image {
        aspect-ratio: 4 / 5;
    }
}
/* ===== HEADER: КНОПКА ЛК ===== */
.header-account-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .header-account-btn {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
    .header-account-btn span {
        font-size: 16px;
    }
    .header-account-btn span::before {
        content: '🔐';
    }
}

/* ===== СЕКЦИЯ ДОНАТОВ ===== */
.donate-section {
    padding: 60px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(241, 196, 15, 0.03) 50%, transparent 100%);
}

.donate-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(241, 196, 15, 0.15);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.2s;
}

.donate-card:hover {
    border-color: rgba(241, 196, 15, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.donate-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.donate-card h2,
.donate-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.donate-card p {
    color: #8899b0;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.donate-card .btn {
    display: inline-flex;
    padding: 14px 32px;
    font-size: 15px;
    min-height: 48px;
    text-decoration: none;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.35);
}

.donate-card .btn:hover {
    box-shadow: 0 6px 24px rgba(243, 156, 18, 0.5);
    transform: translateY(-1px);
}

.donate-thanks {
    font-size: 12px;
    color: #667;
    margin-top: 16px;
    margin-bottom: 0 !important;
    font-style: italic;
}


/* ===== СТРАНИЦА «О ПРОЕКТЕ» ===== */
.about-story {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.015);
}

.about-text {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #a8b4c8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-tech {
    padding: 60px 0;
}

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

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.2s;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(36, 129, 204, 0.3);
    transform: translateY(-2px);
}

.tech-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.tech-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.tech-desc {
    font-size: 12px;
    color: #8899b0;
}

@media (max-width: 640px) {
    .about-story, .about-tech {
        padding: 40px 0;
    }

    .about-text {
        font-size: 15px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tech-card {
        padding: 18px 12px;
    }

    .tech-icon {
        font-size: 26px;
    }

    .tech-name {
        font-size: 13px;
    }
}


/* ===== LIVE-ДАШБОРД ===== */
.live-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 12px;
    color: #667;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: live-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.live-badge {
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2ecc71;
    font-size: 11px;
}

.live-updated {
    color: #667;
    font-size: 11px;
}

.live-sparkline-wrap {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
}

.live-sparkline-title {
    font-size: 12px;
    color: #8899b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

#live-sparkline {
    display: block;
    width: 100%;
    height: 60px;
}

.live-stale {
    text-align: center;
    font-size: 12px;
    color: #f39c12;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(243, 156, 18, 0.08);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 10px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
