/* ============================================
   GAMIFICATION styles
   ============================================ */

.gami-card {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.10) 0%, rgba(156, 39, 176, 0.08) 100%);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .gami-card {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.12) 0%, rgba(156, 39, 176, 0.10) 100%);
  border-color: rgba(79, 195, 247, 0.22);
}

.gami-claim-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  min-height: 48px;
  background: linear-gradient(135deg, #4FC3F7 0%, #7E57C2 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79, 195, 247, 0.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.gami-claim-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(79, 195, 247, 0.25);
}

.gami-claim-done {
  text-align: center;
  padding: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border-radius: var(--radius-md);
}

/* Daily claim modal */
.gami-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn .25s ease;
}

.gami-modal {
  width: 100%;
  max-width: 360px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4) var(--space-4);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: slideUp .3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

[data-theme="dark"] .gami-modal {
  background: rgba(24, 24, 28, 0.96);
}

.gami-modal-diamond {
  font-size: 4rem;
  margin-bottom: var(--space-2);
  animation: gamiDiamondPulse 1.8s ease-in-out infinite;
}

@keyframes gamiDiamondPulse {
  0%, 100% { transform: scale(1) rotate(-6deg); }
  50%      { transform: scale(1.08) rotate(6deg); }
}

.gami-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.gami-modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.gami-modal-reward {
  font-size: 2rem;
  font-weight: 800;
  color: #4FC3F7;
  margin-bottom: var(--space-2);
}
.gami-modal-streak {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.gami-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gami-modal-btn-primary {
  width: 100%;
  padding: 14px;
  min-height: 48px;
  background: linear-gradient(135deg, #4FC3F7 0%, #7E57C2 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gami-modal-btn-secondary {
  width: 100%;
  padding: 12px;
  min-height: 44px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
}

/* Mini-awatar na karcie portfela */
.wallet-owner-avatar {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Header avatar — pełny kolor zamiast monochrom */
.app-header .avatar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
