/* Базові налаштування */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0b0c10;
    color: #c5c6c7;
    overflow-x: hidden;
    padding-top: 100px;
}

/* Анімований неоновий фон */
.neon-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1f2833, #0b0c10);
    overflow: hidden;
}

.cube {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.cube:nth-child(1) { left: 25%; width: 100px; height: 100px; animation-delay: 0s; }
.cube:nth-child(2) { left: 10%; width: 60px; height: 60px; animation-delay: 2s; animation-duration: 12s; }
.cube:nth-child(3) { left: 70%; width: 120px; height: 120px; animation-delay: 4s; }
.cube:nth-child(4) { left: 85%; width: 80px; height: 80px; animation-delay: 1s; animation-duration: 18s; }

@keyframes animate {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 10px; }
    100% { transform: translateY(-1200px) rotate(720deg); opacity: 0; border-radius: 50%; }
}

/* Ефект скла (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Навігація */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.logo span {
    color: #00f2fe;
    text-shadow: 0 0 10px #00f2fe;
}

nav a {
    color: #c5c6c7;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #00f2fe;
    text-shadow: 0 0 8px #00f2fe;
}

/* Контент */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Головний Банер */
.hero {
    text-align: center;
    padding: 60px 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 242, 254, 0.15);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.05);
}

.hero h1 {
    font-size: 64px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

.subtitle {
    font-size: 18px;
    color: #4facfe;
    margin-bottom: 20px;
}

.description {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 18px;
    line-height: 1.6;
}

/* Кнопки зі світінням */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px #00f2fe;
    transform: translateY(-3px);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    box-shadow: 0 0 25px #5865F2;
    transform: translateY(-3px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Статистика */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: #666d71;
}

/* Секції */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #fff;
    margin: 60px 0 30px 0;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* Картки функцій */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
}

.feature-card i {
    font-size: 40px;
    color: #00f2fe;
    margin-bottom: 15px;
    transition: 0.3s;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.feature-card:hover {
    transform: scale(1.05);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.feature-card:hover i {
    text-shadow: 0 0 15px #00f2fe;
}

/* Текстові блоки та описи */
.text-section {
    padding: 40px;
    margin-bottom: 40px;
}

.text-section h2, .download-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.text-section h3 {
    color: #4facfe;
    margin: 25px 0 10px 0;
}

.text-section p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Новини */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.news-card {
    padding: 30px;
}

.news-date {
    font-size: 13px;
    color: #00f2fe;
}

.news-card h3 {
    color: #fff;
    margin: 5px 0 15px 0;
}

/* Галерея заглушки */
.gallery-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.gallery-placeholder {
    flex: 1;
    min-width: 300px;
    height: 200px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

/* Завантаження */
.download-section {
    padding: 40px;
}

.download-box {
    text-align: center;
    margin: 30px 0;
}

.btn-large {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: #000;
    font-size: 20px;
    padding: 18px 40px;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.btn-large:hover {
    box-shadow: 0 0 40px #00f2fe;
}

.changelog, .install-guide {
    margin-top: 30px;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
}

.changelog h3, .install-guide h3 {
    color: #fff;
    margin-bottom: 15px;
}

ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    line-height: 1.5;
}

code {
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #00f2fe;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.faq-item {
    padding: 25px;
}

.faq-item h4 {
    color: #00f2fe;
    font-size: 16px;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
}

/* Підвал */
footer {
    text-align: center;
    padding: 30px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Адаптивність */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}
