/* ==========================================================================
   Rewards Verification Portal - Girly / Pink Aesthetic (Free Samples)
   ========================================================================== */

:root {
  --primary-pink: #ec4899;
  --dark-pink: #db2777;
  --soft-pink: #fdf2f8;
  --pink-border: #fbcfe8;
  --bg-page: #fbf7f8;
  --bg-card: #ffffff;
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #f1f5f9;
  --star-color: #f59e0b;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Centered Mobile Frame */
.mobile-frame {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.08);
}

.view-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hidden {
  display: none !important;
}

/* Top Hero Banner */
.hero-wrapper {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.verified-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(236, 72, 153, 0.4);
  z-index: 5;
}

.orange-badge {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.badge-icon {
  font-size: 13px;
}

/* Main Body Content */
.main-body {
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Steps Instructions Card */
.instructions-card {
  background: #ffffff;
  border: 1.5px solid #fce7f3;
  border-radius: 20px;
  padding: 24px 18px 20px;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.04);
}

.card-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.card-subheading {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.45;
}

.highlight-green, .highlight-pink {
  color: var(--primary-pink);
}

/* View 1: Theme Choices List */
.theme-choices-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.box-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.box-choice:hover {
  border-color: var(--pink-border);
  background: var(--soft-pink);
}

.box-choice.selected {
  border-color: var(--primary-pink);
  background: var(--soft-pink);
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.12);
}

.choice-icon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.choice-info {
  flex: 1;
  min-width: 0;
}

.choice-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.choice-info span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  display: block;
}

.radio-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.box-choice.selected .radio-indicator {
  border-color: var(--primary-pink);
  background: var(--primary-pink);
}

.box-choice.selected .radio-indicator::after {
  content: '✓';
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

/* Claim Button with Animated Pulse */
.btn-claim-step {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseClaimBtn 1.8s ease-in-out infinite;
}

.btn-claim-step:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.55);
}

@keyframes pulseClaimBtn {
  0%, 100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
  }
  50% {
    transform: scale(1.035) translateY(-2px);
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.58);
  }
}

.trust-microcopy {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* View 2: Exact 1-2-3 Reference Layout with Pink Badges */
.steps-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-badge {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35);
}

.step-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-body);
  font-weight: 600;
  padding-top: 4px;
}

/* Offers Container */
.offers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual Offer Card */
.offer-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1.5px solid #fce7f3;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.05);
}

.offer-box:hover {
  border-color: var(--primary-pink);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.15);
}

/* App Icon on left */
.offer-icon-wrapper {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #831843 0%, #be185d 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(131, 24, 67, 0.2);
  overflow: hidden;
}

.offer-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.offer-title-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.offer-instruction-text {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.offer-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-complete {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
  transition: all 0.2s;
}

.offer-box:hover .btn-complete {
  background: var(--dark-pink);
}

.stars-rating {
  color: var(--star-color);
  font-size: 13px;
  letter-spacing: 1px;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 30px 16px;
  color: var(--text-muted);
  font-size: 13px;
  background: #ffffff;
  border: 1.5px dashed var(--pink-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.spinner {
  width: 26px;
  height: 26px;
  border: 3px solid #fce7f3;
  border-top-color: var(--primary-pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Footer */
.page-footer {
  text-align: center;
  padding: 24px 16px 20px;
  border-top: 1px solid var(--border-light);
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: auto;
}
