:root {
  --navy: #050b1a;
  --navy-2: #0a1428;
  --navy-3: #101c36;
  --blue: #00a3ff;
  --blue-hi: #33b7ff;
  --blue-deep: #0077d6;
  --ice: #e8f0ff;
  --text: #f2f6ff;
  --muted: #8fa0c0;
  --line: rgba(0, 163, 255, 0.22);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 0px;
  --font: 'Roboto', system-ui, sans-serif;
  --font-display: 'Roboto Condensed', 'Roboto', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.compliance {
  background: #030712;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.45rem 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 26, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  font-style: normal;
  text-shadow:
    0 0 14px rgba(61, 122, 255, 0.45),
    0 2px 0 rgba(0, 0, 0, 0.45);
  display: inline-block;
  position: relative;
}

.brand-logo span {
  color: var(--blue-hi);
  -webkit-text-fill-color: var(--blue-hi);
  background: none;
  filter: drop-shadow(0 0 10px rgba(61, 122, 255, 0.45));
}

.brand-logo--foot {
  font-size: 1.2rem;
  opacity: 0.92;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.control-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.seg {
  display: inline-flex;
  background: rgba(16, 28, 54, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2px;
  gap: 2px;
}

.seg-btn {
  min-height: 32px;
  padding: 0 0.65rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.seg-btn:hover { color: var(--ice); }
.seg-btn.active {
  background: var(--blue);
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #050b1a;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  object-fit: cover;
  object-position: center 30%;
  animation: hero-ken 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 26, 0.18) 0%, transparent 28%, transparent 62%, rgba(5, 11, 26, 0.35) 100%),
    radial-gradient(70% 50% at 50% 25%, rgba(26, 92, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 60%
  );
  background-size: 220% 100%;
  animation: scan-sweep 5.5s var(--ease) infinite;
}

.hero-inner {
  position: relative;
  width: min(100% - 1.5rem, 510px);
  max-width: 510px;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vh, 2.5rem) 0 clamp(1.5rem, 5vh, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.offer-panel {
  position: relative;
  width: 100%;
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem 1.3rem;
  background:
    radial-gradient(110% 80% at 50% -15%, rgba(55, 140, 255, 0.5), transparent 55%),
    linear-gradient(180deg, #0a1f5c 0%, #06143a 48%, #030d28 100%);
  border: 1.5px solid rgba(90, 180, 255, 0.85);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(120, 200, 255, 0.25) inset,
    0 0 22px rgba(40, 140, 255, 0.55),
    0 0 48px rgba(20, 90, 255, 0.35),
    0 22px 50px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  animation: rise-in 0.9s var(--ease) both;
  text-align: center;
  isolation: isolate;
}

.offer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(2, 8, 28, 0.55);
  z-index: 0;
  pointer-events: none;
}

.offer-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding: 0.15rem 0 0.1rem;
}

.offer-claim {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 4.5vw, 2.05rem);
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 0 16px rgba(100, 180, 255, 0.65);
}

.offer-amount {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.85rem, 5.6vw, 2.55rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  background-image: linear-gradient(
    105deg,
    #7d8798 0%,
    #c8d0dc 14%,
    #ffffff 28%,
    #aeb8c8 42%,
    #ffffff 56%,
    #dfe5ef 70%,
    #8e98a8 84%,
    #f5f7fb 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 22px rgba(190, 205, 230, 0.7));
  animation: silver-shimmer 2.6s linear infinite;
}

.app-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
}

.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.btn-premium:hover { transform: translateY(-2px); }
.btn-premium:active { transform: translateY(0) scale(0.99); }

.btn-premium-ico {
  flex: 0 0 auto;
  display: block;
}

.btn-premium-light {
  color: #0a0f1a;
  background: #fff;
  border: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-premium-light:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px rgba(0, 0, 0, 0.3);
}

.btn-premium-primary,
.btn-premium-claim {
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, #33b7ff 0%, #0090f0 55%, #0077d6 100%);
  border: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 0 0 1px rgba(0, 140, 255, 0.35),
    0 8px 24px rgba(0, 140, 255, 0.42),
    0 0 32px rgba(0, 163, 255, 0.28);
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.btn-premium-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.35), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.btn-premium-primary > span:not(.btn-premium-glow),
.btn-premium-claim > span:not(.btn-premium-glow) {
  position: relative;
  z-index: 1;
}

.btn-premium-primary:hover,
.btn-premium-claim:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 0 0 1px rgba(0, 160, 255, 0.5),
    0 12px 32px rgba(0, 140, 255, 0.55),
    0 0 44px rgba(0, 163, 255, 0.4);
}

.promo-field {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 4.5rem 0.95rem 4.5rem;
  border-radius: 10px;
  text-align: center;
  background: rgba(0, 4, 16, 0.92);
  border: 1px solid rgba(120, 190, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 22px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.promo-field:hover {
  border-color: rgba(0, 163, 255, 0.45);
}

.promo-field.is-copied {
  border-color: rgba(50, 205, 50, 0.55);
}

.promo-field code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 4.2vw, 2rem);
  letter-spacing: 0.1em;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.promo-field-copy {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd0ff;
  border: 1px solid rgba(120, 200, 255, 0.75);
  background: rgba(20, 60, 140, 0.45);
}

.promo-field.is-copied .promo-field-copy {
  color: #32cd32;
  border-color: rgba(50, 205, 50, 0.65);
}

.payments {
  background: #dfe6eb;
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.payments-inner {
  display: grid;
  gap: 1.35rem;
  justify-items: center;
}

.payments-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f3e55;
  text-align: center;
}

.pay-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 1080px;
  margin-inline: auto;
}

.pay-tile {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 148px;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 40, 70, 0.08);
}

.pay-tile-logo {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 0.85rem 0.75rem;
  background: #fff;
}

.pay-tile-logo img {
  width: auto;
  max-width: 78%;
  max-height: 58px;
  object-fit: contain;
}

.pay-tile-name {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0.55rem 0.5rem;
  background: #567eb3;
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  line-height: 1.2;
  text-align: center;
}

.pay-name-short { display: none; }

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  background: #030712;
}

.footer-row {
  display: grid;
  gap: 1rem;
}

.footer-row p {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.5;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes silver-shimmer {
  0% { background-position: 140% 0; }
  100% { background-position: -140% 0; }
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.3) inset,
      0 0 0 1px rgba(0, 140, 255, 0.35),
      0 10px 30px rgba(0, 140, 255, 0.4),
      0 0 36px rgba(0, 163, 255, 0.28);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.4) inset,
      0 0 0 1px rgba(0, 160, 255, 0.5),
      0 14px 38px rgba(0, 140, 255, 0.6),
      0 0 52px rgba(0, 163, 255, 0.42);
  }
}

@keyframes scan-sweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@keyframes hero-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img,
  .hero-scan,
  .btn-premium-primary,
  .btn-premium-claim,
  .offer-panel,
  .offer-amount {
    animation: none !important;
  }

  .offer-amount {
    background-position: 50% 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 1rem, var(--max));
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: end;
  }

  .hero-photo img {
    object-position: center 22%;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(5, 11, 26, 0.2) 0%, transparent 22%, transparent 42%, rgba(5, 11, 26, 0.55) 72%, rgba(5, 11, 26, 0.88) 100%),
      radial-gradient(90% 45% at 50% 100%, rgba(4, 14, 40, 0.75), transparent 70%);
  }

  .hero-inner {
    width: min(100% - 0.9rem, 100%);
    max-width: none;
    padding:
      0.75rem 0
      calc(1rem + env(safe-area-inset-bottom));
  }

  .offer-panel {
    gap: 0.65rem;
    padding: 1rem 0.85rem 1.05rem;
    border-radius: 14px;
    border-width: 1.5px;
  }

  .offer-hero-copy {
    gap: 0.2rem;
  }

  .offer-claim {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
    letter-spacing: 0.14em;
  }

  .offer-amount {
    font-size: clamp(1.45rem, 7.5vw, 1.95rem);
    letter-spacing: 0.01em;
    word-break: break-word;
  }

  .promo-field {
    min-height: 54px;
    padding: 0.75rem 3.6rem;
  }

  .promo-field code {
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
    letter-spacing: 0.06em;
  }

  .promo-field-copy {
    right: 0.45rem;
    min-height: 32px;
    padding: 0 0.55rem;
    font-size: 0.66rem;
  }

  .app-row {
    gap: 0.45rem;
  }

  .btn-premium {
    min-height: 48px;
    padding: 0.65rem 0.55rem;
    font-size: 0.92rem;
    border-radius: 9px;
    -webkit-tap-highlight-color: transparent;
  }

  .btn-premium-ico {
    width: 16px;
    height: 16px;
  }

  .payments {
    padding: 1.4rem 0 calc(1.6rem + env(safe-area-inset-bottom));
  }

  .payments-inner {
    gap: 0.95rem;
  }

  .payments-title {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .pay-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .pay-tile {
    min-height: 112px;
  }

  .pay-tile-logo {
    min-height: 64px;
    padding: 0.45rem 0.25rem;
  }

  .pay-tile-logo img {
    max-width: 90%;
    max-height: 36px;
  }

  .pay-tile-name {
    min-height: 40px;
    font-size: 0.68rem;
    padding: 0.35rem 0.2rem;
    line-height: 1.15;
  }

  .pay-name-full { display: none; }
  .pay-name-short { display: inline; }

  .footer {
    padding: 1.4rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  }

  .footer-row p {
    font-size: 0.72rem;
  }
}

@media (max-width: 400px) {
  .hero-inner {
    width: min(100% - 0.7rem, 100%);
  }

  .offer-panel {
    padding: 0.9rem 0.7rem 0.95rem;
    gap: 0.55rem;
  }

  .offer-amount {
    font-size: 1.35rem;
  }

  .promo-field {
    min-height: 50px;
    padding: 0.65rem 3.2rem;
  }

  .promo-field code {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
  }

  .promo-field-copy {
    padding: 0 0.45rem;
    font-size: 0.6rem;
    min-height: 28px;
  }

  .btn-premium {
    min-height: 46px;
    font-size: 0.85rem;
    gap: 0.3rem;
  }

  .pay-tile {
    min-height: 100px;
  }

  .pay-tile-logo {
    min-height: 56px;
  }

  .pay-tile-logo img {
    max-height: 30px;
  }

  .pay-tile-name {
    font-size: 0.58rem;
    min-height: 36px;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 4.5rem;
  }

  .offer-panel {
    gap: 0.5rem;
    padding: 0.85rem 0.75rem 0.9rem;
  }

  .offer-claim { font-size: 1.25rem; }
  .offer-amount { font-size: 1.4rem; }

  .btn-premium { min-height: 44px; }
  .promo-field { min-height: 46px; }
}

@media (min-width: 960px) {
  :root { --max: 1240px; }

  .hero {
    min-height: 100svh;
    align-items: end;
  }

  .hero-photo img { object-position: center 32%; }

  .hero-inner {
    width: min(100% - 2rem, 560px);
    max-width: 560px;
    padding: 0 0 3.5rem;
  }

  .offer-panel {
    padding: 1.35rem 1.35rem 1.4rem;
    gap: 0.9rem;
    border-radius: 18px;
  }

  .offer-claim { font-size: 2.1rem; }
  .offer-amount { font-size: 2.6rem; }

  .btn-premium {
    min-height: 58px;
    padding: 0.9rem 1.1rem;
    font-size: 1.15rem;
  }

  .promo-field code { font-size: 2.1rem; }
}

@media (min-width: 1400px) {
  .hero-inner {
    width: min(100% - 2rem, 610px);
    max-width: 610px;
    padding-bottom: 4.25rem;
  }

  .offer-amount { font-size: 2.8rem; }
}
