:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --success: #10b981;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-white: #ffffff;
  --border: #dbe3ee;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 38px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  direction: ltr;
  padding-bottom: 92px;
}

.container {
  width: min(100% - 28px, 480px);
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 0;
  text-align: center;
}

.spots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 12px;
}

.spots strong {
  color: var(--accent-light);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.96), rgba(129, 140, 248, 0.92));
  color: #fff;
  padding: 24px 0 106px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 0 34%, transparent 35%);
  background-size: 100px 100px;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.hero p {
  margin: 12px auto 0;
  max-width: 640px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.94;
}

.earnings-wrap {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}

.earnings-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px 20px;
}

.earnings-card::before {
  content: "";
  position: absolute;
  top: -44px;
  right: -22px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  opacity: 0.12;
}

.earnings-card::after {
  content: "";
  position: absolute;
  bottom: -42px;
  left: 22px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0.08;
}

.earnings-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.earnings-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.earnings-amount {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  background-clip: text;
  color: transparent;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.earnings-label {
  margin-top: 16px;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 700;
}

.task-pills {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.task-pill {
  min-height: 62px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--text-dark);
  display: grid;
  place-items: center;
  padding: 9px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.task-pill span {
  display: block;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.cta-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--success);
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.32);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.16s ease, background 0.16s ease;
}

.cta-btn:hover {
  background: #0ea572;
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn-floating {
  position: fixed;
  right: auto;
  bottom: 20px;
  left: 50%;
  width: min(calc(100% - 40px), 440px);
  margin-top: 0;
  transform: translateX(-50%);
  z-index: 1000;
}

.cta-btn-floating:hover {
  transform: translateX(-50%) translateY(-1px);
}

.cta-btn-floating:active {
  transform: translateX(-50%);
}

.whatsapp-mark {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}

.photo-card {
  position: relative;
  width: min(100% - 32px, 600px);
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-card .info-card {
  position: absolute;
  z-index: 2;
  top: 40%;
  right: 16px;
  left: 16px;
}

.photo-badge {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 0;
  border-radius: 999px 999px 0 0;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 16px;
}

.stats-section {
  padding: 26px 0 31px;
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  min-height: 110px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(45deg, #fff 0%, #fff 58%, #f7fafc 58%, #fff 100%);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
}

.stat-number {
  color: var(--primary);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 700;
}

.info-card {
  border: 1px solid rgba(219, 227, 238, 0.78);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.13);
  padding: 14px 16px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.info-card p {
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 32px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -80px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-box {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  padding: 26px 20px;
  text-align: center;
}

.cta-box h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.cta-box p {
  margin: 16px auto 0;
  max-width: 500px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0.95;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.timer-box {
  width: 74px;
  min-height: 88px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.timer-value {
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.timer-label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 800;
}

footer {
  background: #172033;
  color: #fff;
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 521px) {
  .container {
    width: min(100% - 32px, 480px);
  }

  .hero {
    padding-bottom: 118px;
  }

  .earnings-wrap {
    margin-top: -88px;
  }

  .earnings-amount {
    font-size: 36px;
  }

  .task-pills {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .info-card {
    padding: 22px;
  }

  .cta-btn {
    font-size: 16px;
  }
}
