/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --nav-h: 86px; /* примерная высота нижней навигации (можно 82-92) */
    --vh: 1vh;     /* будет переопределяться JS-ом */
}

html, body{
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: #000;
    color: #fff;

    /* ВАЖНО: не скроллим body, скроллим секции */
    overflow: hidden;

    /* ВАЖНО: не 100vh (врет на телефонах), а 100% */
    height: 100%;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Анимированный фон */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #18181b 25%, #27272a 50%, #18181b 75%, #0a0a0a 100%);
}

.bg-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(234, 88, 12, 0.08) 0%, transparent 50%);
    animation: particlesMove 20s ease-in-out infinite;
}

@keyframes particlesMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: glowPulse 8s ease-in-out infinite;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f97316 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #dc2626 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 2s;
}

.bg-glow-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ea580c 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes glowPulse {
    0%, 100% { 
        opacity: 0.2;
        transform: translate(0, 0) scale(1);
    }
    50% { 
        opacity: 0.4;
        transform: translate(20px, 20px) scale(1.1);
    }
}

/* Контейнер */
.container {
    max-width: 420px;
    margin: 0 auto;

    /* ВАЖНО: реальная высота экрана (svh лучше на мобилках) */
    height: 100svh;
    height: calc(var(--vh) * 100);

    position: relative;

    /* скролл внутри секций */
    overflow: hidden;
}

/* Секции */
.section {
    display: none;

    /* секция заполняет контейнер */
    position: absolute;
    inset: 0;

    /* ВАЖНО: скролл секции */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* чтобы не резало сверху (чёлка) */
    padding-top: calc(20px + env(safe-area-inset-top));
    padding-left: 20px;
    padding-right: 20px;

    /* чтобы не резало снизу (nav + чёлка снизу) */
    padding-bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom));

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.section::-webkit-scrollbar {
    display: none;
}

.section.active {
    display: block;
    animation: sectionSlide 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* анимация появления секции */
@keyframes sectionSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero секция */
.hero {
    text-align: center;
    position: relative;
    z-index: 1;

    /* чтобы hero не прилипал к центру и не резался */
    padding-top: 6px;
}

.logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    padding: 4px;
    box-shadow: 
        0 0 40px rgba(249, 115, 22, 0.6),
        0 0 80px rgba(249, 115, 22, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    opacity: 0.5;
    filter: blur(10px);
    z-index: -1;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.logo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #27272a, #18181b);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.icon-flag {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icon-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


.hero h1 {
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(34px, 7vw, 44px);
    font-weight: 900;
    color: #f97316;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.text-glow {
    text-shadow: 
        0 0 20px rgba(249, 115, 22, 0.8),
        0 0 40px rgba(249, 115, 22, 0.5),
        0 0 60px rgba(249, 115, 22, 0.3);
    animation: textGlowPulse 3s ease-in-out infinite;
}

@keyframes textGlowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(249, 115, 22, 0.8), 0 0 40px rgba(249, 115, 22, 0.5); }
    50% { text-shadow: 0 0 30px rgba(249, 115, 22, 1), 0 0 60px rgba(249, 115, 22, 0.7); }
}

.hero-subtitle {
    font-size: clamp(40px, 8vw, 52px);
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(135deg, #fff, #d4d4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: #fb923c;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #10b981, #059669);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 32px;
    box-shadow: 
        0 0 30px rgba(16, 185, 129, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.online-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Кнопки */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border: none;
    padding: 20px;
    border-radius: 16px;
    color: white;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(234, 88, 12, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 50px rgba(234, 88, 12, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-text, .btn-icon {
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.btn-secondary {
    width: 100%;
    background: rgba(39, 39, 42, 0.5);
    border: 2px solid rgba(63, 63, 70, 0.5);
    padding: 16px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

/* Features */
.features {
    text-align: left;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #d4d4d8;
    padding: 12px;
    background: rgba(39, 39, 42, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(63, 63, 70, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateX(8px);
}

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

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(39, 39, 42, 0.9), rgba(24, 24, 27, 0.9));
    border: 1px solid rgba(63, 63, 70, 0.5);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 
        0 16px 48px rgba(249, 115, 22, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f97316, #dc2626);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
    transition: transform 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: rotate(360deg) scale(1.1);
}

.stat-label {
    color: #a1a1aa;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #d4d4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Новости */
.news-card {
    background: linear-gradient(135deg, rgba(39, 39, 42, 0.7), rgba(24, 24, 27, 0.7));
    border: 1px solid rgba(63, 63, 70, 0.5);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #f97316;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover {
    transform: scale(1.03);
    border-color: rgba(249, 115, 22, 0.8);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
}

.news-card:hover::before {
    opacity: 1;
}

.news-image {
    width: 100%;
    height: 192px;
    background: linear-gradient(135deg, #3f3f46, #27272a);
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(249, 115, 22, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 64px;
    height: 64px;
    background: rgba(249, 115, 22, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.6);
    z-index: 10;
}

.news-card:hover .news-play-icon {
    transform: translate(-50%, -50%) scale(1);
}

.news-content {
    padding: 16px;
}

.news-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.news-desc {
    color: #d4d4d8;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 10px;
    opacity: 0.9;
}


.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fb923c;
    font-size: 14px;
    font-weight: 600;
}

/* Форма доната */
.donate-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.form-input {
    width: 100%;
    background: linear-gradient(135deg, rgba(39, 39, 42, 0.8), rgba(24, 24, 27, 0.8));
    border: 2px solid rgba(63, 63, 70, 0.5);
    padding: 16px 16px 16px 46px;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: #71717a;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    background: linear-gradient(135deg, rgba(39, 39, 42, 0.9), rgba(24, 24, 27, 0.9));
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

/* Способы оплаты */
.payment-methods {
    text-align: center;
    margin-bottom: 24px;
}

.payment-label {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 16px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-btn {
    aspect-ratio: 1;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 72% 72%;
}

.payment-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-btn:hover {
    transform: translateY(-6px) rotate(8deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.payment-btn:hover::before {
    opacity: 1;
}

.payment-btn:active {
    transform: translateY(-2px) rotate(0deg) scale(1.05);
}

/* Иконки способов оплаты (файлы из Figma) */
.payment-sbp{ background-image: url("sbp.png"); }
.payment-payeer{ background-image: url("payeer.png"); }
.payment-qiwi{ background-image: url("qiwi.png"); }
.payment-card{ background-image: url("card.png"); }
.payment-crypto{ background-image: url("crypto.png"); }
.payment-yoomoney{ background-image: url("yoomoney.png"); }


.legal-text {
    font-size: 12px;
    color: #71717a;
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

.legal-link {
    color: #f97316;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: #fb923c;
}

/* Навигация */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    background: rgba(24, 24, 27, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(63, 63, 70, 0.5);
    z-index: 100;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);

    /* safe-area снизу для айфонов */
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 8px 10px;
    display: flex;
    justify-content: space-around;
}

.nav-btn {
    background: none;
    border: none;
    color: #a1a1aa;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 60px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-btn.active {
    color: white;
}

.nav-btn.active::before {
    opacity: 1;
}

.nav-btn:not(.active):hover {
    background: rgba(63, 63, 70, 0.5);
    color: #f97316;
}

.nav-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-btn.active .nav-icon {
    transform: translateY(-3px) scale(1.1);
}

.nav-label {
    font-size: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Заголовки секций */
.section-title {
    text-align: center;
    font-size: clamp(24px, 6vw, 30px);
    font-weight: 900;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.title-accent {
    color: #f97316;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

/* Адаптивность */
@media (max-width: 380px) {
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 48px; }
    .section-title { font-size: 28px; }
    .stat-value { font-size: 30px; }
    .nav-label { font-size: 10px; }
}


/* Ripple (чтобы кнопка не раздувалась при клике) */
.btn-primary{
    position: relative;
    overflow: hidden;
}

.ripple{
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes rippleAnim{
    to{
        transform: scale(2.2);
        opacity: 0;
    }
}



/* ====== Extra blocks (живость) ====== */
.hero{ padding-bottom: 24px; }

.btn-primary::after{
    content:'';
    position:absolute;
    inset:-30px -60px;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.16), transparent 55%),
                radial-gradient(circle at 80% 70%, rgba(249,115,22,0.30), transparent 55%),
                radial-gradient(circle at 50% 50%, rgba(220,38,38,0.22), transparent 60%);
    filter: blur(14px);
    opacity: 0.55;
    transform: translate3d(0,0,0);
    animation: btnAuraMove 5.5s ease-in-out infinite;
    z-index: 0;
    pointer-events:none;
}

@keyframes btnAuraMove{
    0%,100%{ transform: translate(0,0) scale(1); }
    50%{ transform: translate(10px,-8px) scale(1.03); }
}

.why-wrap{
    margin-top: 22px;
    text-align: left;
}

.why-title{
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.6px;
    margin: 10px 0 14px;
    color: #e5e7eb;
}
.why-title span{
    color: #f97316;
    text-shadow: 0 0 18px rgba(249,115,22,0.45);
}

.why-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.why-card{
    background: linear-gradient(135deg, rgba(39,39,42,0.62), rgba(24,24,27,0.62));
    border: 1px solid rgba(63,63,70,0.45);
    border-radius: 16px;
    padding: 14px 14px 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.why-card::before{
    content:'';
    position:absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(249,115,22,0.18), transparent 40%, rgba(220,38,38,0.14));
    opacity: 0;
    transition: opacity .25s ease;
}

.why-card:hover{
    transform: translateY(-4px);
    border-color: rgba(249,115,22,0.55);
    box-shadow: 0 14px 38px rgba(249,115,22,0.18);
}
.why-card:hover::before{ opacity: 1; }

.why-ico{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 10px;
    font-size: 18px;
}

.why-h{
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 6px;
}
.why-t{
    color: #a1a1aa;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.35;
}

.quick-actions{
    display:flex;
    gap: 10px;
    margin-top: 14px;
}
.qa-btn{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(39,39,42,0.45);
    border: 1px solid rgba(63,63,70,0.45);
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    backdrop-filter: blur(10px);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.qa-btn:hover{
    transform: translateY(-2px);
    border-color: rgba(249,115,22,0.55);
}
.qa-btn-accent{
    background: rgba(249,115,22,0.14);
    border-color: rgba(249,115,22,0.35);
}

.qa-ico{ font-size: 14px; }
.qa-txt{ letter-spacing: .2px; }

.social-row{
    display:flex;
    gap: 10px;
    justify-content:center;
    margin-top: 14px;
}
.social-btn{
    width: 56px;
    height: 40px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    text-decoration:none;
    font-weight: 900;
    letter-spacing: .4px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.social-btn:hover{
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(249,115,22,0.55);
    box-shadow: 0 10px 28px rgba(249,115,22,0.18);
}

.server-panel{
    margin-top: 18px;
}
.server-panel-title{
    text-align:center;
    font-size: 16px;
    font-weight: 900;
    margin-top: 20px;
    letter-spacing: .5px;
}
.server-panel-title span{
    color: #f97316;
    text-shadow: 0 0 16px rgba(249,115,22,0.45);
}
.server-list{
    margin-top: 12px;
    display:flex;
    flex-direction: column;
    gap: 10px;
}
.server-item{
    background: linear-gradient(135deg, rgba(39,39,42,0.65), rgba(24,24,27,0.65));
    border: 1px solid rgba(63,63,70,0.45);
    border-radius: 16px;
    padding: 12px 14px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 12px;
    backdrop-filter: blur(10px);
}
.server-left{ display:flex; flex-direction:column; gap: 4px; }
.server-name{ font-weight: 900; font-size: 14px; }
.server-ip{ font-weight: 700; font-size: 12px; color: #a1a1aa; }
.server-right{ text-align:right; }
.server-online{ font-weight: 900; font-size: 16px; }
.server-bar{
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow:hidden;
    margin-top: 6px;
}
.server-bar > div{
    height: 100%;
    width: 30%;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #f97316, #dc2626);
    background-size: 200% 100%;
    animation: serverBarMove 2.8s ease infinite;
}
@keyframes serverBarMove{
    0%,100%{ background-position: 0% 50%; }
    50%{ background-position: 100% 50%; }
}
.server-skeleton{
    text-align:center;
    color:#a1a1aa;
    padding: 14px;
}

/* Nav indicator */
.nav-container{ position: relative; }
.nav-indicator{
    position:absolute;
    bottom: 6px;
    height: 3px;
    width: 44px;
    border-radius: 999px;
    background: linear-gradient(90deg,#f97316,#dc2626,#ea580c);
    box-shadow: 0 0 20px rgba(249,115,22,0.45);
    left: 0;
    transform: translateX(0);
    transition: transform .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1);
    pointer-events:none;
}

/* Modal */
.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 999;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}
.modal{
    width: min(450px, 100%);
    background: linear-gradient(135deg, rgba(39,39,42,0.95), rgba(24,24,27,0.95));
    border: 1px solid rgba(63,63,70,0.55);
    border-radius: 22px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
    overflow:hidden;
}
.modal-header{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(63,63,70,0.45);
}
.modal-title{
    font-weight: 900;
    letter-spacing: .4px;
}
.modal-close{
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color:#fff;
    font-weight: 900;
    cursor:pointer;
}
.modal-body{
    padding: 16px;
    color:#d4d4d8;
    font-weight: 600;
    line-height: 1.5;
}
.modal-body ul{
    margin: 10px 0 0 18px;
    color:#a1a1aa;
}
.modal-body li{ margin: 6px 0; }

