:root {
  --bg: #0B0F19;
  --rose: #F43F5E;
  --violet: #A78BFA;
  --slate: #1E293B;
  --muted: #94A3B8;
  --white: #fff;
  --footer: #475569;
  --timer-bg: #1E1B4B;
  --gold: #FBBF24;
  --header-h: 44px;
  --font: system-ui, -apple-system, "Segoe UI", "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body {
  padding-top: var(--header-h);
  padding-bottom: 108px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(244, 63, 94, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(167, 139, 250, 0.12), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 0 20px;
}

/* ——— Sticky header ——— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.brand-heart {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.9));
}

.online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #cbd5e1;
  white-space: nowrap;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: 8px;
}

.lang-btn {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lang-btn.active {
  color: var(--white);
  border-color: var(--rose);
  background: rgba(244, 63, 94, 0.25);
}

/* ——— Intro ——— */
/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 10px;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 70% at 85% 35%, rgba(244, 63, 94, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(167, 139, 250, 0.16), transparent 55%),
    linear-gradient(180deg, #12182a 0%, var(--bg) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 20px;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 420px;
  animation: heroIn 650ms ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fda4af;
  margin-bottom: 10px;
}

.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.9);
}

.hero-brand {
  font-size: clamp(32px, 9vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 0.95;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hero-brand span {
  background: linear-gradient(90deg, #fff 40%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-brand::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--violet));
  animation: barIn 800ms 180ms ease both;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(17px, 4.4vw, 22px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  max-width: 16ch;
}

.hero-lead {
  margin-top: 8px;
  font-size: 13px;
  color: #cbd5e1;
  max-width: 34ch;
  line-height: 1.45;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.hero-pill {
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
}

.hero-cta {
  min-width: 0;
  width: auto;
  padding: 0 22px;
  height: 44px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.4);
  animation: pulseCta 2.4s ease-in-out infinite;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(244, 63, 94, 0.12);
  animation: heroIn 750ms 80ms ease both;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.03);
  animation: heroKen 14s ease-in-out infinite alternate;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 15, 25, 0.72) 100%);
  pointer-events: none;
}

.hero-float {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.hero-float .pulse {
  flex-shrink: 0;
}

@keyframes heroKen {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes barIn {
  from { width: 0; opacity: 0; }
  to { width: 48px; opacity: 1; }
}

@keyframes pulseCta {
  0%, 100% { box-shadow: 0 10px 24px rgba(244, 63, 94, 0.35); }
  50% { box-shadow: 0 12px 30px rgba(244, 63, 94, 0.55); }
}

.offers-anchor {
  scroll-margin-top: calc(var(--header-h) + 8px);
  height: 0;
}

.disclosure-btn {
  font-size: 10px;
  color: #c4b5fd;
  text-decoration: underline;
  white-space: nowrap;
  position: static;
}

.hero .tooltip {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  width: 100%;
  max-width: 420px;
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.4;
  z-index: 50;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
  box-sizing: border-box;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
}

.hero .tooltip.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 640px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: min(62vh, 480px);
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero-stage {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: 0;
  }
  .hero-copy { padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage img,
  .hero-copy,
  .hero-stage,
  .hero-brand::after,
  .hero-cta { animation: none !important; }
}

/* ——— Timer ——— */
.timer-bar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--timer-bg);
  border: 1px solid var(--rose);
  border-radius: 8px;
  margin: 8px 0 12px;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 600;
  gap: 4px;
}

.timer-bar time {
  color: var(--rose);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

/* ——— Glass cards ——— */
.glass {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
}

.offer {
  padding: 14px;
  margin-bottom: 12px;
  position: relative;
}

.offer-gold {
  border: 1px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.18), inset 0 0 0 1px rgba(251, 191, 36, 0.15);
  width: calc(100% + 5px);
  margin-left: -2.5px;
  margin-right: -2.5px;
}

.offer-muted { opacity: 0.92; }

.offer-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.offer-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.offer-logo img { width: 100%; height: 100%; object-fit: cover; }

.offer-meta { flex: 1; min-width: 0; }

.offer-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.offer-rank.silver { color: #cbd5e1; }
.offer-rank.bronze { color: #d97706; }

.offer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.offer-score {
  margin-top: 2px;
  font-size: 11px;
  color: #fbbf24;
}

.offer-desc {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.chat-preview {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.chat-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.chat-bubble img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-bubble .msg {
  background: rgba(167, 139, 250, 0.15);
  border-radius: 10px 10px 10px 2px;
  padding: 6px 8px;
  color: #e2e8f0;
  flex: 1;
}

.chat-bubble.me .msg {
  background: rgba(244, 63, 94, 0.18);
  border-radius: 10px 10px 2px 10px;
}

.voice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.voice-bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}

.voice-bars span {
  width: 2px;
  background: var(--violet);
  border-radius: 1px;
  animation: bars 0.9s ease-in-out infinite alternate;
}

.voice-bars span:nth-child(1) { height: 4px; animation-delay: 0s; }
.voice-bars span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.voice-bars span:nth-child(3) { height: 6px; animation-delay: 0.3s; }
.voice-bars span:nth-child(4) { height: 12px; animation-delay: 0.1s; }

@keyframes bars {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}

.photo-previews {
  display: flex;
  gap: 6px;
  margin-left: 36px;
}

.photo-previews span {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-previews img { width: 100%; height: 100%; object-fit: cover; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-rose {
  background: linear-gradient(135deg, #FB7185, #F43F5E 40%, #E11D48);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
}

.btn-violet {
  background: linear-gradient(135deg, #A78BFA, #7C3AED 50%, #4F46E5);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.btn-slate {
  background: linear-gradient(135deg, #475569, #1E293B);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-sm {
  height: 28px;
  font-size: 10px;
  border-radius: 8px;
  margin-top: 0;
  animation: glow 1.8s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.35); }
  50% { box-shadow: 0 0 12px 2px rgba(244, 63, 94, 0.55); }
}

/* ——— Banner ——— */
.mid-banner {
  position: relative;
  margin: 4px 0 14px;
  border-radius: 14px;
  overflow: hidden;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mid-banner { min-height: 130px; }
.mid-banner img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 16 / 5;
}

.mid-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.88) 0%, rgba(11, 15, 25, 0.45) 55%, rgba(11, 15, 25, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  gap: 10px;
}

.mid-banner-overlay p {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  max-width: 70%;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mid-banner .btn {
  width: auto;
  align-self: flex-start;
  height: 34px;
  padding: 0 16px;
  margin: 0;
  font-size: 12px;
}

/* ——— Characters ——— */
.chars { margin: 8px 0 20px; }

.chars h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.chars-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.chars-track::-webkit-scrollbar { display: none; }

.char-card {
  flex: 0 0 140px;
  width: 140px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--slate);
}

.char-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-live {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 7px;
  border-radius: 999px;
}

.char-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.char-info strong {
  display: block;
  color: var(--white);
  font-size: 12px;
  margin-bottom: 6px;
}

/* ——— Sticky disclaimer + footer ——— */
.sticky-disc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 60px;
  z-index: 90;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.88);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.3;
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  height: 60px;
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  font-size: 10px;
  color: var(--footer);
}

.footer-links a:hover { color: #94a3b8; }
.footer-links span { color: #334155; }

.footer-note {
  font-size: 8px;
  color: #334155;
  text-align: center;
  max-width: 1100px;
  width: 100%;
  line-height: 1.3;
  padding: 0 16px;
}

/* ——— Welcome popup ——— */
.popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  width: min(360px, 100%);
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 200ms ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.popup.open .popup-card { transform: scale(1); }

.popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}

.popup-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: min(460px, 50vh);
  object-fit: contain;
  object-position: center top;
  background: #0B0F19;
}

.popup-body {
  padding: 14px 16px 18px;
  text-align: center;
}

.popup-body p {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

/* ——— Subpages ——— */
.page {
  padding: 15px 0 24px;
}

.wrap.page {
  padding-left: 15px;
  padding-right: 15px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.page h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.page .updated {
  font-size: 11px;
  margin-bottom: 16px;
}

.page-content {
  font-family: Roboto, var(--font);
  font-size: 12px;
  color: var(--muted);
  padding: 0;
}

.page-content h2 {
  font-size: 13px;
  color: var(--white);
  margin: 14px 0 6px;
}

.page-content p, .page-content li { margin-bottom: 8px; }
.page-content ul { padding-left: 16px; list-style: disc; }
.page-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: var(--violet);
}

/* FAQ accordion */
.faq-item {
  margin-bottom: 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(30, 41, 59, 0.7);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.faq-q::after {
  content: "+";
  color: var(--rose);
  font-size: 16px;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease, padding 250ms ease;
  padding: 0 14px;
  font-size: 12px;
  color: var(--muted);
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 14px 12px;
}

/* Contact form */
.form {
  display: grid;
  gap: 10px;
}

.form label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: #cbd5e1;
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.form input:focus,
.form textarea:focus { border-color: var(--violet); }

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

.form-error {
  color: #fb7185;
  font-size: 11px;
  display: none;
}

.form-error.show { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 28px 12px;
  color: #86efac;
  font-size: 14px;
  font-weight: 600;
  background: rgba(30, 41, 59, 0.7);
  border-radius: 14px;
  border: 1px solid rgba(134, 239, 172, 0.25);
}

.form-success.show { display: block; }

/* Geo toast */
.geo-toast {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 120px;
  z-index: 150;
  max-width: 406px;
  margin: 0 auto;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.geo-toast.show { display: flex; }

.geo-toast p {
  flex: 1 1 100%;
  font-size: 12px;
  color: #e2e8f0;
  padding-right: 24px;
}

.geo-toast .btn {
  width: auto;
  flex: 1;
  height: 34px;
  padding: 0 12px;
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
}

.geo-toast .geo-x {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #94a3b8;
  font-size: 18px;
  width: 28px;
  height: 28px;
}


@media (max-width: 380px) {
  .lang-switch { gap: 2px; margin-right: 4px; }
  .lang-btn { width: 22px; font-size: 8px; }
  .online { font-size: 10px; }
  .brand { font-size: 12px; }
}

@media (min-width: 768px) {
  body { font-size: 14px; }
  .wrap, .header-inner { padding: 0 28px; }
  .wrap.page { padding-left: 28px; padding-right: 28px; }
  .hero h1 { font-size: 20px; }
  .offer { padding: 18px 20px; }
  .mid-banner img { height: 180px; }
  .chars-track { gap: 14px; }
  .char-card { flex: 0 0 160px; width: 160px; height: 230px; }
  .page-content { max-width: 820px; }
  .popup-card { width: min(400px, 100%); }
  .geo-toast { max-width: 520px; }
}

@media (min-width: 1024px) {
  .wrap, .header-inner, .footer-note { max-width: 1200px; }
  .offers-desktop { display: contents; }
}


/* CLS: reserve space for media & chrome */
.hero-grid { min-height: 0; }
.timer-bar { min-height: 32px; box-sizing: border-box; }
.offer-logo { aspect-ratio: 1 / 1; }
.offer-logo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.mid-banner { min-height: 130px; aspect-ratio: 16 / 5; }
.mid-banner img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 5; }
.char-card { aspect-ratio: 140 / 200; contain: layout paint; }
.char-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 140 / 200; }
.popup-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: min(460px, 50vh);
  object-fit: contain;
  object-position: center top;
  background: #0B0F19;
}
.sticky-disc, .footer { contain: layout; }


/* v3 CLS harden */
.chat-bubble img {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex-shrink: 0;
}
.photo-previews span {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.photo-previews img {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wrap {
  contain: layout;
}
.mid-banner {
  min-height: 130px;
  contain: layout;
}
.popup:not(.open) .popup-img {
  content-visibility: auto;
}



/* ——— Offer cards (rating row like example) ——— */
.offer {
  position: relative;
  margin: 0 0 18px 12px;
  padding: 20px 14px 16px 18px;
  background:
    linear-gradient(165deg, rgba(51, 65, 85, 0.55), rgba(30, 41, 59, 0.82) 45%, rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.offer:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}
.offer-gold {
  border: 1px solid rgba(251, 191, 36, 0.7);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.12) inset,
    0 0 24px rgba(251, 191, 36, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.3);
  width: calc(100% + 5px);
  margin-left: 9.5px;
  margin-right: -2.5px;
  background:
    linear-gradient(165deg, rgba(251, 191, 36, 0.12), transparent 38%),
    linear-gradient(165deg, rgba(51, 65, 85, 0.55), rgba(30, 41, 59, 0.88));
}
.offer-gold:hover {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.18) inset,
    0 0 28px rgba(251, 191, 36, 0.28),
    0 16px 36px rgba(0, 0, 0, 0.4);
}
.offer-muted { opacity: 0.94; }

.offer-ribbon {
  position: absolute;
  top: -1px;
  left: 36px;
  z-index: 2;
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 5px 10px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.35);
}
.offer-gold .offer-ribbon {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #0B0F19;
  box-shadow: 0 6px 14px rgba(251, 191, 36, 0.35);
}

.offer-rank-dot {
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FB7185, #E11D48);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #0B0F19, 0 6px 14px rgba(244, 63, 94, 0.5);
  z-index: 3;
}
.offer-gold .offer-rank-dot {
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  color: #0B0F19;
  box-shadow: 0 0 0 3px #0B0F19, 0 6px 14px rgba(251, 191, 36, 0.5);
}

.offer-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}
.offer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.offer-logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  display: block;
  background: #fff;
  transition: transform 180ms ease;
}
.offer:hover .offer-logo { transform: scale(1.04); }
.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.offer-brand {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.15;
}

.offer-main { min-width: 0; }
.offer-checks {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 7px;
}
.offer-checks li {
  position: relative;
  padding-left: 18px;
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.4;
}
.offer-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #F43F5E;
  font-weight: 800;
  font-size: 12px;
}

.offer-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.offer-scorebox {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  min-width: 56px;
}
.offer-gold .offer-scorebox {
  border-color: rgba(251, 191, 36, 0.35);
}
.offer-scorebox strong {
  display: block;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}
.offer-scorebox span {
  font-size: 8px;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
}
.offer-stars {
  flex: 1;
  min-width: 90px;
}
.offer-stars b {
  display: block;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.offer-stars i {
  display: block;
  font-style: normal;
  color: #FBBF24;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-top: 2px;
}
.btn-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #F43F5E;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(244, 63, 94, 0.35);
  text-decoration: none;
  transition: transform 150ms ease, filter 150ms ease;
}
.btn-visit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.offer-gold .btn-visit {
  background: linear-gradient(135deg, #FB7185, #F43F5E 40%, #E11D48);
}
.offer .btn-violet.btn-visit,
.offer:not(.offer-gold):not(.offer-muted) .btn-visit {
  background: linear-gradient(135deg, #A78BFA, #7C3AED 50%, #4F46E5);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.35);
}
.offer-muted .btn-visit {
  background: linear-gradient(135deg, #64748b, #334155);
  box-shadow: none;
}
.offer .btn.btn-rose,
.offer .btn.btn-violet,
.offer .btn.btn-slate {
  margin-top: 12px;
  border-radius: 999px;
  height: 48px;
}

@media (min-width: 400px) {
  .offer-row { grid-template-columns: 96px 1fr; }
  .offer-aside { flex-wrap: nowrap; }
}

@media (min-width: 720px) {
  .hero-grid { min-height: min(58vh, 520px); }
}
