*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #3d0f2b;
  font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif;
  color: #fff;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 72px;
}

/* Nav */
.nav {
  width: 100%;
  height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #3d0f2beb;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-right { display: flex; align-items: center; }

.brand-logo { display: flex; align-items: center; gap: 8px; }
.brand-logo-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(255, 92, 158, 0.45));
  flex-shrink: 0;
}
.brand-logo-text {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand-logo-highlight {
  background: linear-gradient(90deg, #ff5c9e, #d6409f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 1px;
}

.language-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #ffffff12;
  color: #ffffffd9;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  outline: none;
  white-space: nowrap;
  font-family: inherit;
}
.language-selector-btn:hover {
  background: #ffffff21;
  border-color: #ffffff47;
}
.lang-icon { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.9; }
.lang-text { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.lang-chevron {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.18s;
}
.lang-chevron.open { transform: rotate(180deg); }

.language-selector-wrapper {
  position: relative;
  display: inline-block;
}
.language-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1a0812;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  z-index: 4000;
  min-width: 200px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.language-dropdown[hidden] {
  display: none;
}
.language-option {
  padding: 11px 14px;
  color: #ffffffd9;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.language-option:last-child { border-bottom: none; }
.language-option:hover {
  background: rgba(255, 92, 158, 0.12);
  color: #fff;
}
.language-option.selected {
  background: rgba(255, 92, 158, 0.22);
  color: #ff8ec4;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: 62vh;
  min-height: 380px;
  max-height: 560px;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #3d0f2b 0%,
    rgba(61, 15, 43, 0.75) 28%,
    rgba(61, 15, 43, 0.15) 62%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 28px;
  text-align: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff3b3b1f;
  border: 1px solid rgba(255, 59, 59, 0.4);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #ff3b3b;
  margin-bottom: 12px;
  animation: badge-glow 2s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 8px #ff3b3b33; }
  50% { box-shadow: 0 0 18px #ff3b3b80; }
}
.live-dot-wrap { position: relative; width: 10px; height: 10px; }
.live-dot {
  position: absolute;
  inset: 1px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: dot-pulse 1.2s infinite;
}
.live-dot-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid #ff3b3b;
  border-radius: 50%;
  animation: ring-expand 1.8s ease-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
@keyframes ring-expand {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.live-label-text {
  font-weight: 800;
  letter-spacing: 1px;
  animation: text-flicker 3s ease-in-out infinite;
}
@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.live-count { color: #ffffffa6; font-weight: 400; }

.hero-title {
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}
.highlight {
  background: linear-gradient(90deg, #ff5c9e, #d6409f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 13px;
  color: #ffffffa6;
  margin: 0 0 16px;
  line-height: 1.5;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: linear-gradient(135deg, #ff5c9e, #d6409f);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.2px;
}
.cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.cta-btn:active { transform: scale(0.97); }

/* Streamers */
.streamers-section {
  padding: 20px 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 4px;
  color: #fff;
}
.streamers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.streamer-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: card-fadein 0.5s ease both;
  -webkit-tap-highlight-color: transparent;
}
.streamer-card:nth-child(1) { animation-delay: 0.02s; }
.streamer-card:nth-child(2) { animation-delay: 0.06s; }
.streamer-card:nth-child(3) { animation-delay: 0.1s; }
.streamer-card:nth-child(4) { animation-delay: 0.14s; }
.streamer-card:nth-child(5) { animation-delay: 0.18s; }
.streamer-card:nth-child(6) { animation-delay: 0.22s; }
.streamer-card:nth-child(7) { animation-delay: 0.26s; }
.streamer-card:nth-child(8) { animation-delay: 0.3s; }
.streamer-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px #00000080;
}
@keyframes card-fadein {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.streamer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.streamer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.live-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ff3b3b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px #ff3b3b99;
  animation: live-tag-glow 2s ease-in-out infinite;
}
@keyframes live-tag-glow {
  0%, 100% { box-shadow: 0 0 8px #ff3b3b80; }
  50% { box-shadow: 0 0 18px #ff3b3be6, 0 0 6px #ff3b3b99; }
}
.live-tag-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: dot-pulse 1.2s infinite;
}
.viewer-count {
  align-self: flex-end;
  font-size: 12px;
  color: #ffffffd9;
  font-weight: 500;
}

/* Features */
.features-section {
  padding: 32px 16px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.features-grid { display: flex; gap: 10px; }
.feature-card {
  flex: 1;
  background: #5c1a41;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.feature-icon { font-size: 26px; }
.feature-label { font-size: 13px; font-weight: 600; color: #fff; }

/* Final CTA */
.final-cta {
  padding: 40px 16px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.final-cta-card {
  background: linear-gradient(135deg, #5c1a41, #3d0f2b);
  border: 1px solid rgba(255, 92, 158, 0.2);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
}
.final-cta-title {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  margin: 0 0 10px;
}
.final-cta-sub {
  font-size: 14px;
  color: #ffffffa6;
  margin: 0 0 24px;
  line-height: 1.5;
}

.page-footer {
  padding: 16px 20px;
  text-align: center;
  font-size: 11px;
  color: #ffffff40;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Sticky bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #4a1435;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  z-index: 200;
}
.sticky-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-left { display: flex; align-items: center; gap: 8px; }
.sticky-dot {
  width: 8px;
  height: 8px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.sticky-text {
  font-size: 13px;
  color: #ffffffa6;
  font-weight: 500;
}
.sticky-btn {
  height: 36px;
  padding: 0 20px;
  background: linear-gradient(135deg, #ff5c9e, #d6409f);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}
.sticky-btn:hover { opacity: 0.88; }

@media (min-width: 780px) {
  .streamers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .hero { max-height: 640px; }
  .sticky-bar-inner,
  .features-section { max-width: 900px; }
  .features-grid {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Age verification gate */
.sv-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sv-gate.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sv-gate-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.45);
  transform: scale(1.04);
}
.sv-gate-scrim {
  position: absolute;
  inset: 0;
  background: rgba(61, 15, 43, 0.55);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.sv-box {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: linear-gradient(160deg, #4a1435, #3d0f2b);
  border: 1px solid rgba(255, 92, 158, 0.2);
  border-radius: 20px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 60px #0009, 0 0 40px #ff5c9e14;
}
.sv-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sv-logo .brand-logo-icon { width: 28px; height: 28px; }
.sv-logo .brand-logo-text { font-size: 16px; }
.sv-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin: 0;
  text-align: center;
}
.sv-desc {
  font-size: 12px;
  color: #ffffff8c;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.sv-instruction {
  font-size: 13px;
  font-weight: 600;
  color: #fffc;
  margin-top: 8px;
}
.sv-track {
  position: relative;
  width: 100%;
  height: 44px;
  background: #ffffff0f;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  margin-top: 2px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
}
.sv-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: 26px;
  background: linear-gradient(90deg, #ff5c9e26, #d6409f33);
  transition: width 0.05s;
}
.sv-track-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff59;
  pointer-events: none;
  letter-spacing: 0.3px;
  padding-left: 20px;
}
.sv-thumb {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5c9e, #d6409f);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  transition: box-shadow 0.2s;
  box-shadow: 0 4px 16px #ff5c9e66;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
  will-change: transform;
}
.sv-thumb.is-dragging {
  cursor: grabbing;
  box-shadow: 0 4px 24px #ff5c9e99;
  transform: translateX(var(--x, 0)) scale(1.05);
}
.sv-thumb:not(.is-dragging) {
  transform: translateX(var(--x, 0));
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.sv-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #c9a84c;
  margin-top: 8px;
}
.sv-note-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Success state */
.sv-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.sv-box.is-success .sv-verify { display: none; }
.sv-box.is-success .sv-success { display: flex; }
.sv-verify {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.sv-verified-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 20px #4ade8066;
  margin-top: 8px;
}
.sv-success-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}
.sv-success-desc {
  font-size: 12px;
  color: #ffffff8c;
  margin: 0;
  text-align: center;
}
.sv-countdown-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 8px 0;
}
.sv-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.sv-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}
.sv-ring-progress {
  fill: none;
  stroke: #ff5c9e;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 226.08;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.sv-countdown-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.sv-countdown-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff8c;
  margin: 0;
}

body.is-gated {
  overflow: hidden;
}
body.is-gated .page {
  visibility: hidden;
}

/* Fullscreen Safari embed */
.fullscreen-iframe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 10000;
  background: #000;
  display: none;
}
.fullscreen-iframe.is-active {
  display: block;
}

/* Matching overlay */
.match-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(61, 15, 43, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.match-overlay[hidden] {
  display: none;
}
.match-box {
  width: 100%;
  max-width: 300px;
  text-align: center;
  color: #fff;
}
.match-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 28px;
  margin-bottom: 20px;
}
.match-spinner span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5c9e, #d6409f);
  animation: match-bounce 1.2s ease-in-out infinite;
}
.match-spinner span:nth-child(2) { animation-delay: 0.15s; }
.match-spinner span:nth-child(3) { animation-delay: 0.3s; }
@keyframes match-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-10px); opacity: 1; }
}
.match-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.match-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffffd9;
}
.match-hint {
  margin: 0;
  font-size: 12px;
  color: #ff5c9e;
  font-weight: 600;
  animation: match-pulse 1.6s ease-in-out infinite;
}
@keyframes match-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* Browser unsupported alert */
.ba-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.ba-overlay[hidden] {
  display: none;
}
.ba-box {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.ba-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}
.ba-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ba-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.3px;
}
.ba-desc {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b6b7b;
}
.ba-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5c9e, #d6409f);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.ba-btn:hover { opacity: 0.92; }
.ba-btn:active { transform: scale(0.98); }
