﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #060913;
    --card-bg: rgba(16, 22, 47, 0.6);
    --card-border: rgba(65, 105, 225, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --neon-blue: #00f0ff;
    --neon-purple: #8a2be2;
    --neon-pink: #ff00ff;
    --accent-blue: #0d6efd;
    --btn-bg: rgba(13, 110, 253, 0.2);
    --btn-border: #0d6efd;
    --btn-hover-bg: #0d6efd;
    --btn-hover-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
    --glow-spread: 0 0 30px rgba(0, 240, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--glow-spread);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animated Logo */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, #00f0ff, #8a2be2, #ff00ff, #ff8c00, #00f0ff);
    background-size: 400% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes shine {
    to {
        background-position: 400% center;
    }
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--btn-bg);
    border-color: var(--btn-border);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--btn-hover-bg);
    box-shadow: var(--btn-hover-shadow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 12px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    min-height: 60vh;
}

.hero-content {
    flex: 1;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #00f0ff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, rgba(16,22,47,0.8), rgba(0,0,0,0.5));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.hero-mockup-placeholder::before {
    content: 'Сюда вы можете добавить картинку';
    color: var(--text-secondary);
    font-size: 14px;
}

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

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
}

.feature-icon {
    font-size: 24px;
    color: var(--neon-blue);
}

.feature-text {
    font-size: 14px;
    font-weight: 600;
}

/* Sections General */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-green { background: rgba(0, 255, 0, 0.2); color: #00ff00; }
.badge-orange { background: rgba(255, 165, 0, 0.2); color: #ffa500; }
.badge-blue { background: rgba(0, 240, 255, 0.2); color: #00f0ff; }

/* App Card */
.app-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.app-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.app-icon {
    font-size: 32px;
    color: var(--neon-blue);
}
.app-name { font-weight: 700; font-size: 18px; }
.app-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; flex: 1;}
.app-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}
.app-btn { width: 100%; justify-content: center; }

/* Playlist Card */
.playlist-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.playlist-icon {
    font-size: 40px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #0d6efd, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.playlist-name { font-weight: 700; font-size: 18px; margin-bottom: 5px; }
.playlist-desc { color: var(--text-secondary); font-size: 14px; }
.playlist-action {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--btn-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}
.playlist-card:hover .playlist-action {
    background: var(--neon-purple);
    transform: scale(1.1);
}

/* Telegram Links */
.tg-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tg-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.tg-icon { font-size: 24px; color: #0088cc; }
.tg-text h4 { font-size: 16px; margin-bottom: 2px; }
.tg-text p { font-size: 12px; color: var(--text-secondary); }

/* Stats & Donate */
.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.stats-card {
    display: flex;
    flex-direction: column;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    flex-wrap: wrap;
    gap: 20px;
}
.stat-item { text-align: center; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--neon-blue); margin-bottom: 5px;}
.stat-label { font-size: 12px; color: var(--text-secondary); }

.donate-card {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), rgba(16, 22, 47, 0.6));
    border-color: rgba(255, 0, 128, 0.3);
}
.donate-card .stat-value { color: #ff007f; }

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 20px;
    margin-top: 60px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    color: var(--text-secondary);
    font-size: 20px;
}
.social-icons a:hover {
    color: var(--neon-blue);
}
.copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--card-border);
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .footer-container { flex-direction: column; text-align: center; }
    .hero-title { font-size: 36px; }
}
/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}
.modal-close:hover {
    color: var(--text-primary);
}
