/* Claim — light premium with cinematic motion */

.claim-page-v2 {
  --bg: #faf9f6;
  --bg-2: #ffffff;
  --ink: #0c1222;
  --ink-2: #3d4659;
  --line: rgba(12, 18, 34, 0.08);
  --line-2: rgba(12, 18, 34, 0.12);
  --green: #12a35a;
  --green-2: #0d8a4a;
  --green-soft: rgba(18, 163, 90, 0.1);
  --mint: #5ef0a5;
  --gold: #f0a020;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --font: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.claim-page-v2 .site-header,
.claim-page-v2 .light-beam {
  display: none !important;
}

/* ===== Ambient stage ===== */
.cv2-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 240, 165, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(240, 160, 32, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(18, 163, 90, 0.1), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #faf9f6 45%, #f3f7f4 100%);
}

.cv2-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform;
  opacity: 0.55;
}

.cv2-blob-1 {
  width: 380px;
  height: 380px;
  top: -8%;
  left: 40%;
  background: rgba(94, 240, 165, 0.45);
  animation: blob-drift-1 14s var(--ease) infinite alternate;
}

.cv2-blob-2 {
  width: 260px;
  height: 260px;
  top: 35%;
  right: -5%;
  background: rgba(240, 160, 32, 0.28);
  animation: blob-drift-2 18s var(--ease) infinite alternate;
}

.cv2-blob-3 {
  width: 220px;
  height: 220px;
  bottom: 5%;
  left: -3%;
  background: rgba(18, 163, 90, 0.22);
  animation: blob-drift-3 16s var(--ease) infinite alternate;
}

@keyframes blob-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 50px) scale(1.12); }
}
@keyframes blob-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-50px, -30px) scale(1.15); }
}
@keyframes blob-drift-3 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -40px) scale(1.1); }
}

/* floating dots */
.cv2-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.35;
  animation: spark-float 8s var(--ease) infinite;
}
.cv2-spark:nth-child(4) { left: 12%; top: 28%; animation-delay: 0s; }
.cv2-spark:nth-child(5) { left: 78%; top: 22%; animation-delay: 1.2s; background: var(--gold); }
.cv2-spark:nth-child(6) { left: 55%; top: 70%; animation-delay: 2.4s; }
.cv2-spark:nth-child(7) { left: 22%; top: 75%; animation-delay: 0.8s; background: var(--mint); }
.cv2-spark:nth-child(8) { left: 88%; top: 60%; animation-delay: 3s; }

@keyframes spark-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-24px) scale(1.4); opacity: 0.55; }
}

/* ===== Header island ===== */
.cv2-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 20px 0;
}

.cv2-header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(12, 18, 34, 0.06);
  animation: slide-down 0.7s var(--ease) both;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cv2-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 750;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.cv2-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  transition: transform 0.4s var(--ease-spring);
}

.cv2-brand:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.cv2-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cv2-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.cv2-nav a:hover {
  color: var(--ink);
  background: rgba(12, 18, 34, 0.04);
}

.cv2-nav-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  color: #fff !important;
  padding: 8px 16px !important;
}

.cv2-nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.cv2-nav-cta:hover::after {
  transform: translateX(120%);
}

.cv2-nav-cta:hover {
  background: #1a2236 !important;
}

/* ===== Main ===== */
.cv2-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 28px 20px 64px;
}

.cv2-shell {
  width: min(460px, 100%);
}

.cv2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: 12px;
  font-weight: 750;
  animation: fade-up 0.7s 0.05s var(--ease) both;
}

.cv2-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 1.8s var(--ease) infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(18, 163, 90, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(18, 163, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 163, 90, 0); }
}

.cv2-title {
  margin: 0 0 12px;
  font-size: clamp(36px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  animation: fade-up 0.75s 0.1s var(--ease) both;
}

.cv2-title .cv2-word {
  display: inline-block;
  background: linear-gradient(120deg, var(--green) 0%, #0d8a4a 40%, #1fd37a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 4s ease infinite, word-pop 0.8s 0.2s var(--ease-spring) both;
}

@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes word-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cv2-subtitle {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 34ch;
  animation: fade-up 0.75s 0.18s var(--ease) both;
}

.cv2-subtitle strong {
  color: var(--ink);
  font-weight: 750;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stock card */
.cv2-panel {
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(18, 163, 90, 0.12), rgba(240, 160, 32, 0.08));
  animation: fade-up 0.8s 0.22s var(--ease) both;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.cv2-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(18, 163, 90, 0.1);
}

.cv2-panel-inner {
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.cv2-panel.is-hot {
  background: linear-gradient(145deg, rgba(240, 160, 32, 0.18), rgba(240, 160, 32, 0.05));
}
.cv2-panel.is-low {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.14), rgba(239, 68, 68, 0.04));
  animation: shake-soft 2.4s var(--ease) infinite, fade-up 0.8s 0.22s var(--ease) both;
}

@keyframes shake-soft {
  0%, 100% { transform: translateX(0); }
  2% { transform: translateX(-1.5px); }
  4% { transform: translateX(1.5px); }
  6% { transform: translateX(0); }
}

.cv2-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.cv2-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b92a3;
}

.cv2-big-num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cv2-big-num span {
  display: inline-block;
  transition: transform 0.35s var(--ease-spring), color 0.3s ease;
}

.cv2-big-num.bump span {
  animation: num-bump 0.45s var(--ease-spring);
}

@keyframes num-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); color: var(--green); }
  100% { transform: scale(1); }
}

.cv2-big-num small {
  font-size: 16px;
  font-weight: 650;
  color: #9aa3b5;
  margin-left: 2px;
}

.cv2-status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--green-soft);
  color: var(--green-2);
  transition: transform 0.35s var(--ease-spring), background 0.3s ease, color 0.3s ease;
}

.cv2-panel.is-hot .cv2-status-pill {
  background: #fff4e0;
  color: #9a5b00;
  animation: pill-bounce 1.2s var(--ease-spring) infinite;
}

.cv2-panel.is-low .cv2-status-pill,
.cv2-panel.is-empty .cv2-status-pill {
  background: #fde8ea;
  color: #b42318;
  animation: pill-bounce 0.9s var(--ease-spring) infinite;
}

@keyframes pill-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.cv2-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #eef1f6;
  overflow: hidden;
  margin-bottom: 12px;
}

.cv2-track-fill {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d8a4a, #12a35a 40%, #5ef0a5);
  transition: width 0.7s var(--ease);
  overflow: hidden;
}

.cv2-track-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  animation: sheen 2.2s ease infinite;
}

@keyframes sheen {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cv2-panel.is-hot .cv2-track-fill {
  background: linear-gradient(90deg, #c47a10, #f0a020);
}
.cv2-panel.is-low .cv2-track-fill {
  background: linear-gradient(90deg, #b42318, #f04438);
}

.cv2-panel-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.cv2-panel-meta strong {
  color: var(--ink);
  font-weight: 750;
}

/* Form glass */
.cv2-glass {
  padding: 4px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 163, 90, 0.14), rgba(255,255,255,0.6) 40%, rgba(240,160,32,0.1));
  box-shadow: 0 24px 60px rgba(12, 18, 34, 0.08);
  animation: fade-up 0.85s 0.28s var(--ease) both;
}

.cv2-glass-inner {
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.cv2-field {
  margin-bottom: 16px;
}

.cv2-captcha {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cv2-captcha-q {
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #fff, #f6f8fb);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(12, 18, 34, 0.04);
  transition: transform 0.35s var(--ease-spring);
}

.cv2-captcha-q.flip {
  animation: captcha-flip 0.45s var(--ease-spring);
}

@keyframes captcha-flip {
  0% { transform: scale(0.92) rotateX(12deg); opacity: 0.4; }
  100% { transform: scale(1) rotateX(0); opacity: 1; }
}

.cv2-ghost {
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.cv2-ghost:hover {
  color: var(--ink);
  border-color: rgba(18, 163, 90, 0.35);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.cv2-ghost:active {
  transform: scale(0.97);
}

.cv2-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.cv2-input::placeholder {
  color: #a8b0c0;
}

.cv2-input:focus {
  border-color: rgba(18, 163, 90, 0.5);
  box-shadow: 0 0 0 4px rgba(18, 163, 90, 0.12);
  transform: translateY(-1px);
}

.cv2-primary {
  position: relative;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d8a4a 0%, #12a35a 45%, #1fd37a 100%);
  background-size: 180% 100%;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(18, 163, 90, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
  animation: btn-glow 3s ease infinite;
}

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 12px 28px rgba(18, 163, 90, 0.28); background-position: 0% 50%; }
  50% { box-shadow: 0 16px 36px rgba(18, 163, 90, 0.4); background-position: 100% 50%; }
}

.cv2-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: primary-sheen 2.8s ease infinite;
}

@keyframes primary-sheen {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.cv2-primary:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
}

.cv2-primary:active:not(:disabled) {
  transform: scale(0.985);
}

.cv2-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  animation: none;
  box-shadow: none;
}

.cv2-primary .claim-submit-text {
  position: relative;
  z-index: 1;
}

.cv2-primary.is-loading .claim-submit-text {
  opacity: 0.85;
}

.cv2-msg {
  min-height: 22px;
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  transition: color 0.25s ease;
}

.cv2-msg.is-error {
  color: #c2410c;
  animation: msg-shake 0.4s var(--ease);
}

.cv2-msg.is-success {
  color: var(--green-2);
}

@keyframes msg-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.cv2-notes {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: #7a8294;
}

.cv2-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 0.55s var(--ease) both;
}

.cv2-notes li:nth-child(1) { animation-delay: 0.35s; }
.cv2-notes li:nth-child(2) { animation-delay: 0.42s; }
.cv2-notes li:nth-child(3) { animation-delay: 0.49s; }

.cv2-notes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(94, 240, 165, 0.2);
  flex-shrink: 0;
}

/* Success */
.cv2-success {
  margin-top: 16px;
  padding: 4px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18, 163, 90, 0.2), rgba(94, 240, 165, 0.12));
  animation: success-pop 0.55s var(--ease-spring) both;
}

@keyframes success-pop {
  0% { opacity: 0; transform: translateY(20px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.cv2-success-inner {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(18, 163, 90, 0.16);
}

.cv2-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cv2-confetti i {
  position: absolute;
  top: -8px;
  width: 6px;
  height: 10px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall 1.4s var(--ease) forwards;
}

@keyframes confetti-fall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(120px) rotate(240deg); }
}

.cv2-success-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cv2-success-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: pill-bounce 1.1s var(--ease-spring) infinite;
}

.cv2-success-hint {
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-2);
}

.cv2-code {
  display: block;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #141b2d, #0c1222);
  color: #f7faf8;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  word-break: break-all;
  box-shadow: 0 0 0 1px rgba(94, 240, 165, 0.25), 0 12px 32px rgba(12, 18, 34, 0.2);
  animation: code-glow 2.5s ease infinite;
}

@keyframes code-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(94, 240, 165, 0.25), 0 12px 32px rgba(12, 18, 34, 0.2); }
  50% { box-shadow: 0 0 0 2px rgba(94, 240, 165, 0.45), 0 14px 36px rgba(18, 163, 90, 0.18); }
}

.cv2-validity {
  margin: 14px 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffefb, #f7faf8);
}

.cv2-validity-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cv2-validity-val {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.cv2-validity-end {
  color: #b45309;
}

.cv2-remain {
  text-align: center;
  padding-top: 12px;
  border-top: 1px dashed rgba(18, 163, 90, 0.25);
}

.cv2-remain strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--green);
  text-shadow: 0 0 24px rgba(18, 163, 90, 0.2);
}

.cv2-remain strong.is-urgent {
  color: #ea580c;
  animation: pulse-ring 1s ease infinite;
}

.cv2-remain strong.is-expired {
  color: #c2410c;
  font-size: 18px;
  text-shadow: none;
}

.cv2-meta {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #8b92a3;
}

.cv2-footer {
  position: relative;
  z-index: 1;
  padding: 18px;
  text-align: center;
  font-size: 12px;
  color: #9aa3b5;
}

/* shared */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .cv2-main { padding: 20px 14px 48px; }
  .cv2-header { padding: 12px 12px 0; }
  .cv2-big-num { font-size: 40px; }
  .cv2-validity-row { grid-template-columns: 1fr; }
  .cv2-remain strong { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .cv2-blob,
  .cv2-spark,
  .cv2-pulse,
  .cv2-primary,
  .cv2-track-fill::after,
  .cv2-code,
  .cv2-success,
  .cv2-success-mark,
  .cv2-panel.is-low,
  .cv2-status-pill,
  .cv2-notes li {
    animation: none !important;
  }
}
