/* ═══ SUPPORT BANNER STYLES ═══ */

/* ─── MODAL OVERLAY ─── */
.support-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}

/* ─── MODAL CARD ─── */
.support-modal {
  background: var(--bg-glass, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.support-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.support-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

/* ─── CONTENT ─── */
.support-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.support-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(168, 85, 247, 0.2));
}

.support-title {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  letter-spacing: -0.5px;
}

/* ─── MESSAGE ─── */
.support-message {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-weight: 500;
}

.support-highlight {
  color: var(--primary, #a855f7);
  font-weight: 700;
}

/* ─── BUTTONS ─── */
.support-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.support-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

.support-btn-primary {
  background: var(--primary, #a855f7);
  color: white;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.support-btn-primary:hover {
  background: #9333ea;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.support-btn-primary:active {
  transform: translateY(0);
}

.support-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.support-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
}

.support-btn-emoji {
  font-size: 18px;
}

.support-footer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0;
  margin-top: 4px;
}

.support-cta-text {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  padding: 12px 16px !important;
  margin: 8px 0 0 0 !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ─── FOOTER BANNER ─── */
.support-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass, rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  z-index: 9998;
  animation: bannerSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bannerSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.support-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.support-banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.support-banner-icon {
  font-size: 18px;
  filter: drop-shadow(0 1px 2px rgba(168, 85, 247, 0.15));
}

.support-banner-msg {
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-banner-link {
  background: none;
  border: none;
  color: var(--primary, #a855f7);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.support-banner-link:hover {
  color: #bb86fc;
}

.support-banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.support-banner-close:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .support-modal {
    padding: 36px 28px;
    max-width: 100%;
    margin: 0 16px;
    width: auto;
  }

  .support-title {
    font-size: 20px;
  }

  .support-text {
    font-size: 13px;
  }

  .support-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .support-banner-content {
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .support-banner-text {
    flex: 1;
    font-size: 13px;
  }
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] .support-modal-overlay {
  background: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .support-modal {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(168, 85, 247, 0.2);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .support-title {
  color: rgba(0, 0, 0, 0.95);
}

[data-theme="light"] .support-text {
  color: rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .support-btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .support-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .support-close {
  color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .support-close:hover {
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .support-footer {
  color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .support-banner {
  background: rgba(255, 255, 255, 0.75);
  border-top-color: rgba(168, 85, 247, 0.15);
}

[data-theme="light"] .support-banner-text {
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .support-banner-close {
  color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .support-banner-close:hover {
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .support-cta-text {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.02) 100%);
  border-color: rgba(168, 85, 247, 0.25);
  color: rgba(0, 0, 0, 0.9) !important;
}
