:root {
  color-scheme: dark;
  --bg: #120f1f;
  --panel: #1b1730;
  --panel-2: #241c3f;
  --text: #fff;
  --muted: #b9b4c7;
  --line: rgba(255, 255, 255, .12);
  --gold: #ffcf5d;
  --green: #65e68b;
  --pink: #ff5b9e;
  --blue: #55c7ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 91, 158, .18), transparent 32rem),
    radial-gradient(circle at 70% 5%, rgba(85, 199, 255, .15), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  padding-bottom: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(18, 15, 31, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img:first-child {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-wide {
  height: 30px;
  width: auto;
}

.top-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.top-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.top-nav a:hover {
  color: #fff;
}

.header-download,
.primary-cta,
.secondary-cta,
.box-card__cta,
.promo-band a,
.box-tools a,
.site-footer a,
.floating-download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-download,
.primary-cta,
.box-card__cta,
.promo-band a,
.box-tools a,
.site-footer a,
.floating-download a {
  background: linear-gradient(135deg, var(--gold), #ff9f43);
  color: #1d1430;
  box-shadow: 0 10px 28px rgba(255, 188, 67, .24);
}

.secondary-cta {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  align-items: center;
  gap: 36px;
  padding: 48px clamp(16px, 5vw, 72px) 136px;
  overflow: hidden;
}

.hero-copy {
  max-width: 780px;
  transform: translateY(-72px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.02;
  max-width: 850px;
  letter-spacing: 0;
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 660px;
  color: #eee7fb;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
  transform: rotate(-3deg);
}

.hero-gallery img {
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.hero-gallery img:nth-child(2n) {
  transform: translateY(28px);
}

.promo-band {
  margin: 0 clamp(16px, 5vw, 72px) 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 207, 93, .35);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 207, 93, .18), rgba(255, 91, 158, .12), rgba(85, 199, 255, .12));
}

.promo-band strong {
  color: var(--gold);
  font-size: 18px;
}

.promo-band span {
  color: #fff;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(16px, 5vw, 72px) 42px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stats div {
  padding: 18px;
  background: rgba(255, 255, 255, .045);
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 24px;
  color: #fff;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.live-drops,
.boxes-section,
.reviews,
.app-benefit {
  padding: 0 clamp(16px, 5vw, 72px);
  margin-bottom: 56px;
}

.live-drops h2,
.section-heading h2,
.reviews h2,
.app-benefit h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0;
}

.live-drops ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 12px;
  overflow-x: auto;
}

.drop-item {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.drop-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}

.drop-item div {
  min-width: 0;
}

.drop-item strong,
.drop-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drop-item span {
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.box-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.box-tools input {
  width: min(360px, 70vw);
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 0 14px;
  font: inherit;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.box-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.box-card[hidden] {
  display: none;
}

.box-empty {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.box-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 207, 93, .48);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.box-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  padding: 12px;
  background: rgba(255, 255, 255, .035);
}

.box-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.box-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  flex: 1;
}

.box-card__title {
  margin: 0;
  min-height: 42px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.box-card__free {
  margin: 0;
  text-align: center;
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
}

.box-card__cta {
  min-height: 38px;
  width: 100%;
  font-size: 14px;
}

.app-benefit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr) auto;
  gap: 20px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  background: rgba(255, 255, 255, .045);
  border-block: 1px solid var(--line);
}

.app-benefit p {
  margin: 0;
  color: #eee7fb;
  font-weight: 700;
  line-height: 1.5;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.review {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
}

.review img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.review strong {
  display: block;
  font-size: 18px;
}

.review p {
  color: #eee;
  margin: 8px 0;
}

.review span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(16px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.back-to-offer {
  position: fixed;
  right: 22px;
  bottom: 104px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 207, 93, .55);
  background: linear-gradient(135deg, var(--gold), #ff9f43);
  color: #1d1430;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.floating-download {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 14px;
  background: rgba(22, 17, 38, .95);
  border: 1px solid rgba(255, 207, 93, .42);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .42);
  backdrop-filter: blur(16px);
}

.floating-download span {
  font-weight: 900;
  color: #fff;
  text-align: center;
}

@media (max-width: 1280px) {
  .box-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-copy {
    transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-gallery {
    grid-template-columns: repeat(4, 1fr);
    transform: none;
  }

  .hero-gallery img:nth-child(2n) {
    transform: none;
  }

  .box-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-benefit {
    grid-template-columns: 1fr;
  }

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

  .review {
    grid-template-columns: 90px 1fr;
  }

  .review img {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 142px;
  }

  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand img:first-child {
    width: 30px;
    height: 30px;
  }

  .brand-wide {
    display: block;
    height: 24px;
    max-width: 72px;
  }

  .top-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    margin-left: 0;
  }

  .top-nav a {
    padding-left: 0;
  }

  .header-download {
    margin-left: auto;
    min-height: 38px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 150px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-band {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .box-tools,
  .box-tools input,
  .box-tools a {
    width: 100%;
  }

  .box-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .box-card__title {
    font-size: 15px;
    min-height: 38px;
  }

  .live-drops ul {
    grid-auto-columns: 82vw;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-to-offer {
    right: 14px;
    bottom: 174px;
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .floating-download {
    left: 8px;
    right: 8px;
    bottom: 8px;
    flex-direction: column;
    gap: 10px;
  }

  .floating-download a {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .header-download {
    padding: 0 10px;
    font-size: 13px;
  }

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

  .hero-actions a {
    width: 100%;
  }
}
