/* ============ TOKENS ============ */
:root {
  --navy: #0b1f3a;
  --navy-2: #12294d;
  --yellow: #ffd21f;
  --red: #e8323f;
  --red-dark: #c4202e;
  --sky-1: #7ec3ef;
  --sky-2: #dff1fc;
  --bg-soft: #f4f8fc;
  --bg-blue: #e8f2fb;
  --green: #17a34a;
  --ink: #1c2430;
  --muted: #6b7280;
  --display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --body-font: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--body-font);
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; }

/* ============ SECURITY INFO BAR ============ */
.secbar {
  background: #060f1f;
  color: #9fb4d0;
  font-size: 12px;
  padding: 8px 24px;
  position: relative;
  z-index: 30;
}
.secbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sec-group { display: flex; align-items: center; }
.sec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  white-space: nowrap;
}
.sec-item + .sec-item { border-left: 1px solid rgba(159,180,208,.22); }
.sec-item b { color: #e8eef7; font-weight: 700; }
.sec-ok { color: #4ade80; font-weight: 700; letter-spacing: .4px; }
.sec-enc { color: #4ade80; }
.sec-enc .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* ============ TOP BAR ============ */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 14px 0;
  transform: translateY(33px);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.icon-shoe { width: 26px; height: 16px; }
.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(11,31,58,.35);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: url("../img/hero.jpg") no-repeat center 52% / cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(11,31,58,.66) 0%,
    rgba(11,31,58,.38) 42%,
    rgba(11,31,58,0) 74%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 0;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.hero-copy { flex: 1; padding-bottom: 110px; }

.hero h1 { line-height: 1.04; }
.line-white {
  display: block;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: 1px;
  text-shadow: 0 3px 8px rgba(11,31,58,.28);
}
.line-price { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.line-price .line-white { font-size: clamp(30px, 3.6vw, 52px); }

/* rough paint-stroke label */
.brush {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: 1px;
  color: var(--navy);
  background: var(--yellow);
  padding: 6px 26px 10px;
  margin: 6px 0;
  transform: skew(-6deg) rotate(-1deg);
  clip-path: polygon(1% 14%, 4% 4%, 9% 11%, 16% 2%, 24% 10%, 32% 3%, 40% 11%, 48% 4%, 56% 10%, 64% 2%, 72% 10%, 80% 4%, 88% 11%, 95% 3%, 99% 12%, 100% 24%, 98% 44%, 100% 62%, 97% 80%, 99% 92%, 94% 98%, 86% 92%, 78% 99%, 70% 93%, 62% 100%, 53% 94%, 45% 99%, 37% 93%, 28% 99%, 20% 92%, 12% 98%, 5% 92%, 1% 96%, 0% 84%, 2% 62%, 0% 40%, 2% 22%);
}

/* price starburst */
.starburst {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(110px, 12vw, 160px);
  height: clamp(110px, 12vw, 160px);
  padding: 0 clamp(16px, 2vw, 30px);
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 70px);
  transform: rotate(-8deg);
  clip-path: polygon(50% 0%, 58% 12%, 72% 5%, 76% 19%, 91% 16%, 88% 31%, 100% 37%, 92% 50%, 100% 63%, 88% 69%, 91% 84%, 76% 81%, 72% 95%, 58% 88%, 50% 100%, 42% 88%, 28% 95%, 24% 81%, 9% 84%, 12% 69%, 0% 63%, 8% 50%, 0% 37%, 12% 31%, 9% 16%, 24% 19%, 28% 5%, 42% 12%);
  text-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.starburst i { font-style: normal; font-size: .5em; margin-right: 2px; margin-top: -22px; }

.hero-sub {
  margin-top: 26px;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 2px 6px rgba(11,31,58,.3);
}

/* hero right column: prize teaser + CTA */
.hero-cta {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 110px;
  gap: 22px;
}
.hero-prize {
  position: relative;
  display: grid;
  animation: heroFloat 4s ease-in-out infinite;
}
.hero-prize-img {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(430px, 100%);
  display: block;
  filter: drop-shadow(0 26px 30px rgba(0,0,0,.45));
}
.p-shoes  { animation: swapShoes 9s ease-in-out infinite; }
.p-iphone {
  width: min(320px, 74%);
  animation: swapIphone 9s ease-in-out infinite;
}
@keyframes swapShoes {
  0%, 42%   { opacity: 1; transform: rotate(0deg)   scale(1); }
  50%, 92%  { opacity: 0; transform: rotate(10deg)  scale(.88); }
  100%      { opacity: 1; transform: rotate(0deg)   scale(1); }
}
@keyframes swapIphone {
  0%, 42%   { opacity: 0; transform: rotate(-12deg) scale(.88); }
  50%, 90%  { opacity: 1; transform: rotate(0deg)   scale(1); }
  100%      { opacity: 0; transform: rotate(12deg)  scale(.88); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(-1deg); }
}
.lucky-badge {
  position: absolute;
  top: 6%; right: -2%;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ff5b66 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
  box-shadow: 0 10px 22px rgba(0,0,0,.4), inset 0 2px 0 rgba(255,255,255,.35);
}
.b-shoes  { animation: swapShoes 9s ease-in-out infinite; }
.b-iphone {
  background: radial-gradient(circle at 34% 30%, #f7d354 0%, var(--yellow) 55%, #d9a800 100%);
  color: var(--navy);
  font-size: 22px;
  animation: swapIphone 9s ease-in-out infinite;
}
.hero-cta .btn-cta { font-size: 20px; padding: 15px 38px; }

/* ============ BRAND STRIP ============ */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px;
  background: #fff;
}
.brands .bl { display: block; width: auto; object-fit: contain; }
.bl-nike     { height: 40px; }
.bl-adidas   { height: 54px; }
.bl-nb       { height: 46px; }
.bl-puma     { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bl-puma .cat  { height: 21px; }
.bl-puma .word { height: 29px; }
.bl-converse { height: 40px; }
.bl-vans     { height: 52px; }

/* ============ WHAT YOU COULD WIN ============ */
.win { background: var(--bg-soft); padding: 64px 24px 72px; }
.win-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.win h2 { color: var(--navy); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .5px; margin-bottom: 28px; }
.win ul { list-style: none; }
.win li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 19px;
  font-weight: 600;
  color: #26303d;
  margin-bottom: 20px;
  line-height: 1.35;
}
.check {
  flex: 0 0 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  box-shadow: 0 2px 5px rgba(23,163,74,.4);
}
.check::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 8px; height: 5px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

/* shoe pile — single collection photo */
.win-pile { position: relative; height: 470px; }
.pile-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11,31,58,.22);
}
.love-badge {
  position: absolute;
  top: -14px; right: 2%;
  width: 122px; height: 122px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: rotate(8deg);
  box-shadow: 0 8px 18px rgba(200,32,46,.45);
  z-index: 4;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--bg-blue);
  text-align: center;
  padding: 52px 20px 46px;
}
.brush-r {
  background: var(--red);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.brush.big { font-size: clamp(30px, 4.4vw, 56px); padding: 8px 34px 12px; }
.cta-banner p { margin-top: 22px; color: var(--navy); font-weight: 600; font-size: 17px; line-height: 1.5; }

/* ============ HOW IT WORKS ============ */
.how { padding: 60px 24px 70px; background: #fff; }
.how > h2 { color: var(--navy); font-size: clamp(24px, 2.6vw, 32px); max-width: 1120px; margin: 0 auto 40px; }
.steps {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.step { padding: 0 30px; }
.step + .step { border-left: 1px solid #dde4ec; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-head svg { width: 44px; height: 32px; }
.step h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; letter-spacing: .2px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ============ LIMITED BANNER ============ */
.limited {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}
.limited h3 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.limited p { font-size: 14px; opacity: .85; }

/* ============ FINAL CTA ============ */
.final {
  position: relative;
  background: #0a1830;
  text-align: center;
  padding: 64px 20px 44px;
  overflow: hidden;
}
.final-bg .fb {
  position: absolute;
  width: 240px;
  opacity: .13;
  --body: #ffffff;
  --panel: #ffffff;
  --accent: #ffffff;
  --sole: #ffffff;
  --outsole: #ffffff;
  --stripe: #ffffff;
  --collar: #ffffff;
  --tongue: #ffffff;
  --laces: #ffffff;
  --seam: #ffffff;
}
.fb1 { top: -30px; left: 4%;  transform: rotate(-18deg); }
.fb2 { bottom: -46px; left: 22%; transform: rotate(8deg) scaleX(-1); }
.fb3 { top: -20px; right: 18%; transform: rotate(14deg) scaleX(-1); }
.fb4 { bottom: -40px; right: 2%; transform: rotate(-10deg); }

.btn-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #ff4b57 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 18px 44px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(232,50,63,.5), inset 0 2px 0 rgba(255,255,255,.35);
  transition: transform .15s ease, box-shadow .15s ease;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 32px rgba(232,50,63,.6), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-cta .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  font-family: var(--body-font);
  font-weight: 800;
  line-height: 1;
  padding-bottom: 2px;
}
.btn-cta.small { font-size: 17px; padding: 12px 34px; }
.final-tag { position: relative; z-index: 2; margin-top: 20px; color: #dfe7f2; font-style: italic; font-size: 15px; }

/* ============ TRUST ROW ============ */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 80px;
  padding: 34px 20px;
  background: #fff;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--navy);
  font-size: 14px;
}
.trust-item svg { margin-bottom: 6px; }
.trust-item span { color: var(--muted); font-size: 12px; }

/* ============ TERMS ============ */
.terms {
  padding: 18px 24px 26px;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: #9aa3ad;
  max-width: 780px;
  margin: 0 auto;
}

/* ============ WHEEL PAGE ============ */
.wheel-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 70%, #1b3766 100%);
  padding: 120px 20px 60px;
  text-align: center;
}
/* navy pill is invisible on the navy wheel hero — invert it */
.wheel-page .offer-pill { background: #fff; color: var(--navy); }
.wheel-hero .cloud { opacity: .14; }
.wheel-hero .cloud.c1 { top: 40px; left: 12%; }
.wheel-hero .cloud.c2 { top: 90px; right: 10%; }
.wheel-head { position: relative; z-index: 5; }
.wheel-head .line-white { font-size: clamp(20px, 2.6vw, 30px); letter-spacing: 3px; }
.wheel-head .brush { font-size: clamp(44px, 6.5vw, 80px); }
.wheel-sub { color: #cdd9ec; font-size: 16px; margin-top: 18px; font-weight: 600; }
.entry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.entry-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #2fe07a; box-shadow: 0 0 8px #2fe07a; }
.entry-chip strong { color: var(--yellow); }

.wheel-stage {
  background: var(--bg-soft);
  padding: 56px 20px 60px;
  text-align: center;
}
.stage-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
}

/* grand prize card */
.prize-card {
  position: relative;
  flex: 0 0 250px;
  background: #fff;
  border-radius: 20px;
  padding: 58px 26px 30px;
  box-shadow: 0 18px 40px rgba(11,31,58,.16);
  text-align: center;
}
.prize-ribbon {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 1px;
  padding: 8px 24px 10px;
  white-space: nowrap;
  clip-path: polygon(2% 18%, 8% 4%, 20% 12%, 35% 3%, 50% 10%, 65% 3%, 80% 12%, 92% 4%, 98% 18%, 100% 50%, 97% 82%, 90% 96%, 76% 88%, 62% 98%, 50% 90%, 38% 98%, 24% 88%, 10% 96%, 3% 82%, 0% 50%);
}
.prize-img {
  width: 100%;
  max-width: 230px;
  margin: 4px auto 14px;
  display: block;
  filter: drop-shadow(0 16px 18px rgba(11,31,58,.25));
  animation: float 3.2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}
.prize-card h3 { color: var(--navy); font-size: 21px; letter-spacing: .3px; }
.prize-card .spec { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 6px; }
.prize-note {
  margin-top: 14px;
  font-size: 13px;
  color: #3d4756;
  background: #fff8dd;
  border: 1px solid #f0dd8a;
  border-radius: 10px;
  padding: 9px 12px;
  line-height: 1.45;
}
.prize-note b { color: #a07c00; }

.wheel-wrap {
  position: relative;
  width: min(560px, 92vw);
  margin: 0 auto;
}
.wheel-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,31,.30) 0%, rgba(255,210,31,.12) 45%, transparent 70%);
  z-index: 0;
}
#wheel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 30px rgba(11,31,58,.3));
  will-change: transform;
}
.pointer {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 56px; height: 66px;
  filter: drop-shadow(0 5px 6px rgba(0,0,0,.4));
}
.pointer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f9e08a 0%, #d4af37 55%, #9a7014 100%);
  clip-path: polygon(50% 100%, 4% 34%, 18% 0, 82% 0, 96% 34%);
}
.pointer::after {
  content: "";
  position: absolute;
  inset: 5px 7px 7px;
  background: linear-gradient(180deg, #ff5b66 0%, var(--red) 50%, var(--red-dark) 100%);
  clip-path: polygon(50% 100%, 4% 34%, 18% 0, 82% 0, 96% 34%);
}
.pointer .pin {
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c9 0%, #d4af37 55%, #8a6414 100%);
  box-shadow: 0 2px 5px rgba(0,0,0,.45), inset 0 -2px 3px rgba(0,0,0,.3);
}
.wheel-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid #fff;
  background: radial-gradient(circle at 32% 30%, #ff5b66 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(16px, 3vw, 26px);
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.35), inset 0 -4px 0 rgba(0,0,0,.2);
  transition: transform .12s ease;
}
.wheel-hub:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.05); }
.wheel-hub:disabled { cursor: default; filter: grayscale(.25) brightness(.9); }
.wheel-note {
  display: inline-block;
  margin-top: 26px;
  padding: 9px 20px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  background: #f4f7fb;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
}
.back-link {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.back-link:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,31,58,.62);
  backdrop-filter: blur(3px);
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(430px, 94vw);
  background: #fff;
  border-radius: 18px;
  padding: 66px 34px 34px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  animation: pop .35s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes pop {
  from { transform: scale(.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.modal-ribbon {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--display);
  font-size: 22px;
  padding: 8px 26px 10px;
  clip-path: polygon(2% 18%, 8% 4%, 20% 12%, 35% 3%, 50% 10%, 65% 3%, 80% 12%, 92% 4%, 98% 18%, 100% 50%, 97% 82%, 90% 96%, 76% 88%, 62% 98%, 50% 90%, 38% 98%, 24% 88%, 10% 96%, 3% 82%, 0% 50%);
}
.modal-img {
  width: 180px;
  margin: -10px auto 10px;
  display: block;
  filter: drop-shadow(0 10px 14px rgba(11,31,58,.25));
}
.modal-img[hidden] { display: none; }
.modal-card h2 { color: var(--navy); font-size: 34px; letter-spacing: .5px; margin-bottom: 10px; }
.modal-card > p { color: #3d4756; font-size: 15px; font-weight: 600; }
.modal-fine { font-size: 11px; color: #98a1ad; line-height: 1.55; margin: 16px 0 20px; }

/* confetti */
.confetti {
  position: fixed;
  top: -12px;
  z-index: 200;
  width: 10px; height: 14px;
  pointer-events: none;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(105vh) rotate(720deg); opacity: .9; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero { min-height: 560px; background-position: 68% 45%; }
  .hero-inner { padding-top: 100px; }
  .hero-copy { padding-bottom: 80px; }
  .win-inner { grid-template-columns: 1fr; }
  .win-pile { height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-cta { flex: none; width: 100%; padding-bottom: 60px; }
  .hero-prize-img { width: 300px; }
  .p-iphone { width: 230px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .step:nth-child(3) { border-left: none; }
  .stage-grid { flex-direction: column; gap: 56px; }
  .prize-card { flex: none; width: min(340px, 92vw); }
}
@media (max-width: 560px) {
  .sec-group .sec-item:nth-child(2),
  .sec-group .sec-item:nth-child(3) { display: none; }
  .win-pile { height: 300px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none !important; border-top: 1px solid #dde4ec; padding: 24px 0 0; }
  .step:first-child { border-top: none; padding-top: 0; }
  .love-badge { width: 100px; height: 100px; font-size: 12px; }
  .btn-cta { font-size: 19px; padding: 15px 30px; }
}

/* ============ CHECKOUT PAGE (Stripe style) ============ */
.pay-page {
  min-height: 100vh;
  background: #f6f9fc;
  display: flex;
  flex-direction: column;
}
.pay-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 40px;
}
.pay-card {
  display: flex;
  width: min(920px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(11,31,58,.14), 0 2px 8px rgba(11,31,58,.06);
  overflow: hidden;
}

/* left: order summary */
.pay-side {
  flex: 0 0 40%;
  background: linear-gradient(165deg, var(--navy) 0%, #12305c 60%, #173b70 100%);
  color: #fff;
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
}
.pay-back {
  color: #8fb4e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  margin-bottom: 26px;
}
.pay-back:hover { color: #fff; }
.pay-product { display: flex; align-items: center; gap: 14px; }
.pay-product img {
  width: 74px;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.4));
}
.pay-product h2 { font-size: 18px; font-weight: 800; }
.pay-product p { font-size: 12.5px; color: #9fb4d0; margin-top: 2px; }
.pay-lines { margin: 24px 0 4px; border-top: 1px solid rgba(255,255,255,.14); }
.pay-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  color: #c9d6ea;
}
.pay-total {
  border-top: 1px solid rgba(255,255,255,.14);
  font-weight: 800;
  color: #fff;
  font-size: 16px;
}
.pay-perks {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: #9fb4d0;
  line-height: 1.9;
}
.pay-perks li::before { content: "\2713  "; color: var(--yellow); font-weight: 700; }
.pay-secure {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  color: #7fd39a;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* right: form */
.pay-main { flex: 1; padding: 38px 40px 28px; }
.pay-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}
.field { display: block; margin-bottom: 10px; }
.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a5872;
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--navy);
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99,91,255,.15);
}
.card-wrap { position: relative; display: block; }
.card-wrap input { padding-right: 118px; }
.card-brands {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
}
.cb {
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  height: 20px;
  min-width: 30px;
  padding: 0 4px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity .15s;
}
.cb.off { opacity: .22; }
.cb-visa { background: #1a1f71; }
.cb-amex { background: #2e77bc; }
.cb-mc { background: transparent; position: relative; width: 34px; }
.cb-mc b { width: 16px; height: 16px; border-radius: 50%; }
.cb-mc b:first-child { background: #eb001b; margin-right: -6px; }
.cb-mc b:last-child  { background: #f79e1b; }
.card-row { display: flex; gap: 10px; margin-top: 10px; }
.card-row input { flex: 1; }
.phone-row { display: flex; gap: 10px; }
.phone-row > input { flex: 1; min-width: 0; }
.combo { position: relative; display: block; flex: 1; min-width: 0; }
.dial-combo { flex: 0 0 118px; }
.combo-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11,31,58,.16);
  z-index: 50;
}
.combo-list div {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.combo-list div:hover { background: #f0f4fb; }
.combo-list em {
  font-style: normal;
  color: #8a94a6;
  font-size: 12px;
}
.field-split { display: flex; gap: 12px; }
.field-split label { flex: 1; }
.err {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #d23c46;
  margin-top: 5px;
}
.err:empty { display: none; }

/* pay button */
.pay-btn {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border: 0;
  border-radius: 8px;
  background: #635bff;
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .15s, transform .05s;
}
.pay-btn:hover { background: #5249e8; }
.pay-btn:active { transform: scale(.99); }
.pay-btn.busy { opacity: .75; cursor: wait; }
.pay-btn.busy .lock { display: none; }
.pay-btn.busy span::before {
  content: "";
  display: inline-block;
  width: 13px; height: 13px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: paySpin .7s linear infinite;
}
@keyframes paySpin { to { transform: rotate(360deg); } }

.pay-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #8a94a6;
}
.pay-foot a { color: #8a94a6; }
.pay-foot b { color: #635bff; font-weight: 800; }
.dotsep { margin: 0 7px; }
.pay-note {
  margin-top: 18px;
  font-size: 12px;
  color: #98a2b3;
}

@media (max-width: 800px) {
  .pay-card { flex-direction: column; }
  .pay-side { flex: none; }
  .pay-main { padding: 30px 24px 24px; }
}

/* ============ ADMIN PANEL ============ */
.admin-page { min-height: 100vh; background: #f6f9fc; }
.adm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px;
  background: var(--navy);
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 1px;
}
.adm-top nav a {
  color: #9fb4d0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 18px;
}
.adm-top nav a:hover { color: #fff; }
.adm-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 52px);
}
.adm-login-card {
  width: min(360px, 90vw);
  background: #fff;
  border-radius: 14px;
  padding: 34px 30px 26px;
  box-shadow: 0 18px 50px rgba(11,31,58,.14);
  text-align: center;
}
.adm-login-card h1 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }
.adm-login-card input {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  outline: none;
}
.adm-login-card input:focus { border-color: #635bff; box-shadow: 0 0 0 3px rgba(99,91,255,.15); }
.adm-login-card button {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #635bff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.adm-login-card p { margin-top: 14px; font-size: 11.5px; color: #98a2b3; }
.adm-wrap { max-width: 1080px; margin: 0 auto; padding: 30px 20px 60px; }
.adm-stats { display: flex; gap: 16px; margin-bottom: 22px; }
.adm-stat {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(11,31,58,.06);
}
.adm-stat b { display: block; font-size: 26px; color: var(--navy); }
.adm-stat span { font-size: 12px; color: #8a94a6; }
.adm-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(11,31,58,.06);
}
.adm-card h2 { font-size: 16px; color: var(--navy); margin-bottom: 14px; }
.adm-card h2 small { font-weight: 500; color: #8a94a6; margin-left: 8px; }
.adm-cfg { margin-bottom: 12px; font-size: 13px; color: #4a5872; font-weight: 600; }
.adm-cfg input, .adm-table input {
  width: 80px;
  margin-left: 8px;
  padding: 6px 8px;
  font: inherit;
  border: 1px solid #dfe5ee;
  border-radius: 6px;
}
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .5px;
  color: #8a94a6;
  border-bottom: 1px solid #eef1f6;
  padding: 8px 10px;
}
.adm-table td { padding: 8px 10px; border-bottom: 1px solid #f4f6fa; color: #333c4e; }
.adm-table code { font-size: 12px; color: #635bff; }
.adm-btn {
  margin-top: 14px;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.adm-btn:hover { background: #16305c; }
.adm-msg { margin-left: 12px; font-size: 12.5px; color: #17a34a; }
#entriesTable { display: block; overflow-x: auto; }
#entriesTable td { white-space: nowrap; }
@media (max-width: 760px) {
  .adm-stats { flex-direction: column; }
  #entriesTable { display: block; overflow-x: auto; }
}

/* ---- payment flow animation ---- */
.pay-btn.done { background: #17a34a; cursor: default; }
.pay-btn.done:hover { background: #17a34a; }
.ck { width: 26px; height: 26px; }
.ck circle {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: ckCircle .5s ease forwards;
}
.ck path {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: ckTick .35s .45s ease forwards;
}
.ck.big { width: 84px; height: 84px; }
.ck.big circle, .ck.big path { stroke: #17a34a; }
@keyframes ckCircle { to { stroke-dashoffset: 0; } }
@keyframes ckTick { to { stroke-dashoffset: 0; } }

.pay-steps ul { list-style: none; padding: 0; margin: 30px 0; }
.pay-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 14px;
  color: #9aa4b5;
}
.pay-steps li i {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #dfe5ee;
  position: relative;
  box-sizing: border-box;
}
.pay-steps li.run { color: var(--navy); font-weight: 600; }
.pay-steps li.run i {
  border-color: #635bff;
  border-top-color: transparent;
  animation: paySpin .7s linear infinite;
}
.pay-steps li.ok { color: var(--navy); }
.pay-steps li.ok i { border-color: #17a34a; background: #17a34a; }
.pay-steps li.ok i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pay-success { text-align: center; padding-top: 16px; }
.pay-success h3 { font-size: 17px; color: var(--navy); margin: 14px 0 6px; }
.pay-success p { font-size: 13.5px; color: #4a5872; margin: 0; }
.pay-prog {
  height: 6px;
  border-radius: 3px;
  background: #eef1f6;
  overflow: hidden;
  margin: 20px 0 10px;
}
.pay-prog i {
  display: block;
  height: 100%;
  width: 0;
  background: #17a34a;
  border-radius: 3px;
  animation: payProg 2s linear forwards;
}
@keyframes payProg { to { width: 100%; } }
.pay-rd {
  font-size: 12.5px;
  color: #7a5c00;
  background: #fff6cf;
  border: 1.5px solid #ffd21f;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.5;
}

/* admin pager */
.adm-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.adm-pgbtn {
  padding: 8px 18px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.adm-pgbtn:hover:not(:disabled) { background: #f0f4fb; }
.adm-pgbtn:disabled { opacity: .4; cursor: default; }
#pgInfo { font-size: 13px; color: #8a94a6; }

/* wheel: get-more-spins link */
.more-spins {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}
.more-spins:hover { text-decoration: underline; }

/* landing countdown */
.cdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 20px auto 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,210,31,.55);
}
.cd-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--yellow);
}
.cdown b {
  font-family: "Archivo Black", sans-serif;
  font-size: 18px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* admin toolbar + delete */
.adm-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
#searchInput {
  flex: 1;
  max-width: 340px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  outline: none;
}
#searchInput:focus { border-color: #635bff; box-shadow: 0 0 0 3px rgba(99,91,255,.15); }
.adm-export {
  margin-top: 0;
  text-decoration: none;
  font-size: 13px;
  padding: 9px 18px;
  background: #17a34a;
}
.adm-export:hover { background: #128a3e; }
.del-btn {
  border: 0;
  background: none;
  color: #c0c7d2;
  font-size: 17px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}
.del-btn:hover { color: #d23c46; }

/* prize modal actions */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.modal-again {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #8a94a6;
  cursor: pointer;
  padding: 4px 10px;
}
.modal-again:hover { color: var(--navy); }

/* promo code input */
.promo-box {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.promo-box input {
  width: 180px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  outline: none;
}
.promo-box input::placeholder { color: rgba(255,255,255,.4); }
.promo-box input:focus { border-color: var(--yellow); }
.promo-box button {
  padding: 9px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
}
.promo-msg {
  text-align: center;
  font-size: 12.5px;
  font-style: normal;
  min-height: 0;
  margin: 8px 0 0;
}
.promo-msg.ok { color: #7fd39a; }
.promo-msg.bad { color: #ff8a92; }

/* admin status tags */
.tag-fresh, .tag-used {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 3px 8px;
  border-radius: 4px;
}
.tag-fresh { background: #e6f6ec; color: #17a34a; }
.tag-used { background: #f0f1f4; color: #8a94a6; }

/* ============ PAYPAL-STYLE CHECKOUT (pay2.html) ============ */
.pp-page {
  min-height: 100vh;
  background: #fff;
  font-family: Inter, sans-serif;
}
.pp-wrap { padding: 48px 16px 50px; }
.pp-card {
  width: min(440px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 30px 34px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.pp-logo { text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.pp-a { color: #003087; font-style: italic; }
.pp-b { color: #009cde; font-style: italic; }
.pp-merchant { text-align: center; font-size: 13px; color: #6b6b6b; margin: 2px 0 0; }
.pp-amount { text-align: center; font-size: 28px; font-weight: 700; color: #1a1a1a; margin: 8px 0 0; }
.pp-amount small { font-size: 14px; color: #6b6b6b; font-weight: 600; }
.pp-claim { text-align: center; font-size: 12.5px; color: #003087; font-weight: 600; margin-top: 4px; min-height: 15px; }
.pp-claim p { margin: 0; }
.pp-divider { border: 0; border-top: 1px solid #eee; margin: 16px -34px 20px; }

/* yellow PayPal pill */
.pp-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 24px;
  background: #ffc439;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
  cursor: pointer;
  transition: background .15s;
}
.pp-gold:hover { background: #f2bb33; }
.pp-gold-note {
  text-align: center;
  font-size: 11.5px;
  color: #8a8a8a;
  margin: 9px 0 0;
}
.pp-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
  color: #8a8a8a;
  font-size: 12.5px;
}
.pp-or::before, .pp-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid #e4e4e4;
}

.pp-sec { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 14px; }
.pp-page .field input, .pp-page .field select {
  border-color: #c9c9c9;
  border-radius: 6px;
  padding: 12px;
}
.pp-page .field input:focus, .pp-page .field select:focus {
  border-color: #001c64;
  box-shadow: 0 0 0 1px #001c64;
}
.pp-page .pay-btn {
  margin-top: 16px;
  background: #001c64;
  border-radius: 24px;
  font-size: 16px;
}
.pp-page .pay-btn:hover { background: #001749; }
.pp-page .pay-btn.done { background: #17a34a; }
.pp-page .pay-btn.done:hover { background: #17a34a; }
.pp-page .pay-btn .lock { display: none; }

.pp-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 18px 0 0;
  font-size: 11.5px;
  color: #8a8a8a;
}
.pp-powered b { color: #003087; }
.pp-cancel {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #003087;
  text-decoration: none;
}
.pp-cancel:hover { text-decoration: underline; }
.pp-foot {
  text-align: center;
  font-size: 11.5px;
  color: #9a9a9a;
  margin-top: 22px;
}
.pp-foot a { color: #9a9a9a; text-decoration: none; }

/* admin: fixed promo code view */
.promo-code-view {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  background: #0f1f38; color: #ffd21f; font-size: 15px;
  font-weight: 700; letter-spacing: .5px; vertical-align: middle;
}
.adm-hint { margin-left: 18px; font-size: 12px; color: #8592a6; font-style: normal; }
.adm-hint code { background: #eef1f6; padding: 1px 5px; border-radius: 4px; }

/* promo success modal */
.ribbon-green { background: var(--green); color: #fff; }
.promo-check {
  width: 92px; height: 92px; display: block;
  margin: -6px auto 12px;
}
.promo-check .pc-circle {
  fill: none; stroke: var(--green); stroke-width: 3;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: pcDraw .55s ease-out forwards;
}
.promo-check .pc-tick {
  fill: none; stroke: var(--green); stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 34; stroke-dashoffset: 34;
  animation: pcDraw .4s .5s ease-out forwards;
}
@keyframes pcDraw { to { stroke-dashoffset: 0; } }

/* cta banner brush as a button */
a.brush-btn {
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
a.brush-btn:hover { transform: skew(-6deg) rotate(-1deg) scale(1.04); filter: brightness(1.07); }

/* admin tabs */
.adm-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 2px solid #e3e9f2;
}
.adm-tab {
  border: none;
  background: none;
  padding: 10px 22px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #8592a6;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s ease, border-color .15s ease;
}
.adm-tab:hover { color: var(--navy); }
.adm-tab.active { color: var(--navy); border-bottom-color: var(--red); }

/* admin: checkout page picker */
.pay-choose { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.pay-opt { flex: 1; min-width: 240px; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt-card {
  display: block;
  padding: 16px 18px;
  border: 2px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pay-opt-card b { display: block; color: var(--navy); font-size: 15px; }
.pay-opt-card span { display: block; margin: 5px 0 8px; font-size: 12.5px; color: #8592a6; }
.pay-opt-card a { font-size: 12.5px; color: #2563eb; text-decoration: none; font-weight: 600; }
.pay-opt input:checked + .pay-opt-card {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,50,63,.12);
}

/* language picker — sits left of the .offer-pill in the topbar,
   or floats on pages without a topbar */
.lang-sel {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  margin-right: 3px;
  cursor: pointer;
  appearance: auto;
  box-shadow: 0 2px 10px rgba(11,31,58,.28);
}
.lang-sel:hover { background: #eef2f7; }
/* push the picker flush against the offer pill on the right */
.topbar-inner > .lang-sel { margin-left: auto; }
.lang-float {
  position: fixed;
  top: 12px;
  right: 14px;
  z-index: 500;
  color: #0b1f3a;
  background: #fff;
  border-color: #d3d9e4;
  box-shadow: 0 2px 10px rgba(11,31,58,.15);
}
.lang-sel option { color: #0b1f3a; background: #fff; }

/* payment receipt — transaction code + timestamp card */
.pay-receipt {
  margin: 18px 0 14px;
  border: 1.5px dashed #b9c4d2;
  border-radius: 12px;
  background: #f8fafc;
  padding: 14px 18px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 13.5px;
}
.receipt-row + .receipt-row { border-top: 1px solid #e6ebf2; }
.receipt-row span { color: #8592a6; font-weight: 600; }
.receipt-row b {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .5px;
  font-family: 'Consolas','Courier New',monospace;
}
.pay-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pay-support {
  flex: 1;
  text-align: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .6px;
  padding: 13px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.pay-support:hover { background: var(--navy-2, #123055); }
.pay-return {
  text-align: center;
  color: #5a6b84;
  font-weight: 700;
  font-size: 13px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid #dbe3ee;
  text-decoration: none;
}
.pay-return:hover { color: var(--navy); border-color: var(--navy); }
.pay-actions .pay-return:only-child { flex: 1; }
