:root {
  --bg: #0f1117;
  --bg-soft: #171a22;
  --surface: #1b1f29;
  --surface-2: #242937;
  --paper: #0c0f15;
  --stroke: rgba(255,255,255,.08);
  --stroke-strong: rgba(255,255,255,.16);
  --text: #f3f5f8;
  --muted: #a6adbb;
  --muted-2: #7c8492;
  --pink: #e61f72;
  --pink-deep: #c81860;
  --pink-soft: #ff5f9d;
  --shadow: 0 16px 40px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(230,31,114,.16), transparent 26%),
    radial-gradient(circle at top left, rgba(255,95,157,.08), transparent 24%),
    linear-gradient(180deg, #0c0f15 0%, #121520 100%);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.top-strip {
  background: linear-gradient(90deg, var(--pink-deep), var(--pink));
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

.site-header {
  background: rgba(11, 14, 20, .88);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark,
.brand-card-mark,
.mini-badge {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(230,31,114,.28);
}

.logo-mark {
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.logo-text {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
}

.logo-text small {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #f5bfd2;
}

.search-wrap {
  justify-self: center;
  width: min(420px, 100%);
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.search-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font-size: 12px;
  color: #fff;
  background: transparent;
}

.search-wrap input::placeholder { color: #9199a7; }

.search-wrap button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #f2afc8;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  color: #ced3dc;
}

.join-btn {
  padding: 10px 15px;
  border: 1px solid rgba(230,31,114,.55);
  border-radius: 999px;
  background: rgba(230,31,114,.12);
}

.main-wrap { padding: 22px 0 56px; }

.page-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-sidebar { font-size: 11px; }

.card-surface,
.offer-card,
.preview-modal,
.progress-modal,
.maintenance-modal {
  background: linear-gradient(180deg, rgba(29,34,45,.98), rgba(20,24,33,.98));
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand-panel {
  min-height: 168px;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(255,95,157,.18), transparent 34%),
    linear-gradient(180deg, rgba(41,46,60,.98), rgba(21,25,34,.98));
}

.brand-card-mark {
  width: 72px;
  height: 72px;
  font-size: 26px;
}

.brand-card-text {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.12;
}

.brand-card-text span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f3b4cb;
}

.rating-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ff76aa;
  font-weight: 700;
}
.rating-score { color: #ff8eb8; }
.stars { letter-spacing: 1px; font-size: 10px; }
.reviews { color: var(--muted-2); }

.sidebar-copy-block {
  margin-top: 16px;
  color: var(--muted);
}

.sidebar-copy-block h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 12px;
}

.sidebar-copy-block p {
  margin: 0;
  line-height: 1.7;
}

.tips-block {
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.offers-panel h1 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.lead-copy {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.offer-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 22px;
  min-height: 170px;
  padding: 24px 26px;
  margin-bottom: 22px;
  background-image:
    radial-gradient(circle at top right, rgba(230,31,114,.12), transparent 26%),
    linear-gradient(180deg, rgba(28,32,43,.98), rgba(18,22,31,.98));
}

.left-meter {
  color: var(--pink-soft);
  text-align: center;
  font-weight: 800;
}

.left-meter-value {
  font-size: 46px;
  line-height: .95;
}

.left-meter-label {
  margin-top: 4px;
  font-size: 44px;
  line-height: .9;
}

.offer-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coupon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  width: fit-content;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(230,31,114,.18);
  border: 1px solid rgba(230,31,114,.38);
  color: #ffd7e7;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 16px;
}

.offer-copy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  color: #fff;
  font-weight: 800;
  max-width: 500px;
}

.offer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
}

.meta-dot {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.offer-action {
  display: flex;
  justify-content: flex-end;
}

.show-code-btn,
.unlock-btn {
  min-width: 210px;
  height: 72px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--pink) 100%);
  color: #fff;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 26px rgba(230,31,114,.22);
}

.show-code-btn:disabled {
  cursor: default;
  opacity: .5;
}

.sold-out .offer-copy h2,
.sold-out .offer-meta { opacity: .8; }

.site-footer {
  background: rgba(11, 14, 20, .92);
  border-top: 1px solid rgba(255,255,255,.08);
  color: #fff;
  padding: 34px 0 36px;
}

.footer-top-line { display: none; }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #d7dbe2;
}

.footer-platforms {
  display: flex;
  gap: 22px;
  font-size: 28px;
  line-height: 1;
  opacity: .75;
  margin-bottom: 22px;
  color: #f3a8c4;
}

.footer-copy {
  font-size: 15px;
  font-weight: 700;
  opacity: .95;
  margin-bottom: 34px;
}

.footer-disclaimer {
  max-width: 620px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-disclaimer.wide {
  max-width: 920px;
  margin-top: 8px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 17, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.hidden { display: none !important; }

.preview-modal,
.progress-modal,
.maintenance-modal {
  width: min(530px, calc(100vw - 34px));
  text-align: center;
  position: relative;
}

.preview-modal,
.progress-modal {
  padding: 22px 24px 26px;
}

.maintenance-modal {
  padding: 26px 26px 28px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: var(--pink-soft);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.preview-left,
.progress-left {
  color: var(--pink-soft);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.preview-modal h3,
.progress-modal h3 {
  margin: 14px auto 16px;
  max-width: 360px;
  font-size: 21px;
  line-height: 1.18;
  color: #fff;
}

.preview-code-box {
  margin: 0 auto 18px;
  width: 250px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #f7d5e1;
}

.circle-shell {
  width: 130px;
  height: 145px;
  margin: 8px auto 12px;
  position: relative;
}

.progress-ring { transform: rotate(-90deg); }
.ring-bg, .ring-bar { fill: none; stroke-width: 6; }
.ring-bg { stroke: rgba(255,255,255,.08); }
.ring-bar {
  stroke: var(--pink-soft);
  stroke-linecap: round;
  stroke-dasharray: 282.74;
  stroke-dashoffset: 282.74;
  transition: stroke-dashoffset .2s linear;
}

.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  top: -12px;
}

.coin-badge-icon {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
}

.mini-badge {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

.progress-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.final-code {
  margin: 14px auto 0;
  width: 270px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

#doneBtn {
  margin-top: 18px;
  height: 62px;
  min-width: 180px;
  font-size: 16px;
}

.maintenance-logo {
  margin: 8px auto 18px;
}

.maintenance-modal h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
}

.maintenance-modal p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

@media (max-width: 980px) {
  .offer-card {
    grid-template-columns: 108px minmax(0, 1fr) 180px;
    gap: 18px;
    padding: 22px 20px;
  }

  .offer-copy h2 { font-size: 18px; }
  .offer-meta { font-size: 13px; gap: 14px; }
  .show-code-btn { min-width: 175px; height: 68px; font-size: 15px; }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
    gap: 12px;
  }

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

  .product-sidebar {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: start;
  }

  .brand-panel { min-height: 120px; }
  .brand-card-mark { width: 58px; height: 58px; font-size: 22px; }
  .brand-card-text { font-size: 14px; }
  .offers-panel h1 { font-size: 26px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 16px, 1120px); }
  .product-sidebar { grid-template-columns: 1fr; }

  .offer-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    text-align: center;
    justify-items: center;
  }

  .offer-copy { align-items: center; }
  .offer-copy h2 { font-size: 17px; }
  .offer-meta { flex-wrap: wrap; justify-content: center; margin-top: 18px; }
  .offer-action { justify-content: center; }
  .left-meter-value { font-size: 36px; }
  .left-meter-label { font-size: 32px; }
  .footer-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .footer-copy { margin-bottom: 28px; }
  .maintenance-modal h3 { font-size: 24px; }
  .maintenance-modal p { font-size: 16px; }
}
