/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #0a0e27;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-y: auto;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

/* ============ ANIMATED BACKGROUND ============ */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, #1e3a8a 0%, transparent 50%),
    radial-gradient(ellipse at bottom, #0e7490 0%, transparent 60%),
    linear-gradient(180deg, #0a0e27 0%, #050816 100%);
  z-index: -2;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 15s ease-in-out infinite;
}
.orb-1 { width: 300px; height: 300px; background: #00bcd4; top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: #6366f1; top: 40%; right: -150px; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: #ec4899; bottom: -100px; left: 30%; animation-delay: -10s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ============ HUD ============ */
.hud {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hud-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 18px;
}
.hud-coin { font-size: 20px; }
.hud-amount {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}
.hud-amount.bump { transform: scale(1.2); }

.hud-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.hud-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00bcd4, #6366f1, #ec4899);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.hud-step {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ APP ============ */
.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 18px 40px;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ============ SCREENS ============ */
.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: fadeUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.screen.active { display: flex; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ INTRO SCREEN ============ */
.screen-intro {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 40px 0;
}

.intro-logo { margin-bottom: 28px; }

.logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 188, 212, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  animation: shine 3s linear infinite;
}

@keyframes shine {
  0% { transform: translate(-100%, -100%); }
  100% { transform: translate(100%, 100%); }
}

.intro-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: linear-gradient(135deg, #00bcd4 0%, #6366f1 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-tagline {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}
.intro-tagline b { color: #fbbf24; }

.intro-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 28px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(0, 188, 212, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #a5b4fc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.ai-pulse {
  width: 7px;
  height: 7px;
  background: #6366f1;
  border-radius: 50%;
  box-shadow: 0 0 10px #6366f1;
  animation: aiPulse 1.8s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.intro-sub b {
  color: #6366f1;
  font-weight: 700;
}

.intro-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.feature-pill {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.intro-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  justify-content: center;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.meta-item b {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.meta-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 28px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 360px;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #00bcd4 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-telegram {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(42, 171, 238, 0.5);
  margin-bottom: 12px;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-glow:hover::before { opacity: 1; }

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: inherit;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.tg-icon {
  width: 22px;
  height: 22px;
}

.btn-text {
  margin-top: 12px;
  padding: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  width: 100%;
}
.btn-text:hover { color: #fff; }

/* ============ TASK SCREEN ============ */
.screen-task { padding-top: 12px; }

.ai-hint {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #a5b4fc;
  padding: 8px 14px;
  margin-bottom: 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  letter-spacing: 0.2px;
}

.task-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.task-icon { font-size: 20px; }
.task-type {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.task-reward {
  padding: 4px 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
}

.task-product {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.product-image {
  width: 180px;
  height: 180px;
  border-radius: 22px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.18) 50%, transparent 55%);
  animation: shine 4s linear infinite;
  pointer-events: none;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-price {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #a5b4fc;
}

.task-question {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.4;
}

.task-question-sm {
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 12px;
}

/* ============ OPTIONS ============ */
.task-options {
  display: grid;
  gap: 10px;
}
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }

.option-btn {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  color: #fff;
  min-height: 56px;
  backdrop-filter: blur(10px);
}

.option-btn:active { transform: scale(0.96); }

.option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
}

.option-btn.correct {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  animation: pulse 0.4s ease;
}

.option-btn.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  opacity: 0.5;
}

.option-btn.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.option-headline, .option-review {
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  padding: 14px 16px;
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============ RATING ============ */
.rating-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.rating-btn {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  transition: all 0.2s;
}

.rating-btn:active { transform: scale(0.9); }

.rating-btn:nth-child(1), .rating-btn:nth-child(2), .rating-btn:nth-child(3) {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}
.rating-btn:nth-child(4), .rating-btn:nth-child(5), .rating-btn:nth-child(6), .rating-btn:nth-child(7) {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}
.rating-btn:nth-child(8), .rating-btn:nth-child(9), .rating-btn:nth-child(10) {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.rating-btn.selected {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.rating-hint {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.audience-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.audience-btn {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s;
}

.audience-btn:active { transform: scale(0.96); }

.audience-btn.correct {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  animation: pulse 0.4s ease;
}

.audience-btn.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  opacity: 0.5;
}

.audience-btn.disabled {
  pointer-events: none;
  opacity: 0.4;
}

/* ============ COIN FLY ============ */
.coin-fly {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 900;
  z-index: 100;
  pointer-events: none;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
  animation: coinFly 1.2s cubic-bezier(0.5, -0.5, 0.5, 1.5) forwards;
}

@keyframes coinFly {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  100% {
    opacity: 0;
    transform: translate(-50%, -200%) scale(0.8);
  }
}

/* ============ FINAL SCREEN ============ */
.screen-final {
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px 0;
}

.final-trophy {
  font-size: 80px;
  margin-bottom: 16px;
  animation: trophyBounce 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 30px rgba(251, 191, 36, 0.5));
}

@keyframes trophyBounce {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.final-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
}

.final-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-bottom: 8px;
}

.ai-thanks {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(0, 188, 212, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 16px;
  max-width: 360px;
  width: 100%;
}

.ai-thanks-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.ai-thanks-text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-align: left;
}

.final-amount {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 32px;
  animation: amountPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes amountPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.promo-card {
  width: 100%;
  max-width: 360px;
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border: 1.5px dashed rgba(251, 191, 36, 0.5);
  border-radius: 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.6s ease 0.6s both;
}

.promo-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(251, 191, 36, 0.9);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-code {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  font-family: 'Inter', monospace;
}

.promo-copy {
  padding: 10px 20px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  transition: all 0.2s;
}
.promo-copy:active { transform: scale(0.95); }
.promo-copy:hover { background: rgba(251, 191, 36, 0.25); }

.promo-hint {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.final-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #00bcd4, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============ CONFETTI ============ */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -20px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s both;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translate(-50%, 0); }
  to { opacity: 0; transform: translate(-50%, 20px); }
}

/* ============ DESKTOP TUNING ============ */
@media (min-width: 600px) {
  .intro-title { font-size: 56px; }
  .final-amount { font-size: 88px; }
  .logo-circle { width: 140px; height: 140px; border-radius: 36px; }
  .product-image { width: 220px; height: 220px; }
}

/* ============ FOOTER SECTION ============ */
.footer-section {
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 18px 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ----- Bot Card ----- */
.bot-card {
  position: relative;
  padding: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(0, 188, 212, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.bot-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  pointer-events: none;
}

.bot-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
}

.bot-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

.bot-card-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.bot-card-handle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.bot-card-online {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
}

.online-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.bot-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  position: relative;
}
.bot-card-desc b { color: #fbbf24; font-weight: 700; }

.bot-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  position: relative;
}

.bcf-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.bot-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.dl-icon { width: 18px; height: 18px; }

.bot-card-actions .btn {
  width: 100%;
  max-width: none;
}

/* ----- How it works block ----- */
.how-block {
  padding: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(0, 188, 212, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.how-block::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  pointer-events: none;
}

.how-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
}

.how-icon {
  font-size: 24px;
}

.how-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.how-lead {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
  position: relative;
}
.how-lead b { color: #a5b4fc; font-weight: 700; }

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.how-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #00bcd4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.how-step-body { flex: 1; min-width: 0; }

.how-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.how-step-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

/* ----- Partners blocks ----- */
.partners-block {
  display: flex;
  flex-direction: column;
}

.partners-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.partners-icon { font-size: 22px; }

.partners-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.partners-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

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

@media (min-width: 480px) {
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  min-height: 56px;
}

.brand-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ----- Trust row ----- */
.trust-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.trust-icon { font-size: 14px; }

/* ----- Big CTA ----- */
.final-cta {
  text-align: center;
  padding: 28px 22px;
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.12), transparent 70%),
    linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(0, 188, 212, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.final-cta-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.final-cta-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.5;
}
.final-cta-sub b { color: #fbbf24; }

.btn-big {
  padding: 20px 32px;
  font-size: 17px;
  width: 100%;
}

/* ----- Page footer ----- */
.page-footer {
  text-align: center;
  padding-top: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

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