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

:root {
    --bg: #070707;
    --bg-alt: #120b05;
    --panel: #151515;
    --panel-soft: #1b1b1b;
    --text: #f6f2eb;
    --muted: #c2b6a8;
    --line: rgba(255, 183, 61, 0.22);
    --accent: #ffb210;
    --accent-strong: #ff9900;
    --danger: #ff6a70;
    --ok: #ffbe2d;
    --radius: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% -5%, rgba(255, 178, 16, 0.12), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 128, 0, 0.08), transparent 28%),
        linear-gradient(180deg, #050505 0%, #0c0c0c 62%, #130b05 100%);
}

.public-shell {
    width: min(1120px, 94vw);
    margin: 0 auto;
}

.public-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(8, 8, 8, 0.78);
    border-bottom: 1px solid rgba(255, 183, 61, 0.16);
}

.public-topbar-inner {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
}

.locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.locale-label {
    font-size: 0.76rem;
    color: #d7c8b2;
}

.locale-switcher select {
    width: auto;
    min-width: 126px;
    border-radius: 999px;
    padding: 0.34rem 0.62rem;
    border: 1px solid rgba(255, 183, 61, 0.4);
    background: rgba(10, 10, 10, 0.82);
    color: #f6ead8;
    font-size: 0.8rem;
}

.gradient-text {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.68rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.public-brand img {
    width: 112px;
    height: auto;
    display: block;
}

.public-brand span {
    font-size: 0.98rem;
    color: #ffe8be;
}

.public-topbar-badge {
    border: 1px solid rgba(255, 178, 16, 0.46);
    background: rgba(255, 178, 16, 0.16);
    color: #ffd783;
    border-radius: 999px;
    padding: 0.34rem 0.76rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero {
    margin-top: 1.3rem;
    margin-bottom: 1.1rem;
    background: linear-gradient(160deg, rgba(255, 178, 16, 0.1), rgba(15, 15, 15, 0.93));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.15rem;
    display: block;
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: #ffd184;
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.hero h1 {
    margin: 0.35rem 0 0.62rem;
    line-height: 1.02;
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    margin: 0 auto;
    color: var(--muted);
    max-width: 720px;
}

.steps {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}

.steps span {
    font-size: 0.8rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #eadccb;
}

.section-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    text-align: center;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    text-align: center;
}

.catalog,
.submission-panel {
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(19, 19, 19, 0.92), rgba(12, 12, 12, 0.96));
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.playlist-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.72rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.playlist-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--panel-soft);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.playlist-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 183, 61, 0.44);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.playlist-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 178, 16, 0.54), 0 12px 24px rgba(255, 178, 16, 0.15);
}

.cover {
    aspect-ratio: 16 / 9;
    background-image: linear-gradient(135deg, #2b1d0c, #202020);
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 0.75rem;
}

.card-body h3 {
    margin: 0;
    font-size: 0.97rem;
    text-align: center;
}

.card-body p {
    margin: 0.42rem 0 0;
    color: var(--muted);
    font-size: 0.87rem;
    min-height: 42px;
    text-align: center;
}

.submission-form {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.submission-form label {
    display: grid;
    gap: 0.4rem;
    color: #d8ccbd;
    font-size: 0.88rem;
    text-align: left;
}

.submission-form label.wide,
.privacy-note,
.submission-feedback,
.submission-form button {
    grid-column: 1 / -1;
}

.consent-fields {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.submission-form label.consent-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #d9cdbf;
    font-size: 0.84rem;
    text-align: left;
}

.submission-form label.consent-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 0;
    accent-color: #ffb210;
    flex-shrink: 0;
}

.submission-form label.consent-option span {
    display: inline;
    line-height: 1.35;
}

.privacy-note {
    margin: 0;
    color: #c8b8a4;
    font-size: 0.8rem;
    text-align: left;
}

input:not([type="checkbox"]),
select,
textarea {
    width: 100%;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #121212;
    color: var(--text);
    padding: 0.66rem 0.72rem;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(255, 178, 16, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 178, 16, 0.2);
}

textarea {
    min-height: 114px;
    resize: vertical;
}

button {
    border: 1px solid rgba(255, 178, 16, 0.55);
    border-radius: 12px;
    padding: 0.78rem 1rem;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    background: linear-gradient(120deg, #ffbf33, #ff9a00);
    color: #2a1900;
}

button:hover {
    filter: brightness(1.04);
}

.submission-feedback {
    margin: 0;
    border-radius: 10px;
    min-height: 1.6rem;
    padding: 0.45rem 0.62rem;
    background: rgba(255, 255, 255, 0.04);
    color: #cfbda8;
    text-align: left;
}

.submission-feedback.success { color: var(--ok); }
.submission-feedback.error { color: var(--danger); }

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.empty-state {
    margin-top: 0.8rem;
    border: 1px dashed rgba(255, 183, 61, 0.35);
    border-radius: 12px;
    padding: 0.8rem;
    color: #d2c4b3;
    text-align: center;
}

.public-footer {
    margin-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0 1.2rem;
    color: #b2a393;
    text-align: center;
}

.public-footer small {
    opacity: 0.9;
}

.footer-seo-line {
    margin: 0.36rem 0 0;
    color: #cdb99f;
    font-size: 0.86rem;
}

.footer-links {
    margin: 0.35rem 0 0;
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-links a {
    color: #ffd88f;
    text-decoration: none;
    font-size: 0.84rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.not-found {
    margin: 4rem auto;
    text-align: center;
}

.not-found a {
    color: var(--accent);
}

@media (max-width: 980px) {
    .topbar-controls {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 760px) {
    .public-topbar-inner {
        flex-wrap: wrap;
    }

    .public-brand img {
        width: 96px;
    }

    .public-brand span {
        font-size: 0.85rem;
    }

    .locale-label {
        display: none;
    }

    .submission-form {
        grid-template-columns: 1fr;
    }
}
