/* ==========================================
   CLUB ALBARRACÍN - LOYALTY STYLESHEET
   ========================================== */

/* 1. Floating Action Button (FAB) */
.loyalty-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #ff9100);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 87, 34, 0.4), var(--neon-orange-shadow);
  cursor: pointer;
  z-index: 1040;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.loyalty-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 25px rgba(255, 87, 34, 0.6), 0 0 20px rgba(255, 145, 0, 0.5);
}

.loyalty-fab-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  animation: float-slow 3s infinite ease-in-out alternate;
}

.loyalty-fab-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background-color: var(--accent-blue);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: var(--border-radius-full);
  border: 1.5px solid var(--bg-primary);
  font-family: var(--font-brand);
  box-shadow: var(--neon-blue-shadow);
  animation: pulse-glow 1.5s infinite alternate;
}

/* 2. Loyalty Panel / Drawer */
.loyalty-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  z-index: 1150;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.loyalty-drawer.open {
  right: 0;
}

.loyalty-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--accent-orange-rgb), 0.03);
}

.loyalty-header-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.loyalty-header-title svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-orange);
}

.loyalty-content {
  flex: 1;
  overflow-y: auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 3. Onboarding & Registration Form */
.loyalty-onboarding {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
}

.loyalty-onboarding-icon {
  width: 70px;
  height: 70px;
  fill: var(--accent-orange);
  margin: 0 auto;
  filter: drop-shadow(var(--neon-orange-shadow));
  animation: pulse-glow 2s infinite alternate;
}

.loyalty-onboarding-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.loyalty-onboarding-title span {
  background: linear-gradient(135deg, var(--accent-orange), #ff9100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loyalty-onboarding-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.loyalty-benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-blue-rgb), 0.08);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.2);
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 600;
  text-align: left;
}

.loyalty-benefit-tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* 4. Club Card */
.club-card {
  position: relative;
  background: linear-gradient(135deg, #111422 0%, #1c0e2a 100%);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: var(--border-radius-md);
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), var(--neon-orange-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
}

.club-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-orange-rgb), 0.15) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.club-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.15) 0%, transparent 70%);
  filter: blur(15px);
  pointer-events: none;
}

.club-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.club-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.club-card-logo-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-orange);
}

.club-card-logo-text {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
}

.club-card-tier-badge {
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  font-family: var(--font-brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-bronce {
  background: rgba(205, 127, 50, 0.2);
  color: #cd7f32;
  border: 1px solid rgba(205, 127, 50, 0.4);
}

.tier-plata {
  background: rgba(192, 192, 192, 0.2);
  color: #c0c0c0;
  border: 1px solid rgba(192, 192, 192, 0.4);
}

.tier-oro {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.tier-platino {
  background: rgba(229, 228, 226, 0.2);
  color: #e5e4e2;
  border: 1px solid rgba(229, 228, 226, 0.4);
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.club-card-body {
  margin-top: 15px;
  z-index: 2;
}

.club-card-points-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.club-card-points-val {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-top: 2px;
  background: linear-gradient(90deg, #ffffff, #ffb300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.club-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  z-index: 2;
}

.club-card-member-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.club-card-member-id {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

/* Progress bar to next tier */
.club-progress-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.club-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.club-progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-full);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.club-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
  border-radius: var(--border-radius-full);
  width: 0%;
  transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
  box-shadow: 0 0 8px rgba(0, 176, 255, 0.4);
}

/* 5. Rueda de la Fortuna (Spin the Wheel) */
.loyalty-section-title {
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue);
  border-bottom: 1.5px solid var(--glass-border);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loyalty-section-title svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.wheel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  gap: 15px;
}

.wheel-canvas-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 10px auto;
}

.wheel-canvas-container::after {
  /* Pointer arrow */
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid var(--accent-orange);
  z-index: 10;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

#wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(var(--accent-orange-rgb), 0.15);
  border: 4px solid var(--bg-tertiary);
  background: var(--bg-primary);
}

.wheel-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ffffff, #888888);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  z-index: 5;
  border: 3px solid var(--bg-tertiary);
}

/* 6. Rewards Grid & Vouchers */
.rewards-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reward-voucher {
  display: flex;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  position: relative;
  height: 90px;
  transition: all 0.3s ease;
}

.reward-voucher:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-orange-rgb), 0.25);
}

.reward-voucher-value {
  width: 95px;
  background: linear-gradient(135deg, rgba(var(--accent-orange-rgb), 0.1) 0%, rgba(var(--accent-orange-rgb), 0.03) 100%);
  border-right: 2px dashed var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.35rem;
  padding: 10px;
  position: relative;
}

/* Ticket half circle cuts */
.reward-voucher-value::before, .reward-voucher-value::after {
  content: '';
  position: absolute;
  right: -6px;
  width: 10px;
  height: 10px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  z-index: 5;
}

.reward-voucher-value::before { top: -6px; border-bottom: 1.5px solid var(--glass-border); }
.reward-voucher-value::after { bottom: -6px; border-top: 1.5px solid var(--glass-border); }

.reward-voucher-info {
  flex: 1;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reward-voucher-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.reward-voucher-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.reward-voucher-cost {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 4px;
}

.reward-voucher-btn {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.2s ease;
}

.reward-voucher-btn:hover:not(:disabled) {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
}

.reward-voucher-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 7. Active Coupons */
.my-coupons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.active-coupon-card {
  background: rgba(0, 230, 118, 0.04);
  border: 1px dashed #00e676;
  border-radius: var(--border-radius-sm);
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.active-coupon-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.active-coupon-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #00e676;
}

.active-coupon-code {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  font-weight: 600;
}

.active-coupon-actions {
  display: flex;
  gap: 8px;
}

.active-coupon-btn {
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
}

.active-coupon-apply-btn {
  background-color: #00e676;
  color: #0c0e14;
}

.active-coupon-apply-btn:hover {
  background-color: #00b0ff;
  color: white;
}

/* Applied status in cart */
.applied-coupon-box {
  background: rgba(0, 230, 118, 0.08);
  border: 1.5px solid #00e676;
  border-radius: var(--border-radius-sm);
  padding: 12px 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.applied-coupon-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00e676;
  font-size: 0.85rem;
  font-weight: 600;
}

.applied-coupon-info svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.applied-coupon-remove {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.applied-coupon-remove:hover {
  color: #ff3366;
}

/* 8. Daily Missions & Check-ins */
.missions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.mission-item.completed {
  border-color: rgba(0, 230, 118, 0.3);
  background: rgba(0, 230, 118, 0.02);
}

.mission-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.mission-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mission-reward {
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mission-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

.mission-btn-claim {
  background-color: var(--accent-orange);
  color: white;
}

.mission-btn-done {
  background: transparent;
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: #00e676;
  cursor: default;
}

/* Streak Daily check-in grid */
.streak-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.streak-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.streak-title span {
  color: var(--accent-orange);
}

.streak-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.streak-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1.2;
  border-radius: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.streak-day.active {
  background: rgba(var(--accent-orange-rgb), 0.15);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(var(--accent-orange-rgb), 0.2);
}

.streak-day.completed {
  background: rgba(0, 230, 118, 0.1);
  border-color: #00e676;
  color: #00e676;
}

.streak-day-num {
  font-size: 0.6rem;
  text-transform: uppercase;
  margin-bottom: 2px;
  opacity: 0.7;
}

.streak-day-reward {
  font-size: 0.75rem;
  font-weight: 700;
}

/* 9. Badges Grid */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  cursor: pointer;
}

.badge-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all 0.3s ease;
  position: relative;
}

.badge-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.badge-item.unlocked .badge-icon-box {
  color: #ffd700;
  border-color: #ffd700;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 80%);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  transform: scale(1.05);
}

.badge-item.unlocked:hover .badge-icon-box {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.badge-name {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.badge-item.unlocked .badge-name {
  color: var(--text-primary);
  font-weight: 700;
}

/* 10. AI Personalized Showcase */
.ai-recommendation-box {
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.08) 0%, rgba(var(--accent-orange-rgb), 0.04) 100%);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.2);
  border-radius: var(--border-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-recommendation-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.ai-recommendation-header svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  animation: logo-glow 3s infinite alternate;
}

.ai-recommendation-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.ai-product-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.ai-product-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.ai-product-item:hover {
  border-color: var(--accent-orange);
}

.ai-product-img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
}

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

.ai-product-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-product-price {
  font-size: 0.75rem;
  font-family: var(--font-brand);
  color: var(--accent-orange);
  font-weight: 700;
}

.ai-product-badge {
  font-size: 0.65rem;
  background: rgba(var(--accent-orange-rgb), 0.15);
  color: var(--accent-orange);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* 11. Digital Pass Wallet Modal */
.wallet-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.wallet-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.wallet-card-container {
  width: 320px;
  background: #1e1e1e;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  overflow: hidden;
  border: 1px solid #333333;
  display: flex;
  flex-direction: column;
  animation: slide-up-glow 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.wallet-card-header {
  background: #12141c;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #282828;
}

.wallet-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: var(--font-brand);
  font-size: 0.85rem;
}

.wallet-logo svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-orange);
}

.wallet-close {
  color: #888;
  cursor: pointer;
}

.wallet-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(180deg, #161822 0%, #0d0f14 100%);
}

.wallet-member-info {
  display: flex;
  justify-content: space-between;
}

.wallet-info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-info-label {
  font-size: 0.65rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-info-val {
  font-size: 0.9rem;
  color: white;
  font-weight: 700;
}

.wallet-info-val-points {
  font-family: var(--font-brand);
  color: var(--accent-orange);
  font-size: 1.5rem;
}

.wallet-card-barcode-box {
  background: white;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.wallet-barcode-stripes {
  width: 200px;
  height: 60px;
  display: flex;
  justify-content: space-between;
}

.wallet-barcode-stripe {
  height: 100%;
  background-color: black;
}

.wallet-card-id {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  color: #333333;
  letter-spacing: 1px;
}

.wallet-card-footer-buttons {
  display: flex;
  gap: 10px;
  padding: 15px 20px 20px;
  background: #12141c;
  border-top: 1px solid #282828;
}

.wallet-add-btn {
  flex: 1;
  height: 40px;
  background: black;
  border: 1px solid #333;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wallet-add-btn:hover {
  background: #111;
}

.wallet-add-btn img {
  height: 18px;
}

/* 12. Animations & Effects */
@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(255, 87, 34, 0.3); }
  100% { box-shadow: 0 0 18px rgba(255, 87, 34, 0.6); }
}

@keyframes slide-up-glow {
  0% { transform: translateY(50px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* SVG Confetti Styles */
.confetti-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1500;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 20px;
  background: #ffd700;
  opacity: 0;
  transform-origin: center;
  animation: confetti-fall 3.5s infinite linear;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* 13. Admin Panel Styles */
.admin-trigger-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  margin-right: 8px;
}

.admin-trigger-btn:hover {
  color: var(--accent-orange);
}

.admin-trigger-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.admin-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-container {
  width: 90%;
  max-width: 850px;
  height: 80vh;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slide-up-glow 0.4s ease;
}

.admin-modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--accent-blue-rgb), 0.03);
}

.admin-modal-header-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.admin-modal-header-title svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-blue);
}

.admin-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.admin-stat-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-stat-value {
  font-size: 1.5rem;
  font-family: var(--font-brand);
  font-weight: 700;
  color: var(--accent-orange);
}

.admin-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--glass-border);
  gap: 15px;
}

.admin-tab-btn {
  padding: 10px 15px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.admin-tab-content {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.admin-tab-content.active {
  display: flex;
}

.admin-table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  background: var(--bg-tertiary);
  max-height: 300px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.admin-table th {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
  font-weight: 700;
}

.admin-table tr:hover td {
  background: rgba(255,255,255,0.01);
  color: var(--text-primary);
}

.admin-btn-export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-blue);
  color: white;
  border: none;
  padding: 8px 15px;
  font-size: 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.admin-btn-export:hover {
  opacity: 0.9;
}

.admin-btn-export svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
