/* ==========================================================================
   Crazy Time Tracker - Donation & Support Styles
   ========================================================================== */

.donation-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0.5rem 0 3rem;
  animation: fadeInDonation 0.35s ease-out;
}

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

/* Hero Section */
.donation-hero-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.donation-hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.donation-hero-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.donation-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.donation-hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.donation-hero-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 9px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.donation-hero-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.45;
}

/* Card Shell */
.donation-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.donation-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.donation-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Network Selector Tabs */
.donation-networks-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.donation-network-tab {
  flex: 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #cbd5e1;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.donation-network-tab:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.donation-network-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.1) 100%);
  border-color: #fbbf24;
  color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.crypto-coin-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-block;
}

.donation-tab-coin-name {
  font-size: 0.9rem;
  font-weight: 800;
}

/* QR Code Section */
.donation-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0.5rem 1.5rem;
}

.donation-qr-box {
  width: 230px;
  height: 230px;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 0 3px rgba(251, 191, 36, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.donation-qr-box:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 22px rgba(251, 191, 36, 0.75);
}

.donation-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.donation-qr-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Address & Copy Box */
.donation-address-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.donation-addr-lbl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
}

.donation-addr-network-tag {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
}

.donation-address-box {
  background: #090d16;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #f8fafc;
  word-break: break-all;
  user-select: all;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.donation-address-box:hover {
  border-color: rgba(251, 191, 36, 0.6);
  background: #0f172a;
}

/* Copy Action Button */
.btn-copy-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  user-select: none;
}

.btn-copy-address:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.btn-copy-address:active {
  transform: translateY(1px);
}

.btn-copy-address.copied {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.45) !important;
}

.donation-thank-you-bar {
  text-align: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: #fbbf24;
  font-weight: 700;
}

/* ==========================================================================
   Floating "Support Us" Bottom Button (Pops on any tab)
   ========================================================================== */
.floating-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fbbf24;
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(245, 158, 11, 0.25);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  backdrop-filter: blur(8px);
  animation: pulseGlowSupport 3.5s infinite alternate;
}

.floating-support-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  border-color: #fbbf24;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55), 0 0 24px rgba(245, 158, 11, 0.6);
}

.floating-support-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
}

.floating-support-icon {
  font-size: 1.1rem;
}

@keyframes pulseGlowSupport {
  0% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 12px rgba(245, 158, 11, 0.2);
  }
  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 22px rgba(245, 158, 11, 0.45);
  }
}

@media (max-width: 640px) {
  .donation-container {
    padding: 0 0.5rem 3rem;
  }
  .floating-support-btn {
    bottom: 16px;
    right: 16px;
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .donation-network-tab {
    min-width: 100px;
    padding: 0.7rem 0.5rem;
    font-size: 0.82rem;
  }
}
