/* ============================================ */
/* BLOX FRUITS - STYLES.CSS */

/* ============================================ */
/* CUSTOM FONT: BURBANK BIG */
/* ============================================ */
@font-face {
  font-family: 'BurbankBig';
  src: url('BurbankBigRegular-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================ */

/* ============================================ */
/* CSS VARIABLES (COLOR PALETTE) */
/* ============================================ */
:root {
  --bg-primary: #e11d48;

  --bg-gradient-start: #db2777;
  --bg-gradient-end: #fb7185;

  --card-red: #4636cb;
  --card-red-dark: #120a56;

  --card-purple: #4636cb;
  --card-purple-dark: #120a56;

  --button-yellow: #FFEB3B;
  --button-yellow-hover: #FDD835;

  --button-gray: #95A5A6;

  --text-white: #FFFFFF;
  --text-dark: #2C3E50;

  --activity-bg: rgba(255, 255, 255, 0.95);
  --input-border: #BDC3C7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'BurbankBig', Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 100vh;
  color: var(--text-white);
  line-height: 1.5;
}

#app {
  min-height: 100vh;
  padding: 20px;
}

/* ============================================ */
/* VIEW SYSTEM */
/* ============================================ */
.view {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  animation: pageEnter 0.4s ease-out forwards;
}

.view.active {
  display: block;
}

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

/* ============================================ */
/* LOGO */
/* ============================================ */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  animation: logoIn 0.5s ease-out forwards;
}

.logo {
  width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 768px) {
  .logo {
    width: 320px;
  }
}

/* ============================================ */
/* HERO TEXT */
/* ============================================ */
.hero-text {
  text-align: center;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-text p {
    font-size: 22px;
  }
}

/* ============================================ */
/* ACTIVITY FEED */
/* ============================================ */
.activity-feed {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.activity-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #edef31;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  animation: activityEnter 0.3s ease-out forwards;
}

.activity-card img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: contain;
}

.activity-card .info {
  display: flex;
  flex-direction: column;
}

.activity-card .username {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.activity-card .timestamp {
  color: #7F8C8D;
  font-size: 12px;
}

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

/* ============================================ */
/* SECTION TITLE */
/* ============================================ */
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 26px;
  }
}

/* ============================================ */
/* FRUIT GRID */
/* ============================================ */
.brainrot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .brainrot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* ============================================ */
/* FRUIT CARD */
/* ============================================ */
.brainrot-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  aspect-ratio: 1 / 1.15;
  animation: staggerIn 0.4s ease-out forwards;
  opacity: 0;
}

.brainrot-card:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brainrot-card.red {
  background-color: var(--card-red);
}

.brainrot-card.purple {
  background-color: var(--card-purple);
}

.brainrot-card img {
  width: 100%;
  height: 75%;
  object-fit: contain;
  padding: 8px;
}

.brainrot-card .card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--text-white);
  font-size: 14px;
}

.brainrot-card.red .card-footer {
  background-color: var(--card-red-dark);
}

.brainrot-card.purple .card-footer {
  background-color: var(--card-purple-dark);
}

/* Small card variant */
.brainrot-card.small {
  width: 160px;
  margin: 0 auto;
}

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

/* ============================================ */
/* BUTTONS */
/* ============================================ */
.btn-primary {
  display: block;
  width: 100%;
  padding: 16px 48px;
  background-color: var(--button-yellow);
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  font-family: 'BurbankBig', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 16px 48px;
  background-color: var(--button-gray);
  color: var(--text-white);
  border: none;
  border-radius: 8px;
  font-family: 'BurbankBig', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Button Stack */
.button-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

/* Pulse Glow Animation for Verify Button */
.pulse-glow {
  animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 235, 59, 0);
  }
}

/* ============================================ */
/* INPUT FIELD */
/* ============================================ */
.input-field {
  width: 100%;
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  font-family: 'BurbankBig', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.input-field:focus {
  outline: none;
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.2);
}

.input-field::placeholder {
  color: #95A5A6;
}

/* ============================================ */
/* FORM VIEW STYLES */
/* ============================================ */
#claim-form-view,
#confirmation-view,
#processing-view,
#verification-view {
  max-width: 500px;
}

.form-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 32px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Back Button */
.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 24px;
  padding: 8px;
  transition: opacity 0.2s ease;
}

.back-btn:hover {
  opacity: 0.8;
}

/* Selected Fruit Container */
.selected-fruit-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ============================================ */
/* CONFIRMATION VIEW */
/* ============================================ */
.confirmation-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

/* Avatar Card */
.avatar-card {
  width: 150px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.avatar-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.avatar-footer {
  background-color: var(--text-dark);
  padding: 10px;
  text-align: center;
}

.avatar-footer span {
  color: var(--text-white);
  font-weight: 700;
  font-size: 14px;
}

/* Slide Animations */
.slide-in-left {
  animation: slideInLeft 0.4s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.4s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================ */
.spinner-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.spinner {
  animation: spin 1s linear infinite;
  color: var(--text-dark);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.status-text {
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 32px;
  transition: opacity 0.3s ease;
}

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


/* ============================================ */
/* STEAL A BRAINROT - STEP UI (Unified Style)   */
/* Applies to: claim-form + confirmation +      */
/* processing + verification (scoped)           */
/* ============================================ */

/* --- CLAIM (USERNAME) VIEW --- */
#claim-form-view {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  padding-top: 8px;
}

#claim-form-view .logo-container { margin-bottom: 18px; }

#claim-form-view .form-title {
  font-size: 28px;
  margin-bottom: 18px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

#claim-form-view .input-field {
  max-width: 320px;
  margin: 0 auto 16px;
  display: block;
  border-radius: 0px;
  padding: 14px 16px;
}

#claim-form-view .btn-primary {
  max-width: 320px;
  margin: 0 auto 18px;
  display: block;
  padding: 14px 18px;
  border-radius: 6px;
  background-color: var(--button-yellow);
  color: var(--text-dark);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

#claim-form-view .btn-primary:hover { transform: translateY(-1px); }

#claim-form-view .btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

/* Back stays available but doesn't break the center layout */
#claim-form-view .back-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  margin: 0;
  padding: 8px 10px;
  background: none;
}

/* Selected brainrot container (your HTML uses selected-brainrot-container) */
#claim-form-view .selected-brainrot-container {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

#claim-form-view .brainrot-card.small { width: 150px; }

/* --- OTHER STEP VIEWS: CONFIRMATION / PROCESSING / VERIFICATION --- */
#confirmation-view,
#processing-view,
#verification-view {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  padding-top: 8px;
}

#confirmation-view .logo-container,
#processing-view .logo-container,
#verification-view .logo-container {
  margin-bottom: 18px;
}

#confirmation-view .form-title,
#processing-view .form-title,
#verification-view .form-title {
  font-size: 28px;
  margin-bottom: 18px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

/* Buttons width aligned */
#confirmation-view .button-stack { max-width: 320px; }
#confirmation-view .btn-primary,
#confirmation-view .btn-secondary,
#verification-view .btn-primary,
#verification-view .btn-secondary {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 14px 18px;
  border-radius: 6px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

#confirmation-view .btn-primary:active,
#confirmation-view .btn-secondary:active,
#verification-view .btn-primary:active,
#verification-view .btn-secondary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

/* Confirmation cards sizing */
#confirmation-view .confirmation-cards {
  gap: 14px;
  margin-bottom: 24px;
}

#confirmation-view .avatar-card { width: 148px; }
#confirmation-view .avatar-card img { height: 108px; }
#confirmation-view .brainrot-card.small { width: 148px; }

/* Processing + verification selected card */
#processing-view .selected-brainrot-container,
#verification-view .selected-brainrot-container {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

#processing-view .brainrot-card.small,
#verification-view .brainrot-card.small { width: 150px; }

/* Processing status readability */
#processing-view .status-text {
  text-align: center;
  font-weight: 700;
  text-shadow: -1px -1px 0 rgba(0,0,0,.55), 1px -1px 0 rgba(0,0,0,.55),
               -1px  1px 0 rgba(0,0,0,.55), 1px  1px 0 rgba(0,0,0,.55);
  margin-bottom: 20px;
}


/* ============================================ */
/* CONFIRMATION VIEW - EXACT LAYOUT (Blox-like) */
/* Scoped ONLY to #confirmation-view            */
/* ============================================ */
#confirmation-view .form-title{
  font-size: 24px;
  margin-bottom: 18px;
  text-align: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#confirmation-view .confirmation-cards{
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 22px;
}

/* Make both cards same square size */
#confirmation-view .avatar-card,
#confirmation-view .brainrot-card.small{
  width: 148px !important;
  height: 148px !important;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0px 0px 10px rgba(0,0,0,.18);
  /* background removed to preserve card colors */
}

/* Avatar image fills */
#confirmation-view .avatar-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay username at the bottom (like screenshot) */
#confirmation-view .avatar-footer{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 0;
  background: rgba(0,0,0,.35);
  text-align: center;
}
#confirmation-view .avatar-card{
  position: relative;
}
#confirmation-view .avatar-footer span{
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Brainrot card image fills + footer bar */
#confirmation-view .brainrot-card.small img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0; /* override global padding */
}

/* Footer bar inside card */
#confirmation-view .brainrot-card.small .card-footer{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  background: rgba(185, 28, 28, .95);
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Buttons like screenshot */
#confirmation-view .button-stack{
  max-width: 280px !important;
  margin: 0 auto;
  gap: 12px;
}

#confirmation-view .btn-primary,
#confirmation-view .btn-secondary{
  width: 280px !important;
  height: 40px;
  padding: 0 !important;
  border-radius: 5px !important;
  font-size: 18px;
  font-weight: 900;
  box-shadow: none !important;
  transform: none !important;
}

#confirmation-view .btn-primary{
  background: #fffd3a !important;
  color: #000 !important;
}

#confirmation-view .btn-secondary{
  background: #bdbdbb !important;
  color: #000 !important;
}

/* Disable hover lift for exact feel */
#confirmation-view .btn-primary:hover,
#confirmation-view .btn-secondary:hover{
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}


/* ============================================ */
/* CONFIRMATION FIX: USER CARD COLOR MATCH      */
/* Brainrot selected color is preserved         */
/* ============================================ */

/* Make user card use same color system as cards */
#confirmation-view .avatar-card {
  background-color: var(--card-purple);
}

#confirmation-view .avatar-card.red {
  background-color: var(--card-red);
}

#confirmation-view .avatar-card.purple {
  background-color: var(--card-purple);
}

/* Footer adapts too */
#confirmation-view .avatar-footer {
  background-color: rgba(0,0,0,0.35);
}


/* ============================================ */
/* PROCESSING + VERIFICATION: COLOR PRESERVE    */
/* Keep selected brainrot card original color   */
/* ============================================ */

/* Ensure no background override */
#processing-view .brainrot-card.small,
#verification-view .brainrot-card.small {
  background-color: initial;
}

/* Respect type classes */
#processing-view .brainrot-card.small.red,
#verification-view .brainrot-card.small.red {
  background-color: var(--card-red);
}

#processing-view .brainrot-card.small.purple,
#verification-view .brainrot-card.small.purple {
  background-color: var(--card-purple);
}

/* Footer matches card type */
#processing-view .brainrot-card.small.red .card-footer,
#verification-view .brainrot-card.small.red .card-footer {
  background-color: var(--card-red-dark);
}

#processing-view .brainrot-card.small.purple .card-footer,
#verification-view .brainrot-card.small.purple .card-footer {
  background-color: var(--card-purple-dark);
}


/* ============================================ */
/* FIX: USER CARD FOLLOWS BRAINROT COLOR        */
/* ============================================ */
#confirmation-view .avatar-card.red {
  background-color: var(--card-red);
}

#confirmation-view .avatar-card.purple {
  background-color: var(--card-purple);
}

#confirmation-view .avatar-card.red .avatar-footer {
  background-color: var(--card-red-dark);
}

#confirmation-view .avatar-card.purple .avatar-footer {
  background-color: var(--card-purple-dark);
}


/* ============================================ */
/* CONFIRMATION: PRESERVE BRAINROT CARD COLOR   */
/* ============================================ */
#confirmation-view .brainrot-card.small.red { background-color: var(--card-red) !important; }
#confirmation-view .brainrot-card.small.purple { background-color: var(--card-purple) !important; }
#confirmation-view .brainrot-card.small.red .card-footer { background-color: var(--card-red-dark) !important; }
#confirmation-view .brainrot-card.small.purple .card-footer { background-color: var(--card-purple-dark) !important; }

/* User card: follow brainrot color (set by JS) */
#confirmation-view .avatar-card { background-color: var(--card-purple); }
#confirmation-view .avatar-card.red { background-color: var(--card-red) !important; }
#confirmation-view .avatar-card.purple { background-color: var(--card-purple) !important; }


/* ============================================ */
/* PROCESSING VIEW - EXACT LAYOUT               */
/* Scoped ONLY to #processing-view              */
/* ============================================ */
#processing-view .form-title{
  font-size: 24px;
  margin-bottom: 14px;
  text-align: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px  1px 0 #000, 1px  1px 0 #000;
}

/* Center gear icon */
#processing-view .spinner-container{
  margin: 12px auto 8px;
}

#processing-view .spinner{
  width: 36px;
  height: 36px;
  stroke-width: 2.5;
  color: #000;
}

/* Status text */
#processing-view .status-text{
  font-size: 16px;
  font-weight: 900;
  color: #000;
  margin-bottom: 18px;
  text-align: center;
  text-shadow: none;
}

/* Card exact size & color preserved */
#processing-view .brainrot-card.small{
  width: 148px;
  height: 148px;
  border-radius: 5px;
  border: 2px solid #ffffff;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(0,0,0,.18);
}

/* Image fills card */
#processing-view .brainrot-card.small img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

/* Footer bar */
#processing-view .brainrot-card.small .card-footer{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px  1px 0 #000, 1px  1px 0 #000;
}


/* ============================================ */
/* VERIFICATION VIEW - EXACT LAYOUT             */
/* Scoped ONLY to #verification-view            */
/* ============================================ */
#verification-view .form-title{
  font-size: 24px;
  margin-bottom: 18px;
  text-align: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px  1px 0 #000, 1px  1px 0 #000;
}

/* Verify button exact size & position */
#verification-view .btn-primary{
  width: 280px !important;
  height: 40px;
  margin: 0 auto 22px;
  display: block;
  padding: 0 !important;
  border-radius: 5px !important;
  font-size: 18px;
  font-weight: 900;
  background: #fffd3a !important;
  color: #000 !important;
  box-shadow: none !important;
}

/* Disable hover lift */
#verification-view .btn-primary:hover{
  transform: none !important;
  filter: none !important;
}

/* Card exact like video */
#verification-view .brainrot-card.small{
  width: 148px;
  height: 148px;
  border-radius: 5px;
  border: 2px solid #ffffff;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(0,0,0,.18);
}

/* Image fills */
#verification-view .brainrot-card.small img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

/* Footer */
#verification-view .brainrot-card.small .card-footer{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px  1px 0 #000, 1px  1px 0 #000;
}


/* ============================================ */
/* VERIFY BUTTON ANIMATION (EXACT LIKE VIDEO)   */
/* ============================================ */
#verification-view #verify-btn{
  position: relative;
  overflow: hidden;
  animation: verify 2s linear infinite;
  z-index: 1;
}

#verification-view #verify-btn-span{
  animation: hug 2s linear infinite;
  background: #ffffff;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 40px;
  z-index: 0;
  opacity: .6;
}

/* Keyframes copied as-is */
@keyframes hug {
  0% { opacity: 0; }
  20% { opacity: 1; transform: scale(1.1); }
  100% { transform: scaleY(1.5) scaleX(1.2); opacity: 0; }
}

@keyframes verify {
  0% { transform: scale(1); }
  20% { transform: scale(1.1); }
  40% { transform: scale(1); }
}


/* ============================================ */
/* FIX: VERIFY PULSE LAYERING (TEXT ON TOP)     */
/* ============================================ */
#verification-view #verify-btn{
  position: relative;
  overflow: hidden; /* keep pulse inside button */
}

#verification-view #verify-btn-span{
  z-index: 0; /* behind text */
  pointer-events: none;
}

#verification-view #verify-btn .verify-btn-text{
  position: relative;
  z-index: 2; /* ensure text above pulse */
}


/* ============================================ */
/* FINAL VERIFY PULSE (YELLOW CLEAR + CENTERED) */
/* ============================================ */
#verification-view #verify-btn{
  position: relative;
  overflow: hidden;
  animation: verify 2s linear infinite;
}

#verification-view #verify-btn-span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 40px;
  border-radius: 5px;
  background: rgba(255, 253, 58, 0.55); /* yellow stays visible */
  z-index: 0;
  pointer-events: none;
  animation: hug 2s linear infinite;
}

#verification-view .verify-btn-text{
  position: relative;
  z-index: 2;
}

/* Re-declare keyframes to ensure consistency */
@keyframes hug {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes verify {
  0% { transform: scale(1); }
  20% { transform: scale(1.1); }
  40% { transform: scale(1); }
}

#claim-form-view .back-btn{ display:none !important; }

/* UX: Shake input when empty */
@keyframes inputShake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
.input-shake {
  animation: inputShake 0.3s ease;
}
