/* ===== CSS Reset & Variables ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --text: #f0f0f0;
    --text-secondary: #888888;
    --accent: #c9a96e;
    --accent-dark: #a8823f;
    --border: #2a2a2a;
    --white: #ffffff;
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 760px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 60px;
}

.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--text);
}

.header-nav a.nav-demo {
    color: var(--accent);
}

.header-nav a.nav-demo:hover {
    color: var(--accent-dark);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    background-color: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.7) 70%,
        rgba(0,0,0,0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 40px) 60px 120px;
}

.hero-socials {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-social-icon {
    color: rgba(240,240,240,0.6);
    transition: color 0.2s;
}

.hero-social-icon:hover {
    color: var(--accent);
}

.hero-artist {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 16px;
}

.hero-release-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-release-title {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 40px;
}

.hero-sub {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    transition: color 0.2s;
}

.hero-scroll-down:hover { color: var(--accent); }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-gold {
    background: var(--accent);
    color: #000;
}

.btn-gold:hover {
    background: #d4b47a;
    transform: translateY(-1px);
}

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

.btn-outlined:hover {
    background: var(--accent);
    color: #000;
}

.btn-large {
    padding: 18px 48px;
    font-size: 0.85rem;
}

/* ===== Artists Grid ===== */
.artists-section .section-title {
    text-align: left;
}

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

.artist-card {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}

.artist-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--surface);
}

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-card-image img {
    transform: scale(1.05);
}

.artist-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    font-size: 4rem;
    font-weight: 800;
    color: var(--border);
}

.artist-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(201, 169, 110, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.artist-card-cta {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #000;
}

.artist-card-name {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== About ===== */
.about-section {
    background: var(--surface);
}

.about-inner {
    max-width: 760px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* ===== Demo CTA ===== */
.demo-cta-section {
    text-align: center;
    padding: 120px 0;
}

.demo-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.demo-cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* ===== Contacts ===== */
.contacts-section .section-title {
    text-align: left;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 700px;
    margin-bottom: 60px;
}

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

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.contact-email {
    font-size: 1rem;
    color: var(--text);
    transition: color 0.2s;
}

.contact-email:hover { color: var(--accent); }

.contacts-socials {
    display: flex;
    gap: 24px;
}

/* ===== Social Icons ===== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.2s, transform 0.2s;
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

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

.footer-center a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

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

/* ===== Artist Page ===== */
.artist-hero {
    position: relative;
    height: 80vh;
    background-color: var(--surface);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.artist-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.artist-back-link {
    position: absolute;
    top: calc(var(--header-h) + 24px);
    left: 40px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.artist-back-link:hover { color: var(--text); }

.artist-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 60px 80px;
}

.artist-hero-name {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.artist-socials-bar {
    display: flex;
    gap: 24px;
    padding: 32px 60px;
    border-bottom: 1px solid var(--border);
}

.artist-social-icon {
    color: var(--text-secondary);
}

.bio-section {
    padding: 80px 0;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* Featured Release on artist page */
.featured-release-section {
    background: var(--surface);
}

.featured-release-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.featured-release-cover {
    flex-shrink: 0;
    width: 300px;
}

.featured-release-cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.release-cover-placeholder {
    aspect-ratio: 1;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--surface);
}

.release-meta {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.featured-release-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.featured-release-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Releases grid */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.release-card {
    display: block;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
}

.release-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface);
}

.release-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.release-card:hover .release-card-image img {
    transform: scale(1.05);
}

.release-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 16px;
    text-align: center;
}

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

.release-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.release-card-year {
    font-size: 0.7rem;
    color: var(--accent);
}

.back-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.back-link:hover { color: var(--accent); }

/* ===== Demo Form ===== */
.demo-page {
    background: var(--bg);
}

.demo-intro {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.demo-form {
    margin-top: 48px;
}

.form-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    padding: 10px 20px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
}

.radio-label:hover {
    border-color: var(--accent);
}

.radio-label input[type="radio"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.radio-label:has(input:checked) {
    border-color: var(--accent);
    background: rgba(201, 169, 110, 0.08);
}

.form-label-block {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.form-consent {
    margin: 40px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
}

.form-submit {
    text-align: left;
    margin-top: 48px;
}

.required {
    color: var(--accent);
}

/* Alerts */
.alert {
    padding: 20px 24px;
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4caf50;
    color: #a5d6a7;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #f44336;
    color: #ef9a9a;
}

/* ===== Privacy Page ===== */
.privacy-text h2 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 48px 0 16px;
    color: var(--text);
}

.privacy-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text);
}

.privacy-text p,
.privacy-text li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-text ul {
    list-style: none;
    padding-left: 0;
}

.privacy-text ul li::before {
    content: '— ';
    color: var(--accent);
}

.privacy-text a {
    color: var(--accent);
    text-decoration: underline;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .container { padding: 0 24px; }
    .header-inner { padding: 0 24px; }

    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .releases-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-release-cover {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-title { margin-bottom: 40px; }

    /* Header mobile */
    .burger { display: flex; }

    .header-nav {
        display: none;
        position: fixed;
        inset: var(--header-h) 0 0 0;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav a {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    /* Hero mobile */
    .hero-content {
        padding: calc(var(--header-h) + 20px) 24px 100px;
    }

    .hero-artist {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .hero-release-title {
        font-size: clamp(1.2rem, 5vw, 2.5rem);
    }

    /* Artists */
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Contacts */
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 24px;
    }

    /* Artist page */
    .artist-hero { height: 60vh; }
    .artist-hero-content { padding: 40px 24px 60px; }
    .artist-back-link { left: 24px; }
    .artist-socials-bar { padding: 24px; gap: 16px; }

    .featured-release-inner {
        flex-direction: column;
        gap: 32px;
    }

    .featured-release-cover {
        width: 100%;
        max-width: 300px;
    }

    /* Releases grid */
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Form */
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content { padding: calc(var(--header-h) + 16px) 20px 80px; }
    .container { padding: 0 20px; }

    .artists-grid {
        grid-template-columns: 1fr;
    }

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

    .radio-group {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }
}
