*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0c0b09; --bg2: #141310; --bg3: #1c1a16; --bg4: #242018;
  --border: #2a2720; --border2: #3a3630;
  --text: #f0ebe0; --muted: #7a7260; --muted2: #9a9280;
  --gold: #c9a84c; --gold2: #e8c96a; --gold3: #f5e0a0;
  --green: #4a9c6a; --red: #c0504a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
  --r: 10px; --rl: 14px;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }

/* NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(12,11,9,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--gold2); cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--muted); font-size: 14px; cursor: pointer; transition: color 0.15s; background: none; border: none; font-family: var(--sans); padding: 0; }
.nav-link:hover { color: var(--text); }
.nav-cta { background: var(--gold); color: var(--bg); padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; font-family: var(--sans); transition: background 0.15s; }
.nav-cta:hover { background: var(--gold2); }

/* MAIN */
#app { padding-top: 56px; min-height: 100vh; }

/* SHARED */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-sm { max-width: 640px; margin: 0 auto; padding: 0 1.25rem; }
.sec { padding: 72px 0; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.75rem; }
.sec-title { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 0.75rem; }
.sec-sub { color: var(--muted2); font-size: 16px; font-weight: 300; max-width: 460px; line-height: 1.7; }
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-size: 15px; font-weight: 500; font-family: var(--sans); cursor: pointer; transition: all 0.15s; border: none; text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold2); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.btn-full { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.flabel { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-bottom: 5px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono); }
input[type=text], input[type=date], input[type=email], textarea, select {
  width: 100%; padding: 10px 13px; background: var(--bg3);
  border: 1px solid var(--border2); border-radius: 8px;
  color: var(--text); font-size: 15px; font-family: var(--sans);
  transition: border-color 0.15s; -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; }
.frow { margin-bottom: 1.25rem; }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.divider { height: 1px; background: var(--border); margin: 1.75rem 0; }
.err { color: var(--red); font-size: 13px; margin-top: 6px; display: none; }
.note { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.badge { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 4px; }
.badge-green { background: rgba(74,156,106,0.15); color: var(--green); }
.badge-gold { background: rgba(201,168,76,0.12); color: var(--gold2); }
.badge-muted { background: var(--bg3); color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity 0.25s; pointer-events: none; z-index: 999; white-space: nowrap; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; }

/* HOME */
.hero {
  min-height: calc(100vh - 56px); display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 3rem 1.25rem 4rem; position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 75%);
  opacity: 0.45;
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 40% at 50% 45%, rgba(201,168,76,0.09) 0%, transparent 65%); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 6rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.25rem; position: relative; animation: fadeUp 0.7s 0.1s ease both; }
.hero h1 em { font-style: italic; color: var(--gold2); }
.hero .eyebrow { position: relative; animation: fadeUp 0.7s ease both; }
.hero-sub { font-size: clamp(15px, 2.5vw, 18px); color: var(--muted2); font-weight: 300; max-width: 460px; margin-bottom: 2rem; line-height: 1.75; position: relative; animation: fadeUp 0.7s 0.2s ease both; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; animation: fadeUp 0.7s 0.3s ease both; }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stat { padding: 1.5rem 0.75rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--gold2); line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); margin-top: 2.5rem; }
.how-card { background: var(--bg2); padding: 2rem 1.5rem; }
.how-num { font-family: var(--serif); font-size: 2.5rem; font-weight: 900; color: var(--border2); line-height: 1; margin-bottom: 0.75rem; }
.how-title { font-size: 15px; font-weight: 500; margin-bottom: 0.5rem; }
.how-desc { font-size: 13px; color: var(--muted2); line-height: 1.7; }
.for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.for-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.75rem; }
.for-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.for-title { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 0.5rem; }
.for-desc { font-size: 13px; color: var(--muted2); line-height: 1.7; margin-bottom: 1rem; }
.for-list { list-style: none; }
.for-list li { font-size: 13px; color: var(--muted2); padding: 4px 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.for-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 7px; }
.pricing-bg { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); margin-top: 2.5rem; }
.price-card { background: var(--bg); padding: 1.75rem 1.5rem; position: relative; }
.price-card.featured { background: var(--bg3); }
.price-best { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--bg); font-size: 10px; font-weight: 500; font-family: var(--mono); padding: 2px 12px; border-radius: 0 0 6px 6px; letter-spacing: 0.1em; }
.price-name { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.price-amt { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; margin-top: 2px; }
.price-features { list-style: none; margin-bottom: 1.5rem; }
.price-features li { font-size: 13px; color: var(--muted2); padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--gold); font-size: 11px; flex-shrink: 0; }
.cta-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 3.5rem 2rem; max-width: 580px; margin: 0 auto; text-align: center; }
.cta-box h2 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-style: italic; margin-bottom: 0.75rem; }
.cta-box p { color: var(--muted2); margin-bottom: 1.75rem; font-size: 15px; }
footer { border-top: 1px solid var(--border); padding: 1.5rem 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--gold); cursor: pointer; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-link { font-size: 13px; color: var(--muted); cursor: pointer; }
.footer-link:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ORGANIZER */
.org-header { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.org-header h1 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; margin-bottom: 0.25rem; }
.org-header p { color: var(--muted2); font-size: 14px; }
.div-section { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; margin-bottom: 10px; }
.div-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; cursor: pointer; background: var(--bg3); user-select: none; }
.div-head:hover { background: var(--bg4); }
.div-head-left { display: flex; align-items: center; gap: 10px; }
.div-head-name { font-size: 14px; font-weight: 500; }
.div-count { font-family: var(--mono); font-size: 11px; }
.div-arrow { font-size: 12px; color: var(--muted); transition: transform 0.2s; }
.div-arrow.open { transform: rotate(90deg); }
.div-body { padding: 12px 16px 14px; display: none; }
.div-body.open { display: block; }
.band-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.band-num { font-family: var(--mono); font-size: 11px; color: var(--muted); min-width: 18px; }
.band-row input { flex: 1; padding: 8px 12px; font-size: 14px; }
.rm-btn { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s; }
.rm-btn:hover { border-color: var(--red); color: var(--red); }
.add-btn { width: 100%; padding: 8px; border-radius: 7px; border: 1px dashed var(--border); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; font-family: var(--sans); margin-top: 4px; transition: all 0.15s; }
.add-btn:hover { border-color: var(--gold); color: var(--gold); }
.result-card { background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--rl); padding: 2rem; text-align: center; margin-top: 2rem; }
.result-card h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--gold2); margin-bottom: 0.5rem; }
.result-card p { color: var(--muted2); font-size: 14px; margin-bottom: 1.25rem; }
.url-box { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-family: var(--mono); font-size: 13px; color: var(--gold); word-break: break-all; margin-bottom: 1rem; cursor: pointer; text-align: left; }

/* EVENTS */
.events-header { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.event-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.25rem 1.5rem; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; transition: border-color 0.15s; }
.event-card:hover { border-color: var(--gold); }
.event-name { font-size: 16px; font-weight: 500; margin-bottom: 3px; }
.event-meta { font-size: 13px; color: var(--muted); }
.event-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.arrow { color: var(--muted); font-size: 16px; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted2); }
.empty-state h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.75rem; }
.empty-state p { font-size: 14px; margin-bottom: 1.5rem; }

/* VOTE PAGE */
.vote-header { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 14px 1.25rem; }
.vote-champ { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--gold2); }
.vote-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vote-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg2); border-bottom: 1px solid var(--border); }
.vote-tab { padding: 12px; text-align: center; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--muted); transition: all 0.15s; border: none; background: none; font-family: var(--sans); border-bottom: 2px solid transparent; }
.vote-tab.active { color: var(--gold2); border-bottom-color: var(--gold); }
.vote-body { padding: 1rem 1.25rem; max-width: 600px; margin: 0 auto; }
.div-tabs { display: flex; gap: 6px; margin-bottom: 1rem; flex-wrap: wrap; }
.div-pill { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border2); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; font-family: var(--sans); transition: all 0.15s; white-space: nowrap; }
.div-pill.active { background: var(--bg3); border-color: var(--gold); color: var(--gold2); font-weight: 500; }
.band-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rl); padding: 1rem 1.25rem; margin-bottom: 10px; cursor: pointer; transition: border-color 0.15s; }
.band-card:hover { border-color: var(--border2); }
.band-card.voted { border-color: var(--green); }
.band-card.expanded { border-color: var(--gold); }
.band-top { display: flex; align-items: center; justify-content: space-between; }
.band-name { font-size: 16px; font-weight: 500; }
.band-right { display: flex; align-items: center; gap: 8px; }
.band-voted { font-size: 11px; color: var(--green); font-weight: 500; }
.band-order { font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--bg3); padding: 2px 7px; border-radius: 4px; }
.vote-form { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.vote-form.open { display: block; }
.score-label { font-size: 11px; color: var(--muted); margin-bottom: 10px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.score-btn { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--border2); background: var(--bg3); color: var(--text); font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.1s; font-family: var(--sans); }
.score-btn:hover { border-color: var(--gold); color: var(--gold); }
.score-btn.sel { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.vote-form textarea { height: 70px; margin-bottom: 10px; font-size: 14px; }
.vote-submit { width: 100%; padding: 11px; border-radius: 8px; background: var(--gold); color: var(--bg); border: none; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--sans); transition: background 0.15s; }
.vote-submit:hover { background: var(--gold2); }
.vote-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.closed-msg { font-size: 13px; color: var(--muted); text-align: center; padding: 10px; }

/* RESULTS */
.res-div { margin-bottom: 1.5rem; }
.res-div-title { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--gold2); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.res-winner { background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 60%); border: 1px solid rgba(201,168,76,0.25); border-radius: var(--rl); padding: 1.25rem; margin-bottom: 8px; }
.res-winner-label { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 6px; }
.res-winner-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--gold2); }
.res-winner-score { font-size: 13px; color: var(--muted); margin-top: 2px; }
.res-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.res-item:last-child { border-bottom: none; }
.res-rank { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; min-width: 32px; text-align: center; }
.rank-1 { color: #FFD700; } .rank-2 { color: #C0C0C0; } .rank-3 { color: #CD7F32; } .rank-other { color: var(--muted); font-size: 1rem; }
.res-info { flex: 1; min-width: 0; }
.res-name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-votes { font-size: 12px; color: var(--muted); margin-top: 2px; }
.res-bar-wrap { height: 3px; background: var(--border); border-radius: 2px; margin-top: 5px; }
.res-bar { height: 3px; background: var(--gold); border-radius: 2px; transition: width 0.8s ease; }
.res-score { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--gold2); min-width: 42px; text-align: right; }
.no-votes { text-align: center; padding: 2rem; color: var(--muted); font-size: 14px; }
.lang-row { display: flex; gap: 6px; margin-bottom: 1rem; }
.lang-btn { padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border2); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; font-family: var(--sans); transition: all 0.15s; }
.lang-btn.active { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 500; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* MOBILE */
@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
  .for-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .fgrid2 { grid-template-columns: 1fr; }
  .nav-links .nav-link:not(.nav-cta) { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .score-grid { grid-template-columns: repeat(5, 1fr); }
  .event-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .event-right { width: 100%; justify-content: space-between; }
  footer { flex-direction: column; gap: 0.75rem; }
}

/* DASHBOARD */
.dash-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
