:root {
  --bg: #0b0b10;
  --surface: #15151d;
  --surface-2: #1d1d27;
  --text: #f7f7fb;
  --muted: #a8a8b7;
  --line: rgba(255,255,255,.1);
  --accent: #ff4fd8;
  --accent-2: #6b7cff;
  --success: #4de2a0;
  --danger: #ff6a6a;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,79,216,.14), transparent 35%),
    radial-gradient(circle at 100% 25%, rgba(107,124,255,.16), transparent 35%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.app-shell { max-width: 900px; margin: 0 auto; min-height: 100vh; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: rgba(11,11,16,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
}
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; font-weight: 900; letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand strong { display: block; letter-spacing: .08em; font-size: .9rem; }
.brand small { color: var(--muted); font-size: .7rem; letter-spacing: .18em; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
}

.mobile-nav {
  display: none; position: fixed; inset: 67px 12px auto 12px; z-index: 30;
  padding: 10px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(21,21,29,.98); box-shadow: var(--shadow);
}
.mobile-nav.open { display: grid; }
.mobile-nav button {
  text-align: left; color: var(--text); background: transparent; border: 0;
  border-radius: 12px; padding: 14px; font-weight: 700;
}
.mobile-nav button:hover { background: var(--surface-2); }

main { padding: 22px 16px 110px; }

.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(900px, 100%); z-index: 25;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11,11,16,.92); backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.bottom-nav button {
  display: grid; gap: 3px; justify-items: center;
  color: var(--muted); background: none; border: 0; font-size: .7rem; padding: 7px 2px;
}
.bottom-nav button span { font-size: 1.2rem; color: var(--text); }
.bottom-nav button.active { color: var(--accent); }

.hero {
  padding: 24px;
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: end;
  border: 1px solid var(--line); border-radius: 28px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.82) 78%),
    linear-gradient(135deg, rgba(255,79,216,.55), rgba(107,124,255,.25)),
    #26263a;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 300px; height: 300px;
  border: 24px solid rgba(255,255,255,.06); border-radius: 50%;
}
.eyebrow {
  color: var(--success); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.hero h1 { margin: 8px 0 6px; font-size: clamp(2.2rem, 10vw, 4.5rem); line-height: .92; letter-spacing: -.06em; }
.hero p { margin: 0 0 16px; color: #d9d9e4; max-width: 560px; }

.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 15px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  text-decoration: none; font-weight: 800; cursor: pointer;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 0; }
.btn.ghost { background: rgba(255,255,255,.07); }
.btn.small { min-height: 38px; padding: 8px 12px; font-size: .86rem; }

.section { margin-top: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.section-sub { color: var(--muted); margin: 5px 0 0; font-size: .92rem; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.artist-card, .stage-card, .info-card, .schedule-row, .profile-card {
  background: rgba(21,21,29,.9); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.artist-card { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 12px; }
.artist-photo {
  width: 86px; height: 86px; border-radius: 16px; object-fit: cover;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.artist-card h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.meta { color: var(--muted); font-size: .88rem; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  color: #081a12; background: var(--success);
  font-size: .7rem; font-weight: 900; border-radius: 999px; padding: 4px 8px; margin-bottom: 5px;
}
.live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0b6f45; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.stage-card { padding: 18px; position: relative; overflow: hidden; }
.stage-card::after {
  content: ""; position: absolute; width: 130px; height: 130px; right: -40px; top: -50px;
  border-radius: 50%; background: var(--stage-color, var(--accent)); opacity: .18;
}
.stage-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.stage-line { width: 48px; height: 5px; border-radius: 999px; background: var(--stage-color, var(--accent)); margin-bottom: 14px; }
.stage-now { color: var(--muted); font-size: .88rem; margin: 12px 0; }
.stage-now strong { color: var(--text); display: block; font-size: 1.05rem; margin-top: 3px; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.filter-btn {
  flex: 0 0 auto; border-radius: 999px; padding: 9px 13px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-weight: 700;
}
.filter-btn.active { color: var(--text); background: var(--surface-2); border-color: rgba(255,255,255,.25); }

.schedule-list { display: grid; gap: 9px; }
.schedule-row {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 13px;
}
.schedule-time { font-weight: 900; letter-spacing: -.03em; }
.schedule-row h3 { margin: 0 0 3px; font-size: 1rem; }
.schedule-row .stage-dot { width: 10px; height: 10px; border-radius: 50%; }

.map-wrap { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #d5d0bd; }
.map-svg { width: 100%; height: auto; display: block; }
.map-marker { cursor: pointer; }
.map-marker circle { stroke: white; stroke-width: 3; }
.map-marker text { fill: white; font-weight: 900; font-size: 14px; text-anchor: middle; dominant-baseline: central; }
.map-legend { display: grid; gap: 8px; padding: 14px; background: var(--surface); }
.legend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.legend-row span:first-child { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; }

.profile-card { overflow: hidden; }
.profile-banner {
  min-height: 230px; display: flex; align-items: end; padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)), var(--artist-bg, linear-gradient(135deg, var(--accent), var(--accent-2)));
}
.profile-banner h1 { margin: 0; font-size: 2.5rem; letter-spacing: -.05em; }
.profile-body { padding: 20px; }
.profile-body p { color: #d6d6df; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.tag { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); padding: 7px 10px; border-radius: 999px; font-size: .82rem; }

.alert {
  margin-bottom: 16px; padding: 12px 14px; border-radius: 14px;
  color: #2c2100; background: #ffd86b; font-weight: 800;
}
.empty-state { text-align: center; padding: 34px 18px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); }
.support-card {
  padding: 26px; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,79,216,.26), rgba(107,124,255,.28)), var(--surface);
}
.support-card h1 { margin: 0 0 10px; font-size: 2.25rem; letter-spacing: -.05em; }
.support-card p { color: #dedee8; line-height: 1.6; }

.sponsor-strip {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 9px;
}
.sponsor {
  min-height: 70px; display: grid; place-items: center; text-align: center; padding: 10px;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 800;
}

@media (min-width: 680px) {
  .card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .artist-card { grid-template-columns: 100px 1fr; }
  .artist-photo { width: 100px; height: 100px; }
}


.nav-link {
  display:block; color:var(--text); text-decoration:none; border-radius:12px;
  padding:14px; font-weight:700;
}
.nav-link:hover { background:var(--surface-2); }

.artist-photo.has-image {
  background-size: cover !important;
  background-position: center !important;
}

.form-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}
.form-hero {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,79,216,.22), rgba(107,124,255,.24)), var(--surface);
  margin-bottom: 18px;
}
.form-hero h1 { margin: 8px 0 10px; font-size: clamp(2rem, 8vw, 3.5rem); letter-spacing: -.055em; }
.form-hero p { color: #dcdce7; line-height: 1.55; margin-bottom: 0; }

.intake-form {
  display: grid;
  gap: 18px;
}
.form-section {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(21,21,29,.92);
}
.form-section h2 { margin: 0 0 6px; font-size: 1.25rem; }
.form-section > p { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.field label, fieldset legend {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: .92rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0f0f15;
  color: var(--text);
  border-radius: 13px;
  padding: 12px 13px;
  min-height: 46px;
  font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.help { display:block; margin-top:6px; color:var(--muted); font-size:.8rem; line-height:1.4; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dcdce6;
  line-height: 1.45;
}
.checkbox-row input { margin-top: 4px; transform: scale(1.15); }

.required::after { content:" *"; color:var(--accent); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.success-card {
  max-width: 560px;
  padding: 30px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.success-card h1 { font-size: 2.4rem; letter-spacing: -.05em; margin: 8px 0; }

@media (min-width: 680px) {
  .field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
