:root {
  --bg: #07050d;
  --panel: #13101d;
  --line: #332943;
  --line2: #4c3e68;
  --text: #f8f7ff;
  --muted: #b8aed0;
  --cyan: #80ffe8;
  --green: #73ff9d;
  --purple: #c7a8ff;
  --yellow: #fff27a;
  --shadow: 0 20px 80px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(128,255,232,.10), transparent 30%),
    radial-gradient(circle at 10% 0%, rgba(199,168,255,.10), transparent 34%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
.container { width: min(1120px, calc(100% - 42px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,5,13,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  color: var(--green);
}
.brand::before {
  content: "$";
  color: var(--purple);
  font-weight: 900;
  font-size: 22px;
}
.logo-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line2);
  box-shadow: 0 0 0 3px rgba(128,255,232,.05);
}
.navlinks { display: flex; gap: 10px; align-items: center; }
.navlinks a {
  padding: 11px 14px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.navlinks a:hover, .navlinks a.active {
  color: var(--text);
  border-color: var(--line2);
  background: rgba(199,168,255,.08);
}
.hero { padding: 100px 0 52px; }
h1 {
  font-size: clamp(64px, 12vw, 128px);
  line-height: .88;
  letter-spacing: -.08em;
  margin: 0 0 22px;
  text-shadow: 3px 3px 0 rgba(255,255,255,.10);
}
.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.team-card {
  width: min(390px, 100%);
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--line2);
  background: rgba(19,16,29,.72);
}
.team-card strong { display: block; color: var(--green); font-size: 34px; }
.team-card span { color: var(--muted); }
.section { padding: 48px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  margin: 0;
  letter-spacing: -.06em;
}
.kicker { color: var(--cyan); font-weight: 900; margin-bottom: 12px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 18px;
}
.card {
  min-height: 230px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,16,29,.96), rgba(12,10,18,.96));
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card:hover { border-color: var(--cyan); transform: translateY(-3px); transition: .16s ease; }
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 90% 0%, rgba(128,255,232,.13), transparent 35%);
  pointer-events: none;
}
.card-top, .tags, .card h3, .card-action { position: relative; z-index: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.event-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  background: rgba(199,168,255,.07);
  font-size: 30px;
}
.year-pill {
  color: var(--yellow);
  padding: 6px 9px;
  border: 1px solid var(--line2);
}
.card h3 {
  font-size: 24px;
  letter-spacing: -.035em;
  margin: 24px 0 16px;
}
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  color: var(--cyan);
  border: 1px solid var(--line2);
  background: rgba(128,255,232,.04);
  padding: 6px 9px;
  font-size: 12px;
}
.card-action {
  display: inline-block;
  margin-top: 24px;
  color: var(--cyan);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.panel {
  border: 1px solid var(--line);
  background: rgba(19,16,29,.86);
  box-shadow: var(--shadow);
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table th {
  background: rgba(199,168,255,.07);
  color: var(--text);
  font-size: 13px;
}
.table td { color: #d8d2e8; }
.table td:first-child {
  color: var(--yellow);
  font-weight: 900;
}
.writeup-body { max-width: 880px; }
.writeup-body h1 { font-size: clamp(46px, 7vw, 82px); }
.writeup-body h2 { color: var(--cyan); margin-top: 36px; }
.writeup-body p, .writeup-body li { color: #dfd9ef; line-height: 1.8; }
pre {
  color: var(--green);
  background: #050408;
  border: 1px solid var(--line2);
  padding: 18px;
  overflow-x: auto;
}
.btn {
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--line2);
  background: rgba(128,255,232,.06);
  color: var(--cyan);
  padding: 12px 14px;
  font-weight: 900;
}
.notice {
  border: 1px solid rgba(255,242,122,.45);
  background: rgba(255,242,122,.08);
  color: #fff0a5;
  padding: 16px;
  margin-bottom: 18px;
}
textarea {
  width: 100%;
  min-height: 460px;
  resize: vertical;
  background: #090711;
  color: var(--text);
  border: 1px solid var(--line2);
  padding: 12px;
  font-family: inherit;
}
.form-grid { display: grid; gap: 12px; padding: 22px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 28px 0 46px;
  margin-top: 50px;
}
@media (max-width: 760px) {
  .nav { height: auto; padding: 15px 0; flex-direction: column; align-items: flex-start; }
  .navlinks { flex-wrap: wrap; }
  .section-head { flex-direction: column; align-items: flex-start; }
}