:root {
  --bg: #fff7ef;
  --bg-strong: #fff1df;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1f1437;
  --muted: #655b7a;
  --pink: #ff5e8a;
  --orange: #ff9a3d;
  --gold: #ffd45f;
  --mint: #3cc9a7;
  --teal: #0f8f95;
  --border: rgba(67, 42, 116, 0.12);
  --shadow: 0 22px 60px rgba(135, 62, 29, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 212, 95, 0.55), transparent 25%),
    radial-gradient(circle at right 20%, rgba(60, 201, 167, 0.32), transparent 28%),
    linear-gradient(180deg, #fff9f3 0%, #fff3ea 100%);
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-copy,
.hero-art,
.status-bar,
.controls,
.message-card,
.info-card,
.spot-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 233, 0.94));
  border-radius: 28px;
  padding: 32px;
}

.eyebrow,
.section-kicker,
.status-label,
.art-label,
.spot-type {
  margin: 0 0 10px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 18px 0 28px;
}

.search-panel {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  padding: 18px;
}

.field span {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

input {
  width: 100%;
  border: 1px solid rgba(67, 42, 116, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  background: white;
  color: var(--text);
}

input:focus,
button:focus {
  outline: 3px solid rgba(15, 143, 149, 0.22);
  outline-offset: 2px;
}

button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: white;
  font-weight: 700;
}

.secondary-button {
  background: linear-gradient(135deg, rgba(60, 201, 167, 0.14), rgba(15, 143, 149, 0.18));
  color: var(--text);
  font-weight: 600;
}

.ghost-button,
.pill,
.save-button {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--border);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-art {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 94, 138, 0.95), transparent 34%),
    radial-gradient(circle at 70% 20%, rgba(255, 212, 95, 0.95), transparent 28%),
    radial-gradient(circle at 30% 90%, rgba(60, 201, 167, 0.92), transparent 30%),
    linear-gradient(160deg, #371f78 0%, #0e6b72 100%);
}

.art-card {
  position: absolute;
  width: min(240px, 62%);
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  box-shadow: 0 20px 50px rgba(17, 15, 64, 0.22);
}

.art-card strong {
  font-size: 1.2rem;
  display: block;
}

.art-card-one {
  top: 30px;
  right: 28px;
}

.art-card-two {
  left: 26px;
  bottom: 104px;
}

.art-card-three {
  right: 42px;
  bottom: 26px;
}

.status-bar,
.controls,
.message-card,
.info-card {
  background: var(--surface);
  border-radius: 24px;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  margin-bottom: 16px;
}

.status-label {
  margin-bottom: 8px;
}

.status-chip {
  align-self: start;
  background: linear-gradient(135deg, rgba(255, 94, 138, 0.12), rgba(255, 154, 61, 0.16));
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
}

.controls {
  padding: 10px;
  margin-bottom: 18px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill.active {
  background: linear-gradient(135deg, rgba(255, 94, 138, 0.92), rgba(255, 154, 61, 0.88));
  color: white;
  border-color: transparent;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
  gap: 18px;
}

.message-card,
.info-card {
  padding: 18px 20px;
}

.message-card {
  margin-bottom: 18px;
  color: var(--muted);
}

.main-column,
.side-column {
  min-width: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.spot-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--surface-strong);
  border-radius: 22px;
}

.spot-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.spot-name {
  font-size: 1.28rem;
  line-height: 1.06;
}

.spot-meta,
.spot-notes,
.plain-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.plain-list {
  padding-left: 18px;
}

.spot-actions {
  margin-top: auto;
}

.spot-link {
  display: inline-flex;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 212, 95, 0.54), rgba(60, 201, 167, 0.34));
  border-radius: 999px;
  padding: 10px 14px;
}

.save-button.is-saved {
  background: linear-gradient(135deg, rgba(255, 94, 138, 0.9), rgba(255, 154, 61, 0.8));
  color: white;
  border-color: transparent;
}

.empty-state {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px dashed rgba(67, 42, 116, 0.18);
  color: var(--muted);
}

.event-links .spot-card {
  background:
    linear-gradient(135deg, rgba(255, 212, 95, 0.26), rgba(255, 255, 255, 0.94));
}

@media (max-width: 980px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 16px;
  }

  .hero-copy,
  .hero-art,
  .status-bar,
  .controls,
  .message-card,
  .info-card,
  .spot-card {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .status-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .art-card {
    width: min(220px, 72%);
  }
}
