/* ========================================
   STREAKS — Customer Styles
   Apple-inspired dark monochrome
   ======================================== */

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

:root {
  --bg: #000000;
  --bg-elevated: #0c0c0c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --surface-solid: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --text-secondary: rgba(255, 255, 255, 0.56);
  --text-tertiary: rgba(255, 255, 255, 0.32);
  --white: #ffffff;
  --danger: #ff453a;
  --success: #30d158;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.screen {
  display: none;
  min-height: 100dvh;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

/* ========================================
   AUTH SCREEN
   ======================================== */

.auth-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.auth-logo {
  text-align: center;
  margin-bottom: 56px;
}

.logo-bolt {
  font-size: 44px;
  margin-bottom: 16px;
  animation: float 4s ease-in-out infinite;
  filter: grayscale(0.3);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.logo-text {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--white);
}

.logo-subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 400;
}

.auth-step {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.auth-step.active {
  display: flex;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.input-group input {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.input-group input:focus {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.input-group input::placeholder {
  color: var(--text-tertiary);
}

.phone-input-wrap {
  display: flex;
  align-items: stretch;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.phone-input-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  font-family: var(--mono);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.phone-input-wrap input {
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: var(--mono);
  letter-spacing: 1.5px;
}

.phone-input-wrap input:focus {
  border-color: transparent;
  box-shadow: none;
}

/* OTP */
.otp-info {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

.otp-info span {
  color: var(--text);
  font-weight: 600;
  font-family: var(--mono);
}

.otp-inputs {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 4px 0;
}

.otp-box {
  width: 56px;
  height: 68px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 26px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  caret-color: transparent;
}

.otp-box:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.otp-box.filled {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

/* Buttons */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: #000;
  border: none;
  border-radius: 980px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  letter-spacing: -0.01em;
}

.btn-primary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.88);
  transform: scale(1.01);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

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

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  padding: 12px;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-danger {
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 980px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

.error-msg {
  color: var(--danger);
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
  min-height: 20px;
}

.success-msg {
  color: var(--success);
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
  min-height: 20px;
}

/* ========================================
   TOP BAR & MENU
   ======================================== */

.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 24px 0;
  position: relative;
  z-index: 10;
}

.top-bar-spacer {
  flex: 1;
}

.menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.menu-btn:hover {
  opacity: 1;
}

.menu-btn span {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
}

.menu-dropdown {
  position: absolute;
  top: 52px;
  right: 24px;
  background: #1c1c1e;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.menu-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-item.danger:hover {
  background: rgba(255, 69, 58, 0.12);
  color: var(--danger);
}

/* ========================================
   CARD — The Hero
   ======================================== */

.card-section {
  padding: 20px 16px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.card-perspective {
  perspective: 1400px;
  width: 100%;
  max-width: 388px;
  margin: 0 auto;
}

.card-3d {
  width: 100%;
  aspect-ratio: 1.586;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  transform: rotateY(0deg);
  will-change: transform;
}

.card-3d.flipped {
  transform: rotateY(180deg);
}

.card-3d.tilting {
  transition: transform 0.12s ease-out;
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  padding: clamp(16px, 4.8vw, 24px) clamp(16px, 5.2vw, 26px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* FRONT face — Premium cold-rolled brushed titanium metallic (strictly horizontal grain, zero vertical lines) */
.card-front {
  background:
    /* Ultra-fine horizontal brushed hairline grain (runs horizontally at 180deg) */
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(255, 255, 255, 0.025) 3px,
      rgba(0, 0, 0, 0.015) 5px,
      rgba(255, 255, 255, 0.02) 7px,
      transparent 9px),
    /* Smooth continuous metallic gradient matching screenshot glare */
    linear-gradient(125deg,
      #b6bac0 0%,
      #c2c6cc 20%,
      #d6dbe2 38%,
      #edf1f6 52%,
      #d4d8df 64%,
      #a4a9b0 82%,
      #b2b6bd 100%);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.25) inset,
    1px 0 0 0 rgba(255, 255, 255, 0.3) inset,
    -1px 0 0 0 rgba(0, 0, 0, 0.15) inset,
    0 30px 80px -15px rgba(0, 0, 0, 0.8),
    0 14px 32px -10px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
  color: #1a1a1a;
}

/* Primary specular highlight — soft glowing diagonal glare matching screenshot */
.card-shine {
  position: absolute;
  inset: 0;
  background:
    /* Soft sweeping diagonal metallic sheen */
    linear-gradient(125deg,
      transparent 18%,
      rgba(255, 255, 255, 0.05) 32%,
      rgba(255, 255, 255, 0.22) 45%,
      rgba(255, 255, 255, 0.40) 52%,
      rgba(255, 255, 255, 0.22) 58%,
      rgba(255, 255, 255, 0.06) 68%,
      transparent 82%),
    /* Soft central radial glow */
    radial-gradient(ellipse 85% 60% at 52% 46%,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.08) 45%,
      transparent 75%);
  pointer-events: none;
  z-index: 2;
}

/* Subtle noise for grain texture */
.card-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Refined edge bevel — mimics machined metal edge */
.card-edge-light {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 3;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  position: relative;
  z-index: 5;
  width: 100%;
  gap: 8px;
}

.store-name {
  font-size: clamp(11px, 3.2vw, 14px);
  font-weight: 700;
  letter-spacing: clamp(1.4px, 0.4vw, 2.4px);
  text-transform: uppercase;
  color: #1e2126;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 68%;
}

.card-badge {
  font-size: clamp(8px, 2.2vw, 9px);
  font-weight: 600;
  letter-spacing: clamp(1.2px, 0.3vw, 2.2px);
  color: rgba(0, 0, 0, 0.55);
  border: 1.2px solid rgba(0, 0, 0, 0.26);
  border-radius: 999px;
  padding: 3px clamp(8px, 2.5vw, 13px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Streaks Grid — Symmetrical breathing room with balanced inner padding */
.streaks-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: auto 0;
  position: relative;
  z-index: 5;
  padding: 0 clamp(4px, 1.8vw, 10px);
  box-sizing: border-box;
}

.streak-slot {
  width: clamp(32px, 8vw, 40px);
  height: clamp(32px, 8vw, 40px);
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  flex-shrink: 0;
}

.streak-slot:hover {
  transform: scale(1.15);
}

.streak-slot:active {
  transform: scale(0.92);
}

.streak-bolt {
  font-size: clamp(17px, 5.8vw, 26px);
  line-height: 1;
  opacity: 0.18;
  filter: grayscale(1) brightness(0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-align: center;
}

.streak-slot.earned .streak-bolt {
  opacity: 1;
  filter: grayscale(0) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
  animation: streakPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.streak-slot.earned {
  background: transparent;
  border: none;
  box-shadow: none;
}

.streak-slot.next {
  animation: pulseSlot 2.5s ease-in-out infinite;
}

@keyframes streakPop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  60% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulseSlot {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* Claim Reward Button */
.claim-reward-btn {
  margin: 2px auto 0;
  padding: 9px 22px;
  background: rgba(0, 0, 0, 0.75);
  border: none;
  border-radius: 980px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 5;
  overflow: hidden;
  transition: all 0.3s;
}

.claim-reward-btn:hover {
  transform: scale(1.04);
  background: rgba(0, 0, 0, 0.85);
}

.claim-reward-btn.hidden {
  display: none;
}

.claim-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 100%);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  position: relative;
  z-index: 5;
  width: 100%;
  gap: 8px;
}

.card-footer .label {
  display: block;
  font-size: clamp(7px, 2vw, 8px);
  font-weight: 600;
  letter-spacing: clamp(1px, 0.4vw, 2px);
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.card-footer .value {
  display: block;
  font-size: clamp(11px, 3.2vw, 15px);
  font-weight: 700;
  color: #1e2126;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer .value#card-expiry-date.expired {
  color: #c94a29;
  letter-spacing: 0.5px;
}

.customer-notice-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(28, 28, 30, 0.94);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10000;
  letter-spacing: -0.01em;
  max-width: calc(100vw - 32px);
  width: max-content;
  text-align: center;
}

.customer-notice-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* BACK face — matching horizontal brushed metallic finish */
.card-back {
  background:
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(255, 255, 255, 0.025) 3px,
      rgba(0, 0, 0, 0.015) 5px,
      rgba(255, 255, 255, 0.02) 7px,
      transparent 9px),
    linear-gradient(125deg,
      #b6bac0 0%,
      #c2c6cc 20%,
      #d6dbe2 38%,
      #edf1f6 52%,
      #d4d8df 64%,
      #a4a9b0 82%,
      #b2b6bd 100%);
  transform: rotateY(180deg);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.25) inset,
    0 30px 80px -15px rgba(0, 0, 0, 0.8),
    0 14px 32px -10px rgba(0, 0, 0, 0.5);
  padding: clamp(16px, 4.5vw, 26px) clamp(16px, 5vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.card-back-header {
  position: relative;
  z-index: 5;
  text-align: center;
  width: 100%;
}

.card-back-title {
  font-family: var(--font);
  font-size: clamp(13px, 3.8vw, 16px);
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #1e2126;
  text-transform: lowercase;
}

.card-back-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.8vw, 11px);
  position: relative;
  z-index: 5;
  margin: auto auto;
  width: 100%;
  max-width: 310px;
}

.card-back-step {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 18px);
  text-align: left;
}

.step-num {
  font-family: var(--font);
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 600;
  color: #5d6168;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  width: clamp(14px, 3.2vw, 18px);
}

.step-text {
  font-family: var(--font);
  font-size: clamp(10.5px, 2.8vw, 13px);
  font-weight: 500;
  color: #1e2126;
  letter-spacing: 0.1px;
  line-height: 1.3;
}

.card-back-footer {
  position: relative;
  z-index: 5;
  text-align: center;
  width: 100%;
}

.card-back-rule {
  font-family: var(--font);
  font-size: clamp(9px, 2.4vw, 11px);
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #5d6168;
  text-transform: lowercase;
}

.card-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 18px;
  letter-spacing: 1.5px;
}

/* ========================================
   MODALS
   ======================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: #1c1c1e;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 360px;
  width: calc(100% - 48px);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* QR Modal */
.qr-modal-content {
  padding: 32px 28px;
}

.qr-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.qr-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.qr-container {
  background: white;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  width: fit-content;
}

.qr-container img {
  width: 200px !important;
  height: 200px !important;
  display: block;
}

.qr-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 14px;
  border-radius: 980px;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 auto 18px;
  width: fit-content;
  font-family: var(--font);
}

.qr-timer-pill strong {
  color: var(--white);
  font-family: var(--mono);
  font-weight: 600;
}

.qr-timer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(48, 209, 88, 0.5);
  animation: pulse 1s infinite;
}

.qr-timer-pill.warning .qr-timer-dot {
  background: #ff9f0a;
  box-shadow: 0 0 8px rgba(255, 159, 10, 0.5);
}

.qr-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

.qr-status.approved {
  color: var(--success);
}

.qr-status.approved .pulse-dot {
  background: var(--success);
  animation: none;
}

/* ========================================
   REWARD MODAL & SWIPE CARD (Apple Liquid Glass)
   ======================================== */

.reward-modal-content {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 336px;
  width: 90vw;
  box-shadow: none;
}

.reward-card-wrapper {
  perspective: 1200px;
}

.reward-card {
  position: relative;
  width: 100%;
  min-height: 440px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(175deg, rgba(38, 38, 44, 0.94) 0%, rgba(20, 20, 24, 0.98) 55%, rgba(12, 12, 15, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.6),
    0 32px 80px -20px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
}

.glass-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 100%);
  border-radius: 32px 32px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Cover Card — Liquid Glass Sheen (No bubbles, No orbs, Monochromatic) */
.reward-card-cover {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg, rgba(46, 46, 54, 0.96) 0%, rgba(24, 24, 30, 0.98) 50%, rgba(14, 14, 18, 0.99) 100%);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 34px 24px 30px;
  z-index: 5;
  cursor: grab;
  user-select: none;
  touch-action: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1.5px 0.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.6),
    0 24px 60px -15px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease;
  will-change: transform, opacity, filter;
}

.reward-card-cover:active {
  cursor: grabbing;
}

.reward-card-cover.revealed {
  transform: translateY(-135%) scale(0.92) !important;
  opacity: 0 !important;
  filter: blur(10px) !important;
  pointer-events: none !important;
}

.cover-glass-shine {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 30%, transparent 65%);
  pointer-events: none;
}

.reward-cover-top {
  display: flex;
  justify-content: center;
  z-index: 2;
}

/* Frosted monochromatic pill badge (Zero green color) */
.glass-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.reward-cover-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
  z-index: 2;
}

.cover-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.reward-cover-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.15);
}

.reward-cover-sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: -0.01em;
  margin: 0;
}

.reward-cover-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  margin-bottom: 6px;
}

/* Minimalist swipe indicator (Zero bubble, zero border — purely arrow and text) */
.swipe-indicator,
.swipe-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.swipe-chevron {
  color: rgba(255, 255, 255, 0.88);
  animation: appleChevronFloat 1.8s ease-in-out infinite;
}

.swipe-chevron svg {
  display: block;
}

@keyframes appleChevronFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.swipe-label {
  font-size: 10.5px;
  font-weight: 550;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ========================================
   REVEALED REWARD CONTENT & CINEMATIC REVEAL
   ======================================== */
.reward-content {
  position: relative;
  padding: 40px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 440px;
  text-align: center;
  z-index: 2;
  overflow: hidden;
}

/* Reveal Ambient Bloom */
.reward-reveal-bloom {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.reward-content.revealed-active .reward-reveal-bloom {
  animation: rewardBloomPulse 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rewardBloomPulse {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  40% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}

/* Diagonal Specular Light Sweep */
.reward-shine-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg,
      transparent 35%,
      rgba(255, 255, 255, 0.06) 45%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.06) 55%,
      transparent 65%);
  transform: rotate(-25deg) translateY(-100%);
  pointer-events: none;
  z-index: 3;
}

.reward-content.revealed-active .reward-shine-sweep {
  animation: shineSweep 1.1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shineSweep {
  0% {
    transform: rotate(-25deg) translateY(-80%);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: rotate(-25deg) translateY(80%);
    opacity: 0;
  }
}

.revealed-glass-shine {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 65%);
  pointer-events: none;
}

.reward-content-header {
  display: flex;
  justify-content: center;
  z-index: 2;
}

.reward-revealed-title {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.reward-content.revealed-active .reward-revealed-title {
  animation: revealHeaderIn 0.55s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealHeaderIn {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reward-item-wrap {
  margin: auto 0;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.reward-item-name {
  font-size: clamp(32px, 8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #ededf2 40%, #c4c4cf 75%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 255, 255, 0.25));
}

.reward-content.revealed-active .reward-item-name {
  animation: rewardPopIn 0.65s 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rewardPopIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(8px) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  65% {
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) drop-shadow(0 4px 24px rgba(255, 255, 255, 0.25));
  }
}

.reward-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  z-index: 2;
}

.reward-instruction {
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.45;
}

.reward-thankyou {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.01em;
  margin: 0;
}

.reward-content.revealed-active .reward-meta {
  animation: revealMetaIn 0.5s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealMetaIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reward-done-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 999px;
  padding: 13px 36px;
  max-width: 190px;
  width: 100%;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow:
    0 4px 20px rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.reward-done-btn:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 6px 26px rgba(255, 255, 255, 0.32),
    0 1px 2px rgba(0, 0, 0, 0.25);
}

.reward-done-btn:active {
  transform: scale(0.97);
}

.reward-content.revealed-active .reward-done-btn {
  animation: revealBtnIn 0.5s 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealBtnIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Delicate Starlight Sparkles */
.reward-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.sparkle-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #ffffff 30%, rgba(255, 255, 255, 0.6) 70%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
  animation: sparkleFloat 1.8s ease-out forwards;
}

@keyframes sparkleFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }

  25% {
    opacity: 1;
    transform: translate(var(--tx, 0), var(--ty, -25px)) scale(1.2);
  }

  100% {
    opacity: 0;
    transform: translate(calc(var(--tx, 0) * 1.4), calc(var(--ty, -55px) * 1.6)) scale(0.2);
  }
}

/* Delete Modal */
.delete-modal-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.delete-modal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-actions .btn-ghost {
  padding: 14px 24px;
  font-size: 15px;
}

/* ========================================
   STAFF MESSAGE SECTION
   ======================================== */

.section-message {
  padding: 24px 20px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.message-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.message-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.message-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   SOCIAL SECTION
   ======================================== */

.section-social {
  padding: 0 20px 20px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.social-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer-brand {
  text-align: center;
  padding: 36px 20px 44px;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  user-select: none;
}

.auth-container .footer-brand {
  padding: 32px 20px 0;
}

.footer-brand strong {
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-bolt {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  color: #fff;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes celebrateBg {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.1);
  }

  100% {
    filter: brightness(1);
  }
}

.card-3d.celebrate {
  animation: celebrateBg 0.8s ease;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall 2s ease-in forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(400px) rotate(720deg);
    opacity: 0;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 380px) {
  .card-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .card-face {
    padding: 16px 16px;
  }

  .card-footer .value {
    font-size: 12px;
  }
}

@media (min-width: 480px) {
  .card-perspective {
    max-width: 410px;
  }
  .section-reward-status,
  .section-social {
    max-width: 410px;
  }
}

@media (min-width: 768px) {
  .card-perspective {
    max-width: 430px;
  }
  .section-reward-status,
  .section-social {
    max-width: 430px;
  }
}

/* ========================================
   REFINED LOYALTY EXPERIENCE
   ======================================== */

.card-section {
  padding-top: 28px;
}

.card-face {
  border-radius: 21px;
}

.card-front,
.card-back {
  background:
    /* Ultra-fine horizontal brushed hairline texture (strictly 180deg horizontal grain, ZERO vertical lines) */
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(0, 0, 0, 0.025) 2px,
      rgba(255, 255, 255, 0.03) 3px,
      rgba(0, 0, 0, 0.015) 5px,
      rgba(255, 255, 255, 0.025) 7px,
      transparent 9px),
    /* Rich cold-rolled metallic alloy gradient matching screenshot */
    linear-gradient(125deg,
      #b6bac0 0%,
      #c4c8ce 18%,
      #d8dce2 36%,
      #eef1f6 52%,
      #d2d6dc 64%,
      #a4a9b0 82%,
      #b0b4bb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    inset 1px 0 0 rgba(255, 255, 255, 0.3),
    inset -1px 0 0 rgba(0, 0, 0, 0.15),
    0 28px 64px -20px rgba(0, 0, 0, 0.8),
    0 10px 24px -10px rgba(0, 0, 0, 0.45);
}

.card-back {
  padding: clamp(16px, 4.5vw, 26px) clamp(16px, 5vw, 24px);
}

.card-shine {
  background:
    /* Broad soft glowing diagonal specular glare sweep (matching screenshot) */
    linear-gradient(125deg,
      transparent 18%,
      rgba(255, 255, 255, 0.06) 32%,
      rgba(255, 255, 255, 0.24) 45%,
      rgba(255, 255, 255, 0.42) 52%,
      rgba(255, 255, 255, 0.22) 58%,
      rgba(255, 255, 255, 0.06) 68%,
      transparent 82%),
    /* Soft central radial glare */
    radial-gradient(ellipse 85% 60% at 52% 46%,
      rgba(255, 255, 255, 0.26) 0%,
      rgba(255, 255, 255, 0.08) 45%,
      transparent 75%);
  opacity: 1;
}

.card-edge-light {
  border-color: rgba(255, 255, 255, 0.4);
  border-radius: 21px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.store-name {
  font-size: clamp(11px, 3.2vw, 14px);
  letter-spacing: clamp(1.4px, 0.4vw, 2.4px);
}

.card-badge {
  padding: 4px clamp(8px, 2.5vw, 13px);
  letter-spacing: clamp(1.2px, 0.3vw, 2.2px);
}

.streaks-grid {
  width: 100%;
}

.card-hint {
  margin-top: 13px;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  text-transform: lowercase;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.card-hint:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ========================================
   STANDOUT REWARD STATUS SECTION
   ======================================== */

.section-reward-status {
  width: 100%;
  max-width: 380px;
  margin: 18px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .section-reward-status {
    max-width: 400px;
  }
}

.reward-status-card {
  position: relative;
  width: 100%;
  padding: 17px 24px;
  box-sizing: border-box;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.065) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    0 18px 40px -12px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.reward-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);
  pointer-events: none;
}

.reward-status-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 22px 48px -12px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.3);
}

.reward-explainer {
  margin: 0;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.4;
  text-align: center;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.promotion-content {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 34px 20px 24px;
}

.promotion-content[hidden],
.promotion-message[hidden],
.promotion-image-wrap[hidden] {
  display: none !important;
}

.promotion-message {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(23px, 6.4vw, 30px);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 1.1;
  text-wrap: balance;
}

.promotion-image-wrap {
  margin: 0;
}

.promotion-message:not([hidden])+.promotion-image-wrap:not([hidden]) {
  margin-top: 22px;
}

.promotion-image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 34px -30px rgba(0, 0, 0, 0.9);
}

.section-social {
  width: 100%;
  max-width: 388px;
  margin: 0 auto;
  padding: 10px 16px 0;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
}

@media (min-width: 480px) {
  .section-social {
    max-width: 410px;
  }
}

@media (min-width: 768px) {
  .section-social {
    max-width: 430px;
  }
}

.social-btn {
  flex: 1;
  min-height: 50px;
  padding: 12px clamp(6px, 1.8vw, 14px);
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.065) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    0 18px 40px -12px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-btn span {
  white-space: nowrap;
}

.social-icon {
  flex-shrink: 0;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);
  pointer-events: none;
}

.social-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 22px 48px -12px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.social-btn svg,
.social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn .star-icon {
  fill: #ffb800;
  stroke: #ffb800;
  stroke-width: 0.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.social-btn .insta-icon {
  stroke: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.social-btn:hover svg,
.social-btn:hover .social-icon {
  opacity: 1;
  transform: scale(1.06);
}

.footer-brand {
  padding-top: 40px;
}

.reward-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
}

.reward-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 1.35;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 380px) {
  .reward-status-card {
    padding: 14px 18px;
    border-radius: 17px;
  }

  .reward-explainer {
    font-size: 13.5px;
  }

  .promotion-content {
    padding: 30px 20px 22px;
  }
}