:root {
  --bg: #07070c;
  --bg2: #0e0e16;
  --card: #12121c;
  --line: #1e1e2e;
  --text: #e8e8f0;
  --muted: #7a7a94;
  --accent: #6c5ce7;
  --accent2: #00d2ff;
  --ok: #2ed573;
  --warn: #ffa502;
  --danger: #ff4757;
  --radius: 14px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100%;
  line-height: 1.5;
}
a { color: var(--accent2); text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 0 18px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,7,12,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 12px;
}
.brand {
  font-weight: 800; letter-spacing: 2px; font-size: 1.15rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #8b7cf7);
  color: #fff; transition: opacity .15s, transform .15s;
}
.btn:hover { opacity: .92; transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--text);
}
.btn-cyan { background: linear-gradient(135deg, #00b4d8, var(--accent2)); color: #041018; }
.btn-danger { background: linear-gradient(135deg, #c0392b, var(--danger)); }
.btn-sm { padding: 6px 12px; font-size: .8rem; }

/* hero */
.hero {
  padding: 64px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108,92,231,.25), transparent),
    var(--bg);
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* cards / grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #2a2a42; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card .meta { color: var(--muted); font-size: .85rem; }
.chip {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(108,92,231,.2); color: #b8aef7;
  margin-bottom: 8px;
}
.flyer {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 10px; margin-bottom: 12px; background: var(--bg2);
}

/* forms */
.form-group { margin-bottom: 14px; }
label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 5px; }
input, textarea, select {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg2); color: var(--text);
  font-size: 1rem; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }

/* sections */
section { padding: 36px 0; }
h2 { font-size: 1.35rem; margin-bottom: 16px; }
.muted { color: var(--muted); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px;
}
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.step .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; margin-bottom: 10px;
}

/* attendee / feed */
.feed { display: flex; flex-direction: column; gap: 12px; }
.comment, .media-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
}
.comment .who { font-size: .8rem; color: var(--accent2); margin-bottom: 4px; }
.media-item img, .media-item video {
  width: 100%; max-height: 360px; object-fit: contain;
  border-radius: 10px; background: #000; margin-top: 8px;
}
.anon-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.anon-pill {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; font-size: .85rem;
}
.react-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.react-btn {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 10px; cursor: pointer; color: var(--text);
  font-size: .85rem;
}
.react-btn.active { border-color: var(--accent); background: rgba(108,92,231,.2); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab {
  padding: 8px 14px; border-radius: 999px; background: var(--bg2);
  border: 1px solid var(--line); cursor: pointer; font-size: .85rem; color: var(--muted);
}
.tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.panel { display: none; }
.panel.active { display: block; }

.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin-bottom: 18px;
}
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; text-align: center;
}
.stat .n { font-size: 1.4rem; font-weight: 700; color: var(--accent2); }
.stat .l { font-size: .75rem; color: var(--muted); }

.banner {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 14px;
  background: rgba(0,210,255,.08); border: 1px solid rgba(0,210,255,.25);
  font-size: .9rem;
}
.banner.warn { background: rgba(255,165,2,.08); border-color: rgba(255,165,2,.3); }
.banner.err { background: rgba(255,71,87,.1); border-color: rgba(255,71,87,.3); }

footer {
  border-top: 1px solid var(--line); padding: 28px 0; text-align: center;
  color: var(--muted); font-size: .85rem; margin-top: 40px;
}
.hidden { display: none !important; }
.empty { color: var(--muted); text-align: center; padding: 32px 12px; }

/* copy box */
.copy-box {
  background: var(--bg2); border: 1px dashed var(--line);
  border-radius: 10px; padding: 12px; font-size: .85rem; word-break: break-all;
}
