﻿@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --purple: #a855f7;
  --pink:   #ec4899;
  --green:  #10b981;
  --red:    #f43f5e;
  --glass:  rgba(255,255,255,0.055);
  --border: rgba(255,255,255,0.10);
  --text:   #f8fafc;
  --sub:    rgba(248,250,252,0.50);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #09061a;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── ANIMATED BACKGROUND ORBS ── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(168,85,247,0.22) 0%, transparent 70%);
  filter: blur(60px);
  top: -150px; left: -150px;
  animation-duration: 22s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, rgba(236,72,153,0.18) 0%, transparent 70%);
  filter: blur(60px);
  bottom: 0; right: -100px;
  animation-duration: 17s;
  animation-delay: -9s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle at center, rgba(16,185,129,0.10) 0%, transparent 70%);
  filter: blur(50px);
  top: 45%; left: 30%;
  animation-duration: 28s;
  animation-delay: -15s;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -50px) scale(1.06); }
  100% { transform: translate(-30px, 35px) scale(0.94); }
}

/* ── PAGE LAYOUT ── */
.page-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 72px;
  min-height: 100vh;
}

/* ── HERO ── */
.hero {
  width: 100%;
  max-width: 520px;
  padding: 60px 24px 28px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168,85,247,0.13);
  border: 1px solid rgba(168,85,247,0.30);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8b4fe;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(26px, 7.5vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #e9d5ff 0%, #fbcfe8 55%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.hero p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto;
}

/* ── MAIN CARD ── */
.main-card {
  width: 100%;
  max-width: 520px;
  padding: 0 16px;
}
.card-inner {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 32px 64px rgba(0,0,0,0.5);
}

/* ── STEP HEADER ── */
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(248,250,252,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.step-pill {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  padding: 2px 8px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* ── PLATFORM GRID ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.platform-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 4px 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.platform-btn img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.platform-btn span {
  font-size: 9px;
  font-weight: 800;
  color: var(--sub);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.platform-btn:hover {
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168,85,247,0.15);
}
.platform-btn.active {
  background: rgba(168,85,247,0.18);
  border-color: rgba(168,85,247,0.55);
  box-shadow: 0 0 24px rgba(168,85,247,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.platform-btn.active span { color: #d8b4fe; }

/* ── INPUT ── */
.input-wrap { margin-bottom: 20px; }
.input-wrap input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap input::placeholder {
  color: rgba(248,250,252,0.22);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
}
.input-wrap input:focus {
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.12), 0 0 24px rgba(168,85,247,0.08);
}

/* ── BUTTON ── */
.btn-check {
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  border: none;
  border-radius: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 32px rgba(168,85,247,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-check::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-check:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(168,85,247,0.55), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-check:hover::before { opacity: 1; }
.btn-check:active { transform: scale(0.98); }
.btn-check:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── LOADER ── */
.loader {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0 12px;
}
.loader.show { display: flex; }
.spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(168,85,247,0.15);
  border-top-color: #a855f7;
  border-right-color: #ec4899;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader p { font-size: 13px; color: var(--sub); font-weight: 500; }

/* ── RESULT CARD ── */
.result-card {
  display: none;
  width: 100%;
  max-width: 520px;
  padding: 0 16px;
  margin-top: 20px;
  animation: fadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.result-card.show { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-card-inner {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.result-card.success .result-card-inner { border-color: rgba(16,185,129,0.35); }
.result-card.fail    .result-card-inner { border-color: rgba(244,63,94,0.35);  }

.result-header {
  padding: 24px 24px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.result-card.success .result-header { background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(16,185,129,0.05)); }
.result-card.fail    .result-header { background: linear-gradient(135deg, rgba(244,63,94,0.18),  rgba(244,63,94,0.05));  }

.result-icon { font-size: 42px; line-height: 1; }
.result-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.result-card.success .result-title { color: #6ee7b7; }
.result-card.fail    .result-title { color: #fda4af; }
.result-sub { font-size: 12px; color: var(--sub); margin-top: 3px; font-weight: 500; }

.result-body {
  padding: 0 24px 24px;
  background: rgba(0,0,0,0.20);
}

/* injected by JS */
.bonus-badge {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  border-radius: 10px;
  padding: 6px 20px;
  margin: 16px 0 18px;
  box-shadow: 0 4px 24px rgba(168,85,247,0.40);
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--sub); font-weight: 500; }
.info-row .value { font-weight: 700; color: var(--text); }
.result-msg { font-size: 14px; line-height: 1.7; color: var(--sub); margin-top: 14px; }
.result-msg strong { color: #d8b4fe; font-weight: 700; }
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  border: none;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-contact:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }
.screenshot-hint {
  margin-top: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── ERROR ── */
.error-msg {
  display: none;
  margin-top: 14px;
  background: rgba(244,63,94,0.10);
  border: 1px solid rgba(244,63,94,0.25);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #fda4af;
  text-align: center;
  font-weight: 600;
}
.error-msg.show { display: block; }

/* ── FOOTER ── */
footer {
  margin-top: 40px;
  text-align: center;
  font-size: 11px;
  color: rgba(248,250,252,0.20);
  letter-spacing: 0.5px;
}
