* {
    box-sizing: border-box;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  padding: 24px 20px 160px;
  text-align: center;
}

* {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
}

.title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  padding: 0 8px;
}

video {
  width: min(760px, 90vw);
  max-width: 100%;
  max-height: 54vh;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
}

.bottom-actions {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 16px;
  pointer-events: auto;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: inherit;
}

.pill-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

.pill-btn.accent {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

.pill-btn.accent:hover {
  background: rgba(255,255,255,0.18);
}

.pill-btn i { font-size: 0.92rem; }

.footer {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(980px, 94vw);
  text-align: center;
  font-size: clamp(0.56rem, 1.2vw, 0.72rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.42);
  padding: 0 8px;
  pointer-events: none;
  user-select: none;
}

.footer strong {
  font-weight: 500;
  color: rgba(255,255,255,0.58);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}

.modal-close:hover { color: #fff; }
.modal h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.modal p.modal-sub {
  margin: 0 0 22px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.input-row {
  display: flex;
  gap: 8px;
}

.modal input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.modal input[type="email"]:focus {
  border-color: rgba(255,255,255,0.35);
}

.modal input[type="email"]::placeholder {
  color: rgba(255,255,255,0.3);
}

.modal .submit-btn {
  padding: 11px 18px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, color 0.2s;
  white-space: nowrap;
}

.modal .submit-btn:hover { background: #e8e8e8; }
.modal .submit-btn:disabled { opacity: 0.5; cursor: default; }
.modal .submit-btn.success-text {
  color: #4ade80;
}

.modal-feedback {
  margin-top: 12px;
  font-size: 0.82rem;
  min-height: 18px;
  color: rgba(255,255,255,0.6);
}

.modal-feedback.success { color: #4ade80; }
.modal-feedback.error { color: #f87171; }

@media (max-width: 640px) {
  .screen {
    gap: 12px;
    padding: 18px 14px 170px;
  }
  video {
    max-height: 44vh;
    border-radius: 14px;
  }
  .title {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
  }
  .bottom-actions {
    bottom: 96px;
    gap: 8px;
  }
  .pill-btn {
    font-size: 0.78rem;
    padding: 9px 14px;
  }
  .footer { bottom: 6px; width: 95vw; }
  .modal { padding: 28px 20px 22px; }
  .input-row { flex-direction: column; }
  .modal .submit-btn { width: 100%; }
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 16px;
}

.or-divider span {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.or-divider p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.oauth-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.oauth-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.oauth-btn.discord i {
  font-size: 1rem;
  color: #5865F2;
}

.oauth-btn.discord:hover {
  border-color: rgba(88,101,242,0.4);
  background: rgba(88,101,242,0.08);
}

.oauth-btn.google:hover {
  border-color: rgba(255,255,255,0.2);
}

@media (max-width: 640px) {
  .oauth-btn {
    font-size: 0.82rem;
    padding: 10px 14px;
  }
}

.signup-count {
  position: fixed;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  z-index: 101;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  pointer-events: none;
}

.signup-count strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.modal-subscriber-note {
  margin: -12px 0 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
}

body.page-peeks {
  overflow: auto;
  display: block;
  align-items: stretch;
  justify-content: flex-start;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 34%),
    #000;
  min-height: 100%;
  padding: 28px 0 40px;
}

body.page-peeks .footer {
  display: none;
}

.peeks-shell {
  width: min(1180px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.peeks-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 2px 6px;
}

.peeks-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.46);
}

.peeks-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.peeks-copy {
  margin: 12px 0 0;
  max-width: 60ch;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  font-size: 0.95rem;
}

.peeks-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.signup-count.compact {
  position: static;
  transform: none;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.peeks-grid {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.peeks-panel {
  background: rgba(17,17,17,0.86);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel-head h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.panel-head p {
  margin: 6px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.56);
}

.peeks-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
}

.peeks-form input,
.peeks-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 11px 13px;
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.peeks-form textarea {
  resize: vertical;
  min-height: 108px;
}

.peeks-form input:focus,
.peeks-form textarea:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.peeks-board {
  min-height: 520px;
}

.peeks-empty {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

.peeks-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.peek-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
}

.peek-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.peek-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.peek-copy-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.peek-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.peek-card-head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.peek-card-head p {
  margin: 0;
}

.peek-card p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  font-size: 0.9rem;
}

.peek-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
}

.peek-remove {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  cursor: pointer;
}

.peek-remove:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

@media (max-width: 900px) {
  .peeks-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .peeks-actions {
    align-items: flex-start;
  }

  .peeks-grid {
    grid-template-columns: 1fr;
  }

  .peeks-board {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .signup-count {
    bottom: 44px;
    font-size: 0.7rem;
  }

  .signup-count.compact {
    width: 100%;
    text-align: center;
  }

  .peeks-panel {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .pill-btn {
    width: 100%;
  }
}


.peeks-carousel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.peek-stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 16px;
}

.peek-slide-shell {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
}

.peek-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.35s ease;
  will-change: transform;
  touch-action: pan-y;
}

.peek-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  min-height: 520px;
  padding: 6px 0;
}

.peek-slide.active {
  /* state hook */
}

.pill-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #000;
  color: #3700ff;
  font-size: 0.68rem;
  font-weight: 600;
}

.peek-slide .peek-image-wrap {
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.peek-slide .peek-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.peek-slide .peek-copy-wrap {
  width: min(100%, 760px);
  padding: 0;
  gap: 12px;
}

.peek-slide .peek-copy-wrap h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.peek-slide .peek-copy-wrap p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.peek-nav {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.peek-nav:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.peek-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.peek-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

.peek-counter-sep {
  color: rgba(255,255,255,0.35);
}

.peek-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.peek-dot {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.peek-dot:hover {
  background: rgba(255,255,255,0.48);
  transform: scale(1.05);
}

.peek-dot.active {
  width: 28px;
  background: #fff;
}

.peek-hint {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.peek-date{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:10px;
    font-size:.85rem;
    color:rgba(255,255,255,.45);
}

@media (max-width: 900px) {
  .peek-stage {
    grid-template-columns: 1fr;
  }

  .peek-nav {
    width: 100%;
  }

  .peek-nav-left {
    order: 2;
  }

  .peek-slide-shell {
    order: 1;
    min-height: auto;
  }

  .peek-nav-right {
    order: 3;
  }

  .peek-slide {
    min-height: auto;
  }

  .peek-slide .peek-image-wrap {
    border-radius: 20px;
  }
}
@media (max-width: 640px) {
  .peek-slide .peek-copy-wrap h2 {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .peek-slide .peek-copy-wrap p {
    font-size: 0.95rem;
  }

  .peek-footer {
    gap: 10px;
  }

  .peek-hint {
    font-size: 0.78rem;
  }

  .peek-dot {
    width: 8px;
    height: 8px;
  }

  .peek-dot.active {
    width: 24px;
  }
}
