/* projecttipi.com — TiPi ECO MEDIA HUB: electric purple + silver on black */
:root {
  --bg: #08040f;
  --panel: #140a26;
  --violet: #8b2ff5;
  --violet-lt: #a869ff;
  --pink: #8b2ff5; /* brand refresh: single-purple identity */
  --text: #f7f2ff;
  --muted: #a99cc4;
  --border: #3c2568;
  --wa: #25d366;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--pink); }

.brand {
  font-size: clamp(64px, 14vw, 130px);
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #d9d4e8 55%, #a89fc6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.brand.small { font-size: 34px; }
.hero-logo {
  width: clamp(110px, 18vw, 170px);
  filter: drop-shadow(0 0 22px #8b2ff588);
}
.hero-wordmark {
  width: clamp(220px, 40vw, 380px);
  margin-top: 14px;
  filter: drop-shadow(0 2px 14px #00000088);
}
.brand-sub {
  color: var(--violet-lt);
  font-weight: 800;
  letter-spacing: 6px;
  font-size: clamp(13px, 2.4vw, 19px);
  margin-top: 4px;
}
.strap {
  margin-top: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: clamp(13px, 2.2vw, 17px);
  color: var(--text);
}
.strap span { color: var(--violet-lt); }

.hero {
  position: relative;
  padding: 9vh 20px 7vh;
  text-align: center;
  overflow: hidden;
}
/* the moving-gradient backdrop, same trick as the kiosk */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(38% 45% at 22% 28%, #8b2ff555 0%, transparent 70%),
    radial-gradient(42% 48% at 78% 24%, #a869ff33 0%, transparent 70%),
    radial-gradient(45% 50% at 55% 80%, #5b1bd644 0%, transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.hero::after {
  background:
    radial-gradient(35% 42% at 70% 70%, #5b1bd655 0%, transparent 70%),
    radial-gradient(30% 40% at 25% 75%, #8b2ff52e 0%, transparent 70%);
  animation-duration: 34s;
  animation-direction: alternate-reverse;
}
@keyframes drift {
  from { transform: translate(-4%, -3%) scale(1); }
  to   { transform: translate(4%, 3%) scale(1.15); }
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.tagline { font-size: clamp(18px, 3vw, 24px); margin-top: 14px; color: var(--text); }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn.primary { background: linear-gradient(90deg, #6a1fd0, var(--violet-lt)); color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn.wa { background: var(--wa); color: #06210f; }

main { max-width: 1060px; margin: 0 auto; padding: 0 20px 60px; }
section { margin-top: 64px; }
h2 { font-size: clamp(26px, 4.5vw, 38px); margin-bottom: 18px; }
.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.card .emoji { font-size: 34px; }
.card h3 { margin: 8px 0 6px; }
.card p { color: var(--muted); font-size: 15px; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(26px, 4vw, 34px);
  background: linear-gradient(90deg, var(--violet-lt), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--muted); font-size: 14px; }

.events { list-style: none; padding: 0; margin-top: 18px; }
.events li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--panel);
  flex-wrap: wrap;
}
.events .date { font-weight: 800; color: var(--pink); white-space: nowrap; }
.events .loc { color: var(--muted); }
.events li.private { opacity: 0.75; }
.events li.private .date { color: var(--violet); }

form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin-top: 18px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
input, select, textarea {
  background: #12062a;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px;
  font-size: 16px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--violet); }

footer {
  border-top: 1px solid var(--border);
  margin-top: 70px;
  padding: 34px 20px 46px;
  text-align: center;
}

/* --- live page --- */
.live-wrap { max-width: 680px; margin: 0 auto; padding: 26px 18px 60px; }
.live-head { text-align: center; margin-bottom: 10px; }
.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-weight: 800;
}
.sched { list-style: none; padding: 0; }
.sched li { display: flex; gap: 12px; padding: 8px 4px; border-bottom: 1px dashed var(--border); }
.sched .t { font-weight: 800; color: var(--pink); min-width: 105px; }

.vote-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.vote-opt .num {
  background: #3ba7ff;
  color: #041f33;
  border-radius: 7px;
  padding: 1px 9px;
  font-weight: 900;
}
.vote-opt .bar-track {
  flex: 1;
  height: 9px;
  background: #ffffff14;
  border-radius: 6px;
  overflow: hidden;
}
.vote-opt .bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1c5e8f, #3ba7ff);
  transition: width 0.5s ease;
}
.vote-opt.mine { border-color: #3ba7ff; box-shadow: 0 0 0 1px #3ba7ff; }
.vote-opt.mine::after { content: "✓ your vote"; color: #9fd4ff; font-size: 12px; }

/* DJ battle hall of fame */
.champ { font-size: 1.1em; }
.champ b { color: var(--accent, #a869ff); }
