:root {
  --ink: #f7f4fa;
  --muted: #9d98a6;
  --muted-light: #c2bdca;
  --canvas: #111016;
  --surface: #1b1921;
  --surface-light: #25222d;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #d8ff37;
  --lime-deep: #9fc400;
  --pink: #ff39b7;
  --orange: #ffb329;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -4%, rgba(255, 57, 183, 0.17), transparent 34rem),
    radial-gradient(circle at 100% 54%, rgba(216, 255, 55, 0.06), transparent 25rem),
    var(--canvas);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

body.content-open {
  min-height: 100dvh;
}

.page-view[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.reward-page {
  position: relative;
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 20px 20px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.reward-page::before,
.reward-page::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.reward-page::before {
  top: 152px;
  left: -110px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(216, 255, 55, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(216, 255, 55, 0.025), 0 0 0 68px rgba(216, 255, 55, 0.018);
}

.reward-page::after {
  right: -56px;
  bottom: 170px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 57, 183, 0.16);
  transform: rotate(45deg);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.language-picker {
  display: inline-flex;
}

.language-select {
  width: 104px;
  min-width: 0;
  height: 31px;
  padding: 0 23px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  outline: 0;
  color: var(--muted-light);
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.language-select:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 255, 55, 0.12);
}

.language-select option {
  color: #221d29;
  background: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 31px;
  height: 31px;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(216, 255, 55, 0.24);
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 255, 55, 0.2);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(216, 255, 55, 0.08);
  font-size: 11px;
  font-weight: 700;
}

.secure-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px var(--lime);
}

.offer-head {
  position: relative;
  padding-right: 116px;
}

.eyebrow,
.success-eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.offer-head h1 {
  max-width: 290px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(31px, 8vw, 43px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.offer-head h1 strong {
  color: var(--lime);
  font-weight: 800;
}

.offer-copy {
  margin: 10px 0 0;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.45;
}

.reward-pill {
  position: absolute;
  top: 24px;
  right: 0;
  display: grid;
  width: 105px;
  height: 105px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(216, 255, 55, 0.72);
  border-radius: 50%;
  color: var(--canvas);
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(216, 255, 55, 0.07), 0 13px 33px rgba(216, 255, 55, 0.15);
  transform: rotate(8deg);
}

.reward-label {
  margin-bottom: 1px;
  font-size: 11px;
  font-weight: 700;
}

.reward-pill strong {
  font-size: 24px;
  line-height: 1;
}

.reward-arrow {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
}

.video-card {
  margin-top: 23px;
  padding: 11px 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(28, 26, 34, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.27);
}

.video-topline,
.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-topline {
  padding: 2px 2px 10px;
}

.live-badge,
.video-meta {
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  animation: live-pulse 1.4s ease-in-out infinite;
}

.video-stage {
  position: relative;
  aspect-ratio: 0.83;
  overflow: hidden;
  border-radius: 12px;
  background: #251630;
}

.video-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 6, 12, 0.13), transparent 48%, rgba(8, 6, 12, 0.36));
  content: "";
  pointer-events: none;
}

#ad-video,
.reel-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#ad-video {
  z-index: 0;
  display: block;
  background: #24152d;
  object-fit: cover;
}

.reel-fallback {
  z-index: 0;
  display: none;
  overflow: hidden;
  background: #201029;
}

.reel-fallback.is-visible {
  display: block;
}

.fallback-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: reel-slide 12s infinite;
}

.fallback-image-one {
  background-image: url("img/1.png");
}

.fallback-image-two {
  background-image: url("img/2.png");
  animation-delay: 4s;
}

.fallback-image-three {
  background-image: url("img/3.png");
  animation-delay: 8s;
}

.fallback-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 6, 24, 0.1), rgba(16, 6, 24, 0.16) 45%, rgba(16, 6, 24, 0.8));
}

.fallback-copy {
  position: absolute;
  right: 20px;
  bottom: 28px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.fallback-copy span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.fallback-copy strong {
  color: white;
  font-size: 35px;
  line-height: 0.98;
}

.fallback-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.sound-toggle {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.sound-icon {
  grid-area: 1 / 1;
  font-size: 18px;
  line-height: 1;
}

.sound-on {
  display: none;
}

.sound-toggle.is-on .sound-off {
  display: none;
}

.sound-toggle.is-on .sound-on {
  display: block;
}

.skip-ad-button {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 3;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
}

.skip-ad-button:active {
  transform: scale(0.97);
}

.countdown-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  display: grid;
  width: 63px;
  height: 63px;
  place-items: center;
  color: white;
  background: rgba(12, 10, 17, 0.58);
  border-radius: 50%;
  backdrop-filter: blur(6px);
}

.countdown-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-track,
.countdown-ring {
  fill: none;
  stroke-width: 2.4;
}

.countdown-track {
  stroke: rgba(255, 255, 255, 0.16);
}

.countdown-ring {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s linear;
}

.countdown-badge strong {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  font-size: 21px;
  line-height: 1;
}

.countdown-badge span {
  position: relative;
  z-index: 1;
  margin-top: -5px;
  color: var(--muted-light);
  font-size: 9px;
}

.video-center-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 200ms ease, transform 200ms ease;
}

.video-stage.is-paused .video-center-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-center-mark span {
  margin-left: 3px;
  font-size: 19px;
}

.video-caption {
  gap: 10px;
  padding: 12px 2px 8px;
}

.caption-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.caption-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caption-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caption-time {
  flex: 0 0 auto;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  box-shadow: 0 0 11px rgba(216, 255, 55, 0.65);
  transition: width 0.5s linear;
}

.reward-status {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 16px 2px 12px;
}

.status-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(216, 255, 55, 0.27);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(216, 255, 55, 0.08);
  font-size: 17px;
}

.reward-status.is-complete .status-icon {
  color: var(--canvas);
  background: var(--lime);
  border-color: var(--lime);
}

.reward-status strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.reward-status p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.claim-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 57px;
  gap: 10px;
  padding: 0 15px;
  border-radius: 13px;
  color: rgba(12, 11, 16, 0.48);
  background: #37333e;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.claim-button:disabled {
  cursor: not-allowed;
}

.claim-button:not(:disabled) {
  color: #10110b;
  background: var(--lime);
  box-shadow: 0 11px 28px rgba(216, 255, 55, 0.2);
  animation: claim-ready 1.8s ease-in-out infinite;
}

.claim-button:not(:disabled):active,
.success-action:active {
  transform: scale(0.98);
}

.claim-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
}

.claim-button > span:nth-child(2) {
  flex: 1;
  text-align: left;
}

.claim-chevron {
  font-size: 20px;
}

.fine-print {
  margin: 12px 0 0;
  color: #686471;
  font-size: 10px;
  text-align: center;
}

.content-topbar {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 29px;
}

.content-topbar .brand {
  justify-self: center;
}

.back-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  transition: background 180ms ease, transform 180ms ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.back-button:active {
  transform: scale(0.95);
}

.content-hero {
  position: relative;
  padding: 0 8px 25px;
  text-align: center;
}

.content-hero::after {
  position: absolute;
  right: 14%;
  bottom: 0;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 255, 55, 0.25), transparent);
  content: "";
}

.content-hero .success-burst {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.content-hero .success-eyebrow {
  margin-bottom: 9px;
}

.content-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.1;
}

.content-subtitle {
  max-width: 310px;
  margin: 10px auto 0;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.55;
}

.content-balance {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 22px auto 0;
  padding: 13px 15px;
  border: 1px solid rgba(216, 255, 55, 0.22);
  border-radius: 13px;
  color: var(--muted-light);
  background: rgba(216, 255, 55, 0.07);
  font-size: 11px;
  text-align: left;
}

.content-balance strong {
  color: var(--lime);
  font-size: 23px;
  line-height: 1;
}

.balance-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.balance-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.detail-section,
.discover-section {
  padding-top: 26px;
}

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

.section-kicker {
  margin: 0 0 5px;
  color: var(--pink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.detail-date,
.discover-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
}

.detail-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.detail-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 9px 12px;
  background: rgba(25, 23, 31, 0.94);
}

.detail-symbol {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--lime);
  background: rgba(216, 255, 55, 0.1);
  font-size: 13px;
}

.detail-row strong,
.detail-row small {
  display: block;
}

.detail-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.detail-row b {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.detail-row b.detail-done {
  color: var(--muted-light);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
}

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

.discover-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.discover-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.discover-card:hover img {
  transform: scale(1.05);
}

.discover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 8, 19, 0.08), rgba(14, 8, 19, 0.87) 86%);
}

.discover-copy {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 6px;
}

.discover-tag {
  width: fit-content;
  max-width: 100%;
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--canvas);
  background: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.discover-copy strong {
  color: white;
  font-size: 17px;
  line-height: 1.08;
}

.discover-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
}

.content-primary-action {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  gap: 10px;
  margin-top: 25px;
  padding: 0 15px;
  border-radius: 13px;
  color: #10110b;
  background: var(--lime);
  box-shadow: 0 11px 28px rgba(216, 255, 55, 0.2);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.content-primary-action:active {
  transform: scale(0.98);
}

.content-primary-action > span:nth-child(2) {
  flex: 1;
  text-align: left;
}

.content-page .fine-print {
  margin-top: 12px;
}

.home-page {
  overflow: visible;
}

.home-hero {
  padding-bottom: 22px;
}

.hero-banner {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #26132f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.03);
}

.hero-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 8, 31, 0.92), rgba(22, 8, 31, 0.47) 58%, rgba(22, 8, 31, 0.12)),
    linear-gradient(0deg, rgba(22, 8, 31, 0.76), transparent 58%);
}

.hero-banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 205px;
  padding: 24px 22px;
}

.banner-chip {
  width: fit-content;
  margin-bottom: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  color: #111016;
  background: var(--lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-banner h2 {
  max-width: 255px;
  margin: 0;
  color: white;
  font-size: 26px;
  line-height: 1.05;
}

.hero-banner h2 strong {
  color: var(--lime);
}

.hero-banner p {
  max-width: 245px;
  margin: 9px 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.45;
}

.banner-action,
.scan-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 112px;
  min-height: 31px;
  padding: 0 10px;
  border-radius: 8px;
  color: #111016;
  background: var(--lime);
  font-size: 10px;
  font-weight: 800;
}

.banner-action span:last-child,
.scan-action span:last-child {
  font-size: 16px;
}

.ad-section,
.feed-section {
  padding-top: 28px;
}

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

.ad-tile {
  position: relative;
  min-height: 185px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: var(--surface);
}

.ad-tile-large {
  grid-column: 1 / -1;
  min-height: 205px;
}

.ad-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 185px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.ad-tile-large img {
  min-height: 205px;
}

.ad-tile:hover img {
  transform: scale(1.05);
}

.ad-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 18, 0.05), rgba(10, 6, 18, 0.88) 90%);
}

.ad-tile-copy {
  position: absolute;
  right: 13px;
  bottom: 12px;
  left: 13px;
  display: grid;
  gap: 6px;
}

.ad-tile-copy > span {
  width: fit-content;
  padding: 4px 6px;
  border-radius: 4px;
  color: #111016;
  background: var(--lime);
  font-size: 8px;
  font-weight: 800;
}

.ad-tile-copy strong {
  color: white;
  font-size: 18px;
  line-height: 1.06;
}

.ad-tile:not(.ad-tile-large) .ad-tile-copy strong {
  font-size: 15px;
}

.ad-tile-copy button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: white;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
}

.ad-tile-copy button b {
  color: var(--lime);
  font-size: 16px;
}

.feed-list {
  display: grid;
  gap: 8px;
}

.feed-item {
  display: grid;
  grid-template-columns: 64px 1fr 29px;
  align-items: center;
  gap: 11px;
  min-height: 82px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(28, 26, 34, 0.88);
}

.feed-item > img {
  width: 64px;
  height: 64px;
  border-radius: 9px;
  object-fit: cover;
}

.feed-item > div {
  min-width: 0;
}

.feed-tag {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--pink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feed-item strong,
.feed-item p {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-item strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.feed-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}

.feed-arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(216, 255, 55, 0.25);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(216, 255, 55, 0.08);
  font-size: 16px;
}

.scan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 57, 183, 0.21);
  border-radius: 15px;
  background:
    linear-gradient(120deg, rgba(255, 57, 183, 0.11), rgba(216, 255, 55, 0.05)),
    rgba(28, 26, 34, 0.9);
}

.scan-copy {
  min-width: 0;
}

.scan-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.13;
}

.scan-copy > p:not(.section-kicker) {
  margin: 7px 0 12px;
  color: var(--muted-light);
  font-size: 10px;
  line-height: 1.4;
}

.scan-banner img {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  padding: 5px;
  border-radius: 8px;
  background: white;
}

.scan-action {
  width: 94px;
  min-height: 29px;
}

.success-modal[hidden] {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 10, 0.76);
  backdrop-filter: blur(7px);
}

.success-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 35px 26px max(27px, env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #201e27;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: sheet-up 280ms ease-out;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.07);
  font-size: 21px;
  line-height: 1;
}

.success-burst {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 17px;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--canvas);
  background: var(--lime);
  box-shadow: 0 0 0 10px rgba(216, 255, 55, 0.08), 0 0 32px rgba(216, 255, 55, 0.23);
  font-size: 28px;
  font-weight: 800;
}

.success-sheet h2 {
  margin: 0;
  font-size: 25px;
}

.success-amount {
  display: block;
  margin-top: 8px;
  color: var(--lime);
  font-size: 43px;
  line-height: 1;
}

.success-copy {
  margin: 13px 0 22px;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.6;
}

.success-action {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  color: #10110b;
  background: var(--lime);
  font-size: 14px;
  font-weight: 800;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: calc(100vw - 38px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: white;
  background: #2b2832;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes reel-slide {
  0%,
  31% {
    opacity: 1;
    transform: scale(1);
  }
  36%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes claim-ready {
  0%,
  100% {
    box-shadow: 0 11px 28px rgba(216, 255, 55, 0.18);
  }
  50% {
    box-shadow: 0 11px 34px rgba(216, 255, 55, 0.38);
  }
}

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 620px) {
  body {
    display: grid;
    place-items: center;
    padding: 30px 0;
  }

  .reward-page {
    min-height: min(920px, calc(100dvh - 60px));
    padding: 25px 28px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background: rgba(17, 16, 22, 0.78);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 370px) {
  .reward-page {
    padding-inline: 15px;
  }

  .offer-head {
    padding-right: 96px;
  }

  .reward-pill {
    width: 88px;
    height: 88px;
  }

  .reward-pill strong {
    font-size: 21px;
  }

  .offer-head h1 {
    font-size: 29px;
  }

  .topbar-actions {
    gap: 4px;
  }

  .secure-label {
    padding-inline: 8px;
  }

  .language-select {
    width: 88px;
    min-width: 0;
    padding-inline: 7px 18px;
  }

  .discover-card,
  .discover-card img {
    min-height: 175px;
  }

  .discover-copy strong {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
