:root {
  color-scheme: light;
  --page-bg: #050505;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --text: #111827;
  --line: #e3e7ec;
  --accent: #ff6738;
  --green: #25d366;
  --green-dark: #1da851;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  direction: ltr;
  background: var(--page-bg);
}

img,
svg {
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: var(--page-bg);
}

.landing-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.top-hero {
  position: relative;
  min-height: 412px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 48px 24px 164px;
  color: #ffffff;
  text-align: center;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-mask {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.74) 100%),
    rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
}

.urgent-pill {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 5px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.urgent-pill span,
.status-message span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.hero-content h1 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
}

.hero-content h1 span {
  display: block;
  color: var(--green);
}

.hero-copy {
  max-width: 315px;
  margin: 15px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.banner-badge {
  position: absolute;
  right: 14px;
  bottom: 20px;
  z-index: 2;
  max-width: calc(100% - 28px);
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #3149ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

.banner-badge-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25c26e;
  color: #ffffff;
}

.banner-badge-icon svg {
  width: 12px;
  height: 12px;
}

.banner-badge-text {
  min-width: 0;
  overflow: hidden;
  color: #3149ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.earnings-card {
  position: relative;
  z-index: 3;
  width: calc(100% - 62px);
  margin: -170px auto 48px;
  padding: 24px 18px 22px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.earnings-card p {
  margin: 0 0 12px;
  color: #6e7781;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.earnings-card strong {
  display: block;
  color: #6e7781;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.earnings-highlight {
  color: var(--accent);
}

.status-strip {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: linear-gradient(90deg, #e6423a 0%, #ee765f 100%);
  color: #ffffff;
}

.status-message {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
}

.status-count {
  width: 90px;
  min-height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.status-count strong {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ffffff;
  color: #ef423b;
  font-size: 18px;
  font-weight: 900;
}

.action-panel {
  padding: 22px 16px 18px;
  background: #ffffff;
}

.cta-button {
  width: 100%;
  display: block;
  color: #ffffff;
  text-decoration: none;
  animation: button-double-bounce 5s ease-in-out infinite;
}

.cta-surface {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 11px 23px rgba(37, 211, 102, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.cta-button:hover .cta-surface {
  filter: brightness(1.03);
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.32);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.34);
  outline-offset: 4px;
  border-radius: 10px;
}

.cta-button:active .cta-surface {
  transform: scale(0.99);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.24);
}

.cta-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: #ffffff;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

.cta-label {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.cta-note {
  margin: 13px 0 0;
  color: #718096;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 16px 24px;
  background: var(--surface-soft);
}

.feature-card {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  text-align: center;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #ffffff;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h2 {
  margin: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.feature-card p {
  margin: 8px 0 0;
  color: #687384;
  font-size: 11px;
  line-height: 1.35;
}

@keyframes button-double-bounce {
  from,
  12% {
    transform: translateY(0);
  }

  18% {
    transform: translateY(-9px);
  }

  26% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }

  48% {
    transform: translateY(0);
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-button {
    animation: none;
  }

  .cta-surface {
    transition: none;
  }

  .cta-button:hover .cta-surface,
  .cta-button:active .cta-surface {
    transform: none;
  }
}

@media (max-width: 480px) {
  .page {
    display: block;
  }

  .landing-shell {
    width: 100%;
    box-shadow: none;
  }

  .top-hero {
    min-height: 392px;
    padding: 42px 18px 150px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .earnings-card {
    width: calc(100% - 44px);
    margin-top: -154px;
    margin-bottom: 42px;
  }

  .status-strip {
    padding-inline: 16px;
  }
}

@media (max-width: 360px) {
  .top-hero {
    min-height: 374px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .banner-badge {
    right: 10px;
    bottom: 14px;
    max-width: calc(100% - 20px);
  }

  .earnings-card {
    width: calc(100% - 30px);
    padding-inline: 12px;
  }

  .status-message {
    gap: 8px;
    font-size: 12px;
  }

  .status-count {
    width: 78px;
    gap: 6px;
  }

  .cta-label {
    font-size: 15px;
  }

  .feature-grid {
    gap: 10px;
    padding-inline: 12px;
  }

  .feature-card {
    min-height: 120px;
    padding-inline: 8px;
  }
}
