/* ============================================================
   MATCH MASTERS STYLE — Atlas Earth Bucks Booster
   Palette: deep violet bg · electric purple card · gold accent
   Font: Fredoka One (display) · Nunito (body)
   Vibe: mobile game reward screen — chunky, festive, glowing
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Core palette */
  --gold:           #FFD93D;
  --gold-dark:      #F4A800;
  --gold-light:     #FFF0A0;
  --gold-glow:      rgba(255, 217, 61, 0.35);

  --purple-deep:    #1A0535;
  --purple-bg:      #240A4A;
  --purple-card:    #2E1060;
  --purple-mid:     #3D1880;
  --purple-light:   #5A2DAA;
  --purple-bright:  #7B3FF2;

  --pink:           #FF4FBC;
  --pink-dark:      #C4008A;
  --cyan:           #00E5FF;
  --green:          #2ECC71;
  --green-dark:     #1A9E50;
  --orange:         #FF7C2A;
  --orange-dark:    #CC5500;
  --red:            #FF3B3B;

  --text-white:     #FFFFFF;
  --text-cream:     #FFE8B0;
  --text-purple:    #C9A8FF;
  --text-dim:       #8860CC;

  /* Borders */
  --border-gold:    #FFD93D;
  --border-purple:  rgba(123, 63, 242, 0.6);
  --border-card:    rgba(255,255,255,0.12);

  /* Shadows */
  --shadow-gold:    0 4px 20px rgba(255,217,61,0.5);
  --shadow-purple:  0 8px 32px rgba(60,0,120,0.7);
  --shadow-btn:     0 6px 0 rgba(0,0,0,0.3);
  --shadow-card:    0 16px 48px rgba(10,0,30,0.7), 0 2px 8px rgba(0,0,0,0.4);

  /* Geometry */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-pill: 100px;

  /* Motion */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.2, 0, 0, 1);
  --t-fast:      0.15s;
  --t-mid:       0.25s;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-y: scroll; overflow-x: hidden; }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--text-white);
  background: var(--purple-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
ul { list-style: none; }
a, button { outline: none; cursor: pointer; }
a { text-decoration: none; }

/* ── BACKGROUND ────────────────────────────────────────────── */
body {
  background-color: var(--purple-deep);
  background-image:
    /* Stars scattered */
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 8%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 22%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 78% 12%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 5%  55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 72%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 45% 88%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 65%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
    /* Big glow orbs */
    radial-gradient(ellipse 70% 50% at 20% 0%,   rgba(120, 40, 200, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(80,  20, 180, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 50%,  rgba(30,  5,  80, 1)   0%, transparent 100%);
}

/* Floating sparkle orbs */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
body::before {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(180, 60, 255, 0.25), transparent 70%);
  top: -80px; right: -80px;
  animation: floatOrb 12s ease-in-out infinite alternate;
}
body::after {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255, 150, 30, 0.15), transparent 70%);
  bottom: -60px; left: -60px;
  animation: floatOrb 16s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.1); }
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

header.head { display: none; }

.grid-section.gtypesub-main {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 60px;
}

.gcontent-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  animation: cardEntrance 0.6s var(--ease-bounce) both;
}

@keyframes cardEntrance {
  from { opacity: 0; transform: scale(0.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── LOGO / HEADER AREA ────────────────────────────────────── */
.stp-header-wrapper {
  text-align: center;
  margin-bottom: -24px;
  position: relative;
  z-index: 5;
}

.stp-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stp-logo-wrapper-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-bright));
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dark), var(--shadow-gold), 0 12px 32px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  animation: logoBounce 3s ease-in-out infinite;
}

@keyframes logoBounce {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-6px); }
}

.stp-logo-wrapper-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.25) 0%, transparent 50%);
  border-radius: 50%;
  pointer-events: none;
}

.n-logo {
  max-width: 68px;
  max-height: 68px;
  display: block;
  position: relative;
  z-index: 1;
}

.n-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 3px 0 var(--gold-dark), 0 6px 16px rgba(255,180,0,0.4), 2px 2px 0 rgba(0,0,0,0.3);
}

.n-title span {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-purple);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.5;
  text-shadow: none;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ── MAIN CARD ─────────────────────────────────────────────── */
.ucolor {
  background: linear-gradient(170deg, var(--purple-card) 0%, #200840 100%);
  border-radius: var(--r-xl);
  border: 3px solid var(--purple-bright);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  padding-top: 16px;
}

/* Gold ribbon top bar */
.ucolor::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--purple-bright) 0%,
    var(--gold) 30%,
    var(--gold-light) 50%,
    var(--gold) 70%,
    var(--purple-bright) 100%);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

/* Corner sparkle decorations */
.ucolor::after {
  content: '✦';
  position: absolute;
  top: 12px; right: 18px;
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.5;
  animation: twinkle 2.5s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50%       { opacity: 1;   transform: scale(1.2) rotate(20deg); }
}

.gcontent {
  padding: 36px 32px 32px;
  background: transparent;
  position: relative;
}

/* Decorative gem dots */
.gcontent::before {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0.4;
  letter-spacing: 8px;
}

/* ── SECTION LABELS ────────────────────────────────────────── */
.stp-1-field-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-purple);
}

.stp-1-field-label-wrapper {
  margin-bottom: 8px;
}

.stp-1-field-w {
  position: relative;
  margin-bottom: 22px;
}

/* ── INPUT FIELD ───────────────────────────────────────────── */
.username-field-wrapper {
  position: relative;
  border-radius: var(--r-md);
}

.username-field-wrapper span.material-icons-two-tone {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  color: var(--gold);
  pointer-events: none;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.field-input {
  width: 100%;
  height: 62px;
  background: rgba(255,255,255,0.07);
  border: 2.5px solid var(--purple-light);
  border-radius: var(--r-md);
  padding: 0 20px 0 52px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
  -webkit-appearance: none;
  letter-spacing: 0.3px;
}

.field-input::placeholder {
  color: var(--text-dim);
  font-weight: 600;
}

.field-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ── PLATFORM TILES ────────────────────────────────────────── */
.platform-field-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.platform-item-wrapper { flex: 1; }

.platform-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  border: 2.5px solid var(--purple-light);
  color: var(--text-purple);
  cursor: pointer;
  transition: all var(--t-mid) var(--ease-bounce);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.platform-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.platform-item i {
  font-size: 1.6em;
  transition: transform var(--t-mid) var(--ease-bounce);
  position: relative;
  z-index: 1;
}

.platform-item:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 20px rgba(255,217,61,0.25);
}

.platform-item:active {
  transform: scale(0.94) translateY(0);
}

.platform-item.active {
  background: linear-gradient(135deg, rgba(255,193,0,0.2), rgba(255,140,0,0.15));
  border-color: var(--gold);
  border-width: 3px;
  color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255,217,61,0.25), var(--shadow-gold);
}

.platform-item.active i {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* ── AMOUNT SELECTION ──────────────────────────────────────── */
.dcrsw {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.dcrs-ri { position: relative; }

.dcrs-rc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 2.5px solid var(--purple-light);
  border-radius: var(--r-md);
  padding: 14px 20px;
  cursor: pointer;
  transition: all var(--t-mid) var(--ease-bounce);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.dcrs-rc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.dcrs-rc:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--gold), 0 4px 16px rgba(255,217,61,0.2);
}

.dcrs-ri.active .dcrs-rc {
  background: linear-gradient(135deg, rgba(255,193,0,0.15), rgba(200,100,255,0.1));
  border-color: var(--gold);
  border-width: 3px;
  box-shadow: 0 0 0 2px rgba(255,217,61,0.2), 0 4px 20px rgba(255,150,0,0.25);
}

.dcsr-rc-iw img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(255,200,0,0.5));
  border-radius: 8px;
}

.dcsr-rc-rouw {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dcsr-rc-rv {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text-white);
  text-shadow: 0 2px 0 rgba(0,0,0,0.3);
  line-height: 1;
}

.dcsr-rc-rn {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dcrs-ri.active .dcsr-rc-rv {
  color: var(--gold);
  text-shadow: 0 2px 0 var(--gold-dark), 0 0 12px rgba(255,217,61,0.5);
}
.dcrs-ri.active .dcsr-rc-rn { color: var(--gold-dark); }

/* Active checkmark badge */
.dcrs-ri.active .dcrs-rc::after {
  content: '✓';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  color: #1A0535;
  font-size: 0.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  line-height: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255,180,0,0.5);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.sc-btn-wrapper {
  margin: 24px 0 0;
  position: relative;
}

.sc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #FFE44D 0%, #FFB800 50%, #E88900 100%);
  border: 3px solid #FFF0A0;
  border-bottom-color: #CC7000;
  cursor: pointer;
  font-family: 'Fredoka One', cursive;
  font-size: 1.35rem;
  font-weight: 400;
  color: #4A1A00;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast) var(--ease-bounce);
  box-shadow:
    0 6px 0 #A85800,
    0 8px 20px rgba(255,150,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.5);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Glossy shine sweep */
.sc-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.sc-btn:hover::before { left: 130%; }

.sc-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 9px 0 #A85800,
    0 12px 28px rgba(255,150,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

.sc-btn:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #A85800,
    0 4px 12px rgba(255,150,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Verify button — purple variant */
#hw-btn {
  background: linear-gradient(180deg, #9B5FF7 0%, #6B2FD6 50%, #4A1AB0 100%);
  border-color: #C08AFF;
  border-bottom-color: #2A0080;
  color: var(--text-white);
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  box-shadow: 0 6px 0 #1A0060, 0 8px 20px rgba(100,30,200,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}

#hw-btn:hover {
  box-shadow: 0 9px 0 #1A0060, 0 12px 28px rgba(100,30,200,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
#hw-btn:active {
  box-shadow: 0 2px 0 #1A0060, 0 4px 12px rgba(100,30,200,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ── STEP PANELS ───────────────────────────────────────────── */
.dcc-p1, .dcc-p2, .dcc-p4, .dcc-p5 {
  text-align: center;
}

.dccst {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: 0 3px 0 var(--gold-dark), 0 0 20px rgba(255,200,0,0.4);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.dccst span { color: var(--text-white); }

/* ── LOADER DOTS ───────────────────────────────────────────── */
.loader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto;
  height: 20px;
}

.loader-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  animation: dotBounce 1.4s ease-in-out infinite both;
}

.loader-dots span:nth-child(1) { animation-delay: -0.32s; }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; background: var(--pink); box-shadow: 0 0 8px rgba(255,79,188,0.6); }
.loader-dots span:nth-child(3) { animation-delay: 0s; background: var(--cyan); box-shadow: 0 0 8px rgba(0,229,255,0.5); }

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.5) translateY(0); opacity: 0.4; }
  40%           { transform: scale(1.2) translateY(-6px); opacity: 1; }
}

/* ── SEARCH STATE ──────────────────────────────────────────── */
.sp-ic-w {
  margin-bottom: 16px;
}

.sp-ic-w span.material-icons-two-tone {
  font-size: 4.5rem;
  display: block;
  margin: 0 auto 8px;
  color: var(--gold);
  filter: drop-shadow(0 0 12px var(--gold-glow));
  animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 8px var(--gold-glow)); transform: scale(1); }
  50%       { filter: drop-shadow(0 0 20px rgba(255,217,61,0.7)); transform: scale(1.08); }
}

.spcim {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-purple);
  letter-spacing: 0.3px;
}

#spcimv {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.1em;
  display: inline;
  text-shadow: 0 0 12px rgba(255,217,61,0.5);
}

/* ── PROGRESS BAR ──────────────────────────────────────────── */
.dcsfpw-lb-w { margin-top: 24px; }

.dcsfpw-lb {
  width: 100%;
  height: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: var(--r-pill);
  border: 2px solid var(--purple-light);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.dcsfpw-lb div {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #FFB800, #FFD93D, #FFF0A0, #FFD93D, #FFB800);
  background-size: 200% 100%;
  font-size: 0;
  text-indent: -9999px;
  animation: shimmer 2s linear infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
}

/* Progress glow pip */
.dcsfpw-lb div::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 20px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--r-pill);
  filter: blur(4px);
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── PROCESSING STATE ──────────────────────────────────────── */
.dcsfpw-ld-w {
  margin: 8px 0 16px;
}

.dcsfpw-ld-w span.material-icons-two-tone {
  font-size: 4.5rem;
  display: block;
  margin: 0 auto;
  color: var(--text-purple);
}

.dcsfpw-ld-w span.material-icons-two-tone.lic-s {
  color: #4BFF90;
  filter: drop-shadow(0 0 16px rgba(75,255,144,0.7));
  animation: popBounce 0.5s var(--ease-bounce) both;
}
.dcsfpw-ld-w span.material-icons-two-tone.lic-i { color: var(--cyan); }
.dcsfpw-ld-w span.material-icons-two-tone.lic-e { color: var(--red); }

@keyframes popBounce {
  from { transform: scale(0.3) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

.fa-spin { animation: spinIcon 1s linear infinite; }
@keyframes spinIcon {
  to { transform: rotate(360deg); }
}

.dcsfpw-cm-w {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-purple);
  min-height: 22px;
  text-align: center;
  padding: 0 8px;
}

.chim {
  color: var(--gold);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255,217,61,0.4);
}

/* ── RESULT BOXES ──────────────────────────────────────────── */
.dcsfpw-rgi-w {
  background: linear-gradient(135deg, rgba(255,200,0,0.12), rgba(180,60,255,0.1));
  border: 3px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  max-width: 240px;
  margin: 0 auto 20px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255,217,61,0.15), var(--shadow-gold);
}

.rgi-w-i {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(255,200,0,0.5));
}

.rgi-w-rv {
  font-family: 'Fredoka One', cursive;
  font-size: 2.4rem;
  color: var(--gold);
  text-shadow: 0 3px 0 var(--gold-dark), 0 0 16px rgba(255,217,61,0.5);
  line-height: 1;
}

.rgi-w-rl {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-purple);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ── VERIFICATION STEP ─────────────────────────────────────── */
.dcc-ls-i {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-purple);
  text-align: center;
  padding: 0 4px;
  margin-bottom: 24px;
}

.lhvsrwo {
  max-width: 320px;
  margin: 0 auto;
}

.lhvsrw {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lhvsrw .dcsfpw-rgi-o-w { flex: 0 0 auto; }
.lhvsrw .dcsfpw-rgi-w { padding: 18px 16px; }

.h-v-time-left-wrapper {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 14px 0 10px;
}

.hw-btn-wrapper { margin-top: 8px; }

/* ── ERROR MESSAGES ────────────────────────────────────────── */
.error-wrapper {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--red);
  display: none;
  text-shadow: 0 0 8px rgba(255,59,59,0.5);
}

/* ── ANIMATIONS (JS compatibility shims) ───────────────────── */
.animated { animation-duration: 0.45s; animation-fill-mode: both; }
.mfp-hide { display: none !important; }

.animated.bounceIn {
  animation-name: mmBounceIn;
  animation-timing-function: var(--ease-bounce);
}
@keyframes mmBounceIn {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.animated.bounceOut {
  animation-name: mmBounceOut;
}
@keyframes mmBounceOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.88) translateY(8px); }
}

.animated.fadeIn  { animation-name: mmFadeIn; }
@keyframes mmFadeIn { from { opacity: 0; } to { opacity: 1; } }

.animated.fadeOut { animation-name: mmFadeOut; }
@keyframes mmFadeOut { from { opacity: 1; } to { opacity: 0; } }

/* Subtle pulse instead of noisy one */
.animated.pulse.infinite {
  animation: mmPulse 2.5s ease-in-out infinite !important;
}
@keyframes mmPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%       { transform: scale(1.04); opacity: 0.8; }
}

.animated.jello,
.animated.headShake { animation: mmPulse 0.4s ease both !important; }

/* ── UTILITY ───────────────────────────────────────────────── */
.animation-delay-100  { animation-delay: 0.1s; }
.animation-delay-200  { animation-delay: 0.2s; }
.animation-delay-300  { animation-delay: 0.3s; }
.animation-delay-400  { animation-delay: 0.4s; }
.animation-delay-600  { animation-delay: 0.6s; }
.animation-delay-800  { animation-delay: 0.8s; }
.animation-delay-1000 { animation-delay: 1s;   }
.animation-delay-2000 { animation-delay: 2s;   }

.scpfico  { color: var(--gold) !important; filter: drop-shadow(0 0 8px var(--gold-glow)) !important; }
.dcgiresv { color: var(--gold); font-weight: 900; }
.clmet    { color: var(--red);  font-weight: 800; }
.hvsrwo-g-code { color: var(--gold); font-family: monospace; font-weight: 700; }

.starsec, .starthird, .starfourth, .starfifth { display: none !important; }
#bg-canvas { display: none; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer { position: relative; z-index: 3; }
.footer-content {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  padding: 20px 16px 32px;
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 575px) {
  .grid-section.gtypesub-main {
    padding: 24px 12px 48px;
    align-items: flex-start;
  }

  .gcontent { padding: 28px 18px 24px; }

  .stp-logo-wrapper-inner { width: 80px; height: 80px; }
  .n-logo { max-width: 54px; max-height: 54px; }
  .n-title { font-size: 1.75rem; }
  .n-title span { font-size: 0.58rem; }

  .stp-header-wrapper { margin-bottom: -20px; }

  .field-input { height: 56px; font-size: 0.95rem; }
  .platform-item { height: 56px; }
  .platform-item i { font-size: 1.4em; }

  .sc-btn { height: 58px; font-size: 1.2rem; }

  .dcsr-rc-rv { font-size: 1.35rem; }
  .platform-field-wrapper { gap: 8px; }
  .ucolor { border-width: 2px; }
}

@media (max-width: 380px) {
  .gcontent { padding: 24px 14px 20px; }
  .platform-item { height: 50px; }
  .platform-field-wrapper { gap: 6px; }
  .sc-btn { height: 54px; font-size: 1.1rem; }
}
