/* Footer Styles */

footer {
  background: var(--theme-bg-secondary, linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%));
  color: var(--theme-text-inverse, white);
  padding: 0;
  margin-top: 60px;
}

/* Dark theme footer keeps gradient, light theme uses solid color */
[data-theme="light"] footer {
  background: var(--theme-bg-secondary, #f8f9fa);
  color: var(--theme-text-primary, #212529);
}

.footer-cta-section {
  padding: 60px 20px;
  position: relative;
}

.footer-cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-cta-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.footer-cta-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.footer-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.footer-cta-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-cta-card .cta-icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.footer-cta-card h4 {
  margin: 0 0 20px 0;
  font-size: 1.3em;
}

.footer-cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.footer-cta-btn.primary {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.footer-cta-btn.secondary {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.footer-cta-btn.tertiary {
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.footer-cta-btn.tertiary:hover {
  background: #ffd700;
  color: #1a1a2e;
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.newsletter-icon {
  font-size: 2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.newsletter-text {
  flex: 1;
  text-align: left;
}

.newsletter-text strong {
  display: block;
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 5px;
}

.newsletter-text span {
  opacity: 0.8;
}

.newsletter-btn {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-content nav ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-content nav ul li a:hover {
  text-decoration: underline;
}

.version-info {
  margin-top: 10px;
  font-size: 0.8em;
  opacity: 0.7;
}

.version-badge {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  cursor: help;
  transition: opacity 0.2s;
}

.version-badge:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-cta-title {
    font-size: 2rem;
  }

  .footer-cta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-cta-card {
    padding: 20px;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-text {
    text-align: center;
  }
}

