:root {
    color-scheme: dark;
    --background: #101019;
    --surface: #191922;
    --text: #fff9f1;
    --muted: #c4becb;
    --line: #444050;
    --gold: #f2cf99;
    --lilac: #d8c5f5;
    --rose: #f2bccb;
    font-family: system-ui, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.5;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 82% 0%, #262039 0, transparent 54%), var(--background);
}

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.site-shell {
    width: min(100% - 40px, 1040px);
    margin-inline: auto;
    padding-block: clamp(25px, 6vw, 72px);
}

.welcome {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 36%);
    align-items: center;
    min-height: 400px;
    overflow: hidden;
    padding: clamp(28px, 3.5vw, 44px) clamp(28px, 5.5vw, 64px);
    border: 1px solid #504659;
    border-radius: 26px;
    background: radial-gradient(ellipse at 86% 45%, #433149 0, transparent 51%), #191724;
}

.welcome-copy { z-index: 1; }

h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 6.5vw, 5.2rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .99;
    text-wrap: balance;
}

.welcome h1 em {
    color: var(--gold);
    font-weight: inherit;
}

.welcome p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.welcome-art {
    position: relative;
    justify-self: center;
    width: min(100%, 320px);
    min-width: 0;
}

.welcome-art::before {
    position: absolute;
    inset: -18%;
    z-index: -1;
    content: '';
    background: radial-gradient(ellipse, #9a6c903b 8%, transparent 65%);
}

.welcome-art img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 22px 30px #0c0812b3);
    transform: rotate(7deg);
}

.destinations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.destination {
    display: flex;
    min-height: 135px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(18px, 2.5vw, 26px);
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    text-decoration: none;
}

.destination:hover { border-color: var(--entry-accent); }
.destination-seating { --entry-accent: var(--gold); }
.destination-photos { --entry-accent: var(--rose); }
.destination-dj { --entry-accent: var(--lilac); }

.destination strong {
    display: block;
    color: var(--entry-accent);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 400;
}

.destination small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .9rem;
}

.destination-arrow {
    color: var(--entry-accent);
    font-size: 1.4rem;
}

.breadcrumb {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.flow {
    width: min(100% - 40px, 750px);
}

.flow h1, .dj-guest h1 { font-size: clamp(2.8rem, 8vw, 4.7rem); }

.dj-guest { width: min(100% - 40px, 930px); }

.dj-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: 18px;
    align-items: start;
    margin-top: 28px;
}

.dj-layout .form-card { margin: 0; }

.dj-information {
    padding: clamp(21px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, #292233, var(--surface));
}

.dj-layout h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 400;
}

.dj-information p { margin: 12px 0; color: var(--muted); }

.dj-information a {
    display: table;
    margin-top: 9px;
    color: var(--gold);
    text-underline-offset: 4px;
}

.form-card {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    padding: clamp(21px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.field { display: grid; gap: 7px; }
.field label { font-weight: 650; }
.optional { color: var(--muted); font-weight: 400; }

.field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #6a6376;
    border-radius: 10px;
    background: #111119;
    color: var(--text);
    font: inherit;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--gold);
    color: #23192b;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.button:hover { background: #ffe2ac; }
.form-card > .button { justify-self: start; }

.button-secondary {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.button-secondary:hover { background: #302d3d; }

.notice {
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 1px solid #8fa79c;
    border-radius: 12px;
    background: #1b2a26;
    color: #e2f6ea;
}

.notice-error { border-color: #ba7b91; background: #35232e; color: #ffdde6; }

.staff-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--muted);
    font-size: .9rem;
    text-underline-offset: 3px;
}

.queue-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
}

.queue-list { display: grid; gap: 10px; margin: 18px 0 28px; padding: 0; list-style: none; }
.queue-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.track-info { min-width: 0; overflow-wrap: anywhere; }
.track-info strong { display: block; font-size: 1.1rem; }
.track-info p { margin: 3px 0 0; color: var(--muted); }
.track-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.empty-queue { color: var(--muted); }

@media (max-width: 700px) {
    .welcome { min-height: 340px; grid-template-columns: minmax(0, 1fr) minmax(145px, 31%); }
    .destinations { grid-template-columns: 1fr; }
    .destination { min-height: 92px; }
    .dj-layout { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .site-shell { width: min(100% - 28px, 1040px); }
    .welcome { grid-template-columns: 1fr; gap: 8px; padding: 28px 22px 16px; }
    .welcome-art { justify-self: end; width: min(50%, 175px); margin: -4px 0 0; }
    .welcome h1 { font-size: clamp(2.45rem, 11vw, 3.2rem); }
    .welcome p { margin-top: 14px; }
}
