:root {
  color-scheme: dark;
  --bg: #08060d;
  --panel: rgba(18, 18, 30, .82);
  --panel-strong: rgba(25, 24, 39, .94);
  --text: #fff8ff;
  --muted: #b8aec5;
  --pink: #ff2c8d;
  --cyan: #18e7ff;
  --lime: #c9ff46;
  --amber: #ffbe3d;
  --line: rgba(255, 255, 255, .13);
  --shadow: 0 22px 80px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 44, 141, .34), transparent 24rem),
    radial-gradient(circle at 80% 2%, rgba(24, 231, 255, .24), transparent 21rem),
    linear-gradient(135deg, #08060d 0%, #101017 42%, #08060d 100%);
  color: var(--text);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(22px);
  opacity: .28;
  z-index: -1;
}

.ambient-one {
  width: 26rem;
  height: 26rem;
  right: -8rem;
  top: 12rem;
  background: conic-gradient(from 120deg, var(--pink), transparent, var(--cyan), var(--lime), transparent);
  border-radius: 50%;
}

.ambient-two {
  width: 22rem;
  height: 22rem;
  left: -7rem;
  bottom: 12rem;
  background: conic-gradient(from 20deg, var(--amber), transparent, var(--pink), transparent);
  border-radius: 50%;
}

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), #6e35ff 55%, var(--cyan));
  color: white;
  font-weight: 900;
  box-shadow: 0 0 38px rgba(255, 44, 141, .36);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 6px;
}

nav a,
.ghost,
.primary,
.link-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 15px;
  text-decoration: none;
}

nav a,
.ghost,
.link-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: .89;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 0;
}

.lead {
  max-width: 680px;
  color: #ded6e8;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary {
  border: 0;
  background: linear-gradient(135deg, var(--pink), #8f44ff 52%, var(--cyan));
  color: white;
  font-weight: 850;
  box-shadow: 0 18px 60px rgba(255, 44, 141, .25);
}

.ghost,
.link-button {
  cursor: pointer;
}

.pulse-board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: var(--shadow);
  padding: 22px;
}

.pulse-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 0 92%, rgba(24, 231, 255, .2) 92% 100%);
  background-size: 100% 14px;
  opacity: .28;
}

.pulse-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pulse-row span {
  color: var(--muted);
}

.pulse-row strong {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(24, 231, 255, .5);
}

.signal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 9px;
  height: 170px;
  margin-top: 28px;
}

.signal span {
  min-height: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--lime), var(--cyan), var(--pink));
  box-shadow: 0 0 28px rgba(24, 231, 255, .25);
  animation: beat 1.45s infinite ease-in-out;
}

.signal span:nth-child(2) { height: 72%; animation-delay: .12s; }
.signal span:nth-child(3) { height: 96%; animation-delay: .24s; }
.signal span:nth-child(4) { height: 58%; animation-delay: .08s; }
.signal span:nth-child(5) { height: 82%; animation-delay: .18s; }

@keyframes beat {
  0%, 100% { transform: scaleY(.62); opacity: .7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.toolbar,
.status-strip,
.places,
.sources {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.toolbar {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 760;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  outline: none;
  padding: 0 12px;
  line-height: 46px;
  appearance: none;
  -webkit-appearance: none;
}

input[type="search"] {
  -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.toolbar label {
  min-width: 0;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(24, 231, 255, .13);
}

.status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 16px;
}

.status-strip strong,
.status-strip span {
  display: block;
}

.status-strip span {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 2px;
}

.link-button {
  min-width: max-content;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 0 58px;
}

.event-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)),
    var(--panel-strong);
  padding: 18px;
  box-shadow: var(--shadow);
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--lime), var(--cyan));
}

.event-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.date-badge {
  display: grid;
  width: 72px;
  min-width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #16111c;
  font-weight: 900;
}

.date-badge span {
  display: block;
  color: #ff2c8d;
  font-size: .75rem;
  text-transform: uppercase;
}

.date-badge strong {
  font-size: 2rem;
  line-height: .9;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.tag {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, .06);
  color: #e9e2f0;
  font-size: .78rem;
}

.event-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.event-meta {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--muted);
}

.event-description {
  color: #ddd4e6;
  line-height: 1.5;
}

.event-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 12px;
  color: var(--lime);
  font-weight: 800;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  padding: 26px;
  margin: 18px 0 58px;
}

.seo-events {
  margin-top: 34px;
  padding: 46px 0 14px;
}

.seo-events h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.seo-event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-event-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  padding: 18px;
}

.seo-event-list h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.seo-event-list p {
  color: #ddd4e6;
  line-height: 1.55;
  margin: 0 0 10px;
}

.seo-event-list a {
  color: var(--lime);
  font-weight: 800;
}

.places,
.sources {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
  padding: 24px;
}

.place-cloud,
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.place-intro {
  color: #ddd4e6;
  line-height: 1.6;
  margin: 18px 0 0;
}

.place-cloud button,
.source-list a {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  padding: 0 12px;
  text-decoration: none;
}

.place-cloud button {
  cursor: pointer;
}

.sources p {
  color: var(--muted);
  line-height: 1.55;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 42px;
  color: var(--muted);
}

footer a {
  color: var(--cyan);
}

.legal-page {
  max-width: 920px;
  padding: 70px 0 48px;
}

.legal-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 28px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 22px;
}

.legal-card h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.legal-card p {
  color: #ddd4e6;
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-card a {
  color: var(--lime);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.field-row {
  display: grid;
  gap: 8px;
}

.field-row label {
  color: var(--text);
  font-size: .88rem;
  font-weight: 800;
}

.field-row input,
.field-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
}

.field-row textarea {
  min-height: 150px;
  resize: vertical;
}

.field-row input:focus,
.field-row textarea:focus {
  border-color: rgba(24, 231, 255, .76);
  box-shadow: 0 0 0 3px rgba(24, 231, 255, .13);
}

.trap {
  position: absolute;
  left: -9999px;
}

.form-note {
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.45;
}

.form-note span {
  display: block;
}

.form-note.success {
  border: 1px solid rgba(201, 255, 70, .42);
  background: rgba(201, 255, 70, .12);
  color: #efffbd;
}

.form-note.error {
  border: 1px solid rgba(255, 44, 141, .5);
  background: rgba(255, 44, 141, .13);
  color: #ffd5e8;
}

.form-privacy {
  font-size: .92rem;
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .toolbar,
  .places,
  .sources {
    grid-template-columns: 1fr;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .seo-event-list {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
