:root {
  --bg: #0e0e10;
  --bg-2: #18181b;
  --bg-3: #1f1f23;
  --purple: #9146FF;
  --purple-2: #bf94ff;
  --text: #efeff1;
  --muted: #adadb8;
  --green: #00f593;
  --gold: #ffb31a;
  --red: #eb0400;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
button, input { font-family: inherit; }
a { color: var(--purple-2); }
header.hero {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(180deg, #0e0e10cc 0%, #0e0e10f0 100%),
    linear-gradient(120deg, #9146ff55, transparent 50%),
    url("/photos/hero-living.jpg") center/cover no-repeat;
  padding: 28px 40px 48px;
  overflow: hidden;
}
header.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 80px;
  background: linear-gradient(transparent, var(--bg));
}
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; position: relative; z-index: 2; }
.live {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 12px;
  letter-spacing: .08em; padding: 4px 8px; border-radius: 4px;
}
.live i { width: 7px; height: 7px; background: #fff; border-radius: 50%; display: inline-block; }
.brand { font-family: Rajdhani, Inter, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.auth { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.auth .who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.auth img { width: 28px; height: 28px; border-radius: 50%; }
.hero-copy { max-width: 740px; position: relative; z-index: 1; }
.hero-copy h1 {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95; font-weight: 700;
  text-shadow: 0 0 24px #9146ff88;
}
.hero-copy h1 span { color: var(--purple-2); }
.host { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.host b { color: var(--text); }
.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 4px; color: #0e0e10;
}
.badge.mod { background: #00ad03; }
.badge.sub { background: var(--purple); color: #fff; }
.badge.vip { background: #e8b923; }
.meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #18181be6; border: 1px solid #9146ff55;
  box-shadow: 0 0 16px #9146ff22;
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
}
.chip b { color: var(--purple-2); font-weight: 600; }
.includes { margin-top: 18px; color: var(--text); font-size: 14px; max-width: 640px; line-height: 1.5; }
.banner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
  background: #18181b;
  border: 1px solid #9146ff66;
  color: var(--purple-2);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.banner.err { border-color: #eb040066; color: #ff8a88; }
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  position: relative; z-index: 1;
}
h2.sec {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 28px; letter-spacing: .06em; margin: 8px 0 6px;
}
.unit { margin-bottom: 28px; }
.unit p.sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card {
  background: var(--bg-2);
  border: 1px solid #2a2a30;
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card .photo { height: 132px; background: #000 center/cover no-repeat; position: relative; }
.card .photo .state {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
}
.state.open { background: #00f593; color: #0e0e10; }
.state.wait { background: var(--purple); color: #fff; box-shadow: 0 0 12px #9146ffaa; }
.state.approved { background: var(--gold); color: #0e0e10; }
.state.taken { background: #3a3a40; color: #efeff1; }
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 17px; font-weight: 700; }
.card .desc { color: var(--muted); font-size: 13px; line-height: 1.4; }
.price { font-weight: 800; color: var(--purple-2); font-size: 18px; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.btn {
  margin-top: auto; align-self: flex-start;
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13px;
  padding: 9px 14px; border-radius: 6px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn.waitlist { background: var(--purple); color: #fff; box-shadow: 0 0 16px #9146ff88; }
.btn.paypal { background: #ffc439; color: #111; font-weight: 800; }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid #3a3a40; }
.btn.danger { background: transparent; color: #ff8a88; border: 1px solid #5a2a2a; }
.btn:disabled { opacity: .55; cursor: default; }
.taken-note { font-size: 12px; color: var(--muted); }
.side {
  background: var(--bg-3);
  border: 1px solid #2a2a30;
  border-radius: 12px;
  padding: 16px;
  position: sticky; top: 16px;
}
.admin {
  background: var(--bg-3);
  border: 1px solid #9146ff66;
  box-shadow: 0 0 32px #9146ff22;
  border-radius: 12px;
  padding: 16px;
  position: sticky; top: 16px;
}
.admin h3, .side h3 {
  font-family: Rajdhani, Inter, sans-serif;
  letter-spacing: .08em; font-size: 16px;
  color: var(--purple-2); margin-bottom: 4px;
}
.admin .hint, .side .hint { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.45; }
.req { background: #0e0e10; border: 1px solid #2a2a30; border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.req .who { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.req .who img { width: 20px; height: 20px; border-radius: 50%; }
.req .for { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.req .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.approve { background: var(--green); color: #0e0e10; border: 0; font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 4px; cursor: pointer; }
.side a.airbnb { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 13px; }
footer { text-align: center; color: #5c5c66; font-size: 12px; padding: 24px; }
.modal {
  position: fixed; inset: 0; background: #0e0e10cc; z-index: 20;
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--bg-2); border: 1px solid #9146ff66; border-radius: 12px;
  padding: 22px; width: min(440px, 100%); box-shadow: 0 0 40px #9146ff33;
}
.modal-card h3 { font-family: Rajdhani, Inter, sans-serif; font-size: 24px; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; line-height: 1.45; }
.modal-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.picks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pick { font-weight: 500; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.roommate-wrap input {
  width: 100%; margin-top: 6px; background: #0e0e10; border: 1px solid #3a3a40;
  color: var(--text); padding: 8px 10px; border-radius: 6px;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
#paypalSlot { margin-top: 8px; min-height: 0; }
@media (max-width: 840px) {
  .page { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .grid { grid-template-columns: 1fr; }
  header.hero { padding: 22px 18px 36px; min-height: 0; }
  .topbar { margin-bottom: 28px; flex-wrap: wrap; }
  .auth { margin-left: 0; width: 100%; }
  .admin, .side { position: static; }
  .banner { width: calc(100% - 28px); }
}
