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

:root {
  --bg: #070b16;
  --panel: rgba(15, 23, 42, .78);
  --line: rgba(148, 163, 184, .16);
  --muted: #94a3b8;
  --text: #e2e8f0;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #a78bfa;
  --magenta: #c026d3;
  --green: #34d399;
  --pink: #fb7185;
  --amber: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(7,11,22,.72), rgba(7,11,22,.88)),
    url("brand/hero.jpg") center/cover no-repeat fixed;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 16px 18px 0;
  background: transparent;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(9, 11, 25, .82), rgba(22, 18, 47, .72)),
    radial-gradient(circle at 20% 10%, rgba(110, 86, 255, .20), transparent 38%),
    radial-gradient(circle at 80% 0%, rgba(0, 225, 255, .12), transparent 34%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 22px 60px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  min-width: 220px;
}

.brand-logo {
  height: 46px;
  width: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(34,211,238,.45));
}

.hero-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 28px rgba(34,211,238,.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: lowercase;
}

.brand-text small {
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-center a {
  position: relative;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.nav-center a:hover,
.nav-center a.active { color: #fff; }

.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #22d3ee;
  box-shadow: 0 0 16px rgba(34,211,238,.85);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.user-chip img,
.user-fallback {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
}

.user-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.35), rgba(167,139,250,.35));
  color: #e0faff;
  font-size: 11px;
  font-weight: 900;
}

.user-chip span {
  font-size: 13px;
  font-weight: 800;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-cta,
.btn {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.header-cta,
.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, #22d3ee, #c026d3);
  box-shadow:
    0 0 24px rgba(34,211,238,.30),
    0 10px 30px rgba(192,38,211,.22);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.72);
  border: 0;
  min-height: 42px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.btn-block { width: 100%; height: 52px; }

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

.auth-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 16px 80px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.auth-layout > section:first-child {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(7,11,22,.05) 20%, rgba(7,11,22,.82)),
    url("brand/hero.jpg") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
}

.eyebrow {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.hero-title {
  margin-top: 14px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .84;
  letter-spacing: -.082em;
  font-weight: 950;
  max-width: 640px;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 560px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.6;
}

.stat-strip {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill,
.story-card {
  border-radius: 22px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(34,211,238,.18), transparent 42%),
    linear-gradient(180deg, rgba(2,6,23,.68), rgba(2,6,23,.38));
  border: 1px solid rgba(103,232,249,.18);
  min-width: 140px;
}

.story-card strong,
.stat-pill strong {
  display: block;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.story-card span,
.stat-pill span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.auth-card {
  border-radius: 32px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.16), transparent 36%),
    linear-gradient(180deg, rgba(15,23,42,.96), rgba(15,23,42,.82));
  border: 1px solid rgba(226,232,240,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
  backdrop-filter: blur(16px);
}

.auth-card h2 {
  font-size: 28px;
  letter-spacing: -.05em;
  font-weight: 950;
}

.auth-card p.lead {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px 0 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(255,255,255,.06);
}

.auth-tabs button {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.auth-tabs button.active {
  background: rgba(34,211,238,.12);
  color: #fff;
  border: 1px solid rgba(34,211,238,.22);
}

.field {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(2,6,23,.74);
  border: 1px solid rgba(148,163,184,.22);
  color: #e2e8f0;
  font-size: 15px;
  font-family: inherit;
}

textarea.field {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 90px;
}

.field:focus {
  outline: none;
  border-color: rgba(34,211,238,.75);
  box-shadow: 0 0 0 4px rgba(34,211,238,.10);
}

.form-stack { display: grid; gap: 12px; margin-top: 8px; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.08);
}

.google-btn {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #111827;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.google-btn svg { width: 18px; height: 18px; }

.form-msg {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fb7185;
}

.form-msg.ok { color: #34d399; }

.hint {
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.dash-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 22px;
}

.dash-head h1 {
  margin-top: 6px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 950;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.radar-card {
  min-height: 132px;
  border-radius: 30px;
  padding: 20px;
  background:
    radial-gradient(circle at 15% 0%, rgba(34,211,238,.18), transparent 46%),
    linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.66));
  border: 1px solid rgba(226,232,240,.12);
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}

.radar-card.pink {
  background: radial-gradient(circle at 15% 0%, rgba(251,113,133,.18), transparent 46%), linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.66));
}
.radar-card.violet {
  background: radial-gradient(circle at 15% 0%, rgba(167,139,250,.20), transparent 46%), linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.66));
}
.radar-card.green {
  background: radial-gradient(circle at 15% 0%, rgba(52,211,153,.16), transparent 46%), linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.66));
}

.radar-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.radar-card b {
  display: block;
  margin-top: 12px;
  font-size: 36px;
  letter-spacing: -.05em;
  font-weight: 950;
}

.section { margin-top: 36px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  margin-top: 4px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.06em;
}

.event-grid,
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.event-card,
.artist-card,
.empty-card {
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(52,211,153,.10), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,.90), rgba(15,23,42,.68));
  border: 1px solid rgba(226,232,240,.11);
}

.artist-card {
  background:
    radial-gradient(circle at 15% 0%, rgba(167,139,250,.14), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,.90), rgba(15,23,42,.68));
}

.event-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.event-date {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  color: #020617;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.event-date span:first-child { font-size: 21px; }
.event-date span:last-child { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.event-card h3,
.artist-card h3 {
  font-size: 20px;
  letter-spacing: -.04em;
  font-weight: 950;
}

.meta { margin-top: 6px; color: #94a3b8; font-size: 13px; }
.artists-line { margin-top: 12px; color: #cffafe; font-size: 13px; font-weight: 800; }

.badge {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.20);
  color: #cffafe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.badge.pink {
  background: rgba(251,113,133,.10);
  border-color: rgba(251,113,133,.24);
  color: #fecdd3;
}

.stars {
  display: flex;
  gap: 4px;
  margin-top: 14px;
}

.stars button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.08);
  color: #64748b;
  cursor: pointer;
  font-weight: 900;
}

.stars button.on {
  background: rgba(245,158,11,.22);
  color: #fbbf24;
}

.artist-picker { position: relative; }
.suggest {
  display: none;
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,.28);
  background: #0b1224;
  position: relative;
  z-index: 5;
}
.suggest.open { display: block; }
.suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: transparent;
  color: #e2e8f0;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
}
.suggest button:hover { background: rgba(34,211,238,.08); }
.suggest button b,
.suggest button span { display: block; }
.suggest button span { display: block; margin-top: 3px; color: #94a3b8; font-size: 12px; }
.suggest .web { color: #67e8f9; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.22);
  color: #cffafe;
  font-size: 12px;
  font-weight: 800;
}
.chip button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.artist-row { display: flex; gap: 12px; align-items: center; }
.artist-thumb, .artist-fallback {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
}
.artist-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(167,139,250,.28));
  color: #e0faff;
  font-weight: 950;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.76);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.modal-backdrop.active { display: flex; }

.modal {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.20), transparent 36%),
    linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.92));
  border: 1px solid rgba(226,232,240,.14);
  box-shadow: 0 30px 100px rgba(0,0,0,.50);
  padding: 26px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.hidden { display: none !important; }

@media (max-width: 920px) {
  .auth-layout,
  .header-inner,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .nav-center { display: none; }
  .header-inner { display: flex; justify-content: space-between; }
  .brand { min-width: 0; }
}
