/* ============ БАЗА ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f0f0f5;
    --text-muted: #9a9aad;
    --accent: #7c5cff;
    --accent-2: #ff5c9d;
    --accent-3: #5cd8ff;
    --radius: 16px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ============ ФОНОВЫЕ СВЕЧЕНИЯ ============ */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    left: -150px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    top: 30%;
    right: -200px;
    opacity: 0.25;
}

.bg-glow-3 {
    width: 450px;
    height: 450px;
    background: var(--accent-3);
    bottom: -150px;
    left: 30%;
    opacity: 0.2;
}

/* ============ НАВИГАЦИЯ ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    padding-bottom: 100px;
}

.hero-inner {
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-3);
    padding: 8px 18px;
    border: 1px solid rgba(92, 216, 255, 0.3);
    border-radius: 100px;
    margin-bottom: 28px;
    background: rgba(92, 216, 255, 0.05);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #b8a8ff 50%, #ff9dc8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.scroll-hint {
    position: absolute;
    bottom: 30px;
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============ КНОПКИ ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124, 92, 255, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

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

/* ============ СЕКЦИИ ============ */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 24px;
}

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

.section-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-3);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 56px;
    font-size: 1.05rem;
}

/* ============ О ПРОЕКТЕ ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.about-text strong {
    color: var(--text);
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact {
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.fact-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============ ТРЕКИ (винил) ============ */
.tracks {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: stretch;
}

.track {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
}

.track-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s;
}

.track-cover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14%;
    height: 14%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 2;
    pointer-events: none;
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    animation: spin 8s linear infinite;
    animation-play-state: paused;
}

.track-cover.is-playing img {
    animation-play-state: running;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.2s, background 0.2s, opacity 0.2s;
    opacity: 0.9;
}

.player-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    opacity: 1;
}

.player-btn .icon {
    width: 16px;
    height: 16px;
    display: block;
}

.player-btn .icon-pause {
    display: none;
}

.track-cover.is-playing .icon-play {
    display: none;
}

.track-cover.is-playing .icon-pause {
    display: block;
}

.track-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    line-height: 1.2;
}

.track-meta {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.2;
}

.player-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.player-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.2s;
}

.player-progress:hover {
    height: 6px;
}

.player-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 100px;
    transition: width 0.1s linear;
}

.player-time {
    flex-shrink: 0;
    font-size: 0.6rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 24px;
    text-align: right;
}

/* ============ ЗАГЛУШКА «СКОРО» ============ */
.track-soon {
    opacity: 0.6;
}

.track-soon-text {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.3;
}

/* ============ ПОДРАЗДЕЛЫ ТРЕКОВ ============ */
.subsection-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.subsection-title + .tracks {
    margin-bottom: 60px;
}

.subsection-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ============ БЕЙДЖ EXPLICIT / 18+ ============ */
.explicit-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 5px;
    border-radius: 3px;
    background: #e63946;
    color: #fff;
    vertical-align: middle;
}

/* ============ ЭКСКЛЮЗИВНЫЕ ТРЕКИ ============ */
.track-explicit .track-cover {
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.4), 0 8px 30px rgba(230, 57, 70, 0.3);
}

.player-explicit .player-progress-fill {
    background: linear-gradient(90deg, #e63946, #b5172a);
}

/* ============ МОДАЛЬНОЕ ОКНО 18+ ============ */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.age-modal[hidden] {
    display: none;
}

.age-modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #e63946;
}

.age-modal-text {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.age-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-modal-actions .btn {
    flex: 1;
    min-width: 130px;
    padding: 12px 20px;
}

/* ============ КАПЧА 18+ ============ */
.age-captcha-question {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.age-captcha-input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 18px;
    color: var(--text);
    font-family: inherit;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    width: 140px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.age-captcha-input:focus {
    border-color: var(--accent);
}

.age-captcha-input::placeholder {
    color: #55556a;
}

.age-captcha-error {
    color: #e63946;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* ============ КОНТАКТЫ ============ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #55556a;
}

.contact-form .btn {
    align-self: flex-start;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============ ПОДВАЛ ============ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    background: rgba(10, 10, 15, 0.8);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

/* ============ БЕГУЩАЯ СТРОКА ============ */
.marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    will-change: transform;
}

.marquee-track span:nth-child(even) {
    color: var(--accent-3);
    opacity: 0.7;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ АДАПТИВ ============ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 80px 24px;
    }

    .tracks {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .tracks {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .tracks {
        grid-template-columns: repeat(2, 1fr);
    }
}