/* Enhanced Footer Styles */
.footer-enhanced {
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #0a1511 100%);
  padding: 60px 0 30px;
  overflow: hidden;
  border-top: 1px solid rgba(158, 209, 178, 0.15);
}

/* Animated Background */
.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(158, 209, 178, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 209, 178, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(158, 209, 178, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer-particles .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 10s infinite linear;
}

.footer-particles .particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.footer-particles .particle:nth-child(2) {
  top: 40%;
  left: 30%;
  animation-delay: 2s;
}
.footer-particles .particle:nth-child(3) {
  top: 60%;
  left: 50%;
  animation-delay: 4s;
}
.footer-particles .particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 6s;
}
.footer-particles .particle:nth-child(5) {
  top: 30%;
  left: 90%;
  animation-delay: 8s;
}
.footer-particles .particle:nth-child(6) {
  top: 70%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-100px) rotate(180deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-200px) rotate(360deg);
    opacity: 0;
  }
}

/* Wave Effect */
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Main Content */
.footer-main {
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

/* Brand Card */
.brand-card {
  background: rgba(158, 209, 178, 0.03);
  border: 1px solid rgba(158, 209, 178, 0.1);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.brand-logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(10px);
  animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.footer-logo-enhanced {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
}

.brand-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* Live Stats */
.live-stats {
  background: rgba(158, 209, 178, 0.05);
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 25px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.stat-dot.live {
  background: #4caf50;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stat-value {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.3rem;
}

.stat-value.live {
  color: #4caf50;
}

/* Social Links Enhanced */
.social-links-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.social-link {
  position: relative;
  width: 45px;
  height: 45px;
  background: rgba(158, 209, 178, 0.05);
  border: 1px solid rgba(158, 209, 178, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-5px) rotate(360deg);
  border-color: var(--accent);
}

.social-link.telegram:hover {
  background: #0088cc;
  color: white;
  border-color: #0088cc;
}

.social-link.twitter:hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.social-link.linkedin:hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.social-link.youtube:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.social-link.discord:hover {
  background: #5865f2;
  color: white;
  border-color: #5865f2;
}

.social-link.medium:hover {
  background: #00ab6c;
  color: white;
  border-color: #00ab6c;
}

.social-tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: var(--bg-alt);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.social-link:hover .social-tooltip {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  top: -35px;
}

/* Newsletter Mini */
.newsletter-mini {
  background: rgba(158, 209, 178, 0.05);
  border-radius: 50px;
  padding: 5px;
  border: 1px solid rgba(158, 209, 178, 0.15);
}

.mini-form {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 15px;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.mini-input::placeholder {
  color: var(--text-muted);
}

.mini-submit {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: var(--bg-main);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-submit:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(158, 209, 178, 0.3);
}

/* Links Card */
.links-card {
  background: rgba(158, 209, 178, 0.02);
  border: 1px solid rgba(158, 209, 178, 0.1);
  border-radius: 20px;
  padding: 25px;
  height: 100%;
  transition: all 0.3s ease;
}

.links-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.links-title {
  position: relative;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-text {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.title-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.3s ease;
}

.links-card:hover .title-line {
  width: 80px;
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(158, 209, 178, 0.05);
}

.link-item:last-child {
  border-bottom: none;
}

.link-item i {
  font-size: 0.8rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.link-item:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.link-item:hover i {
  transform: translateX(3px);
}

/* Trust Badges Footer */
.trust-badges-footer {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(158, 209, 178, 0.05);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid rgba(158, 209, 178, 0.1);
}

.badge-item i {
  color: var(--accent);
  font-size: 0.7rem;
}

/* Contact Card Footer */
.contact-card-footer {
  background: rgba(158, 209, 178, 0.02);
  border: 1px solid rgba(158, 209, 178, 0.1);
  border-radius: 20px;
  padding: 25px;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-card-footer:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: rgba(158, 209, 178, 0.03);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(158, 209, 178, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  background: rgba(158, 209, 178, 0.08);
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(158, 209, 178, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: var(--accent);
  color: var(--bg-main);
  transform: rotate(360deg);
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.contact-value {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-hover {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--accent);
}

.contact-item:hover .contact-hover {
  opacity: 1;
  transform: translateX(0);
}

/* Quick Support */
.quick-support {
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px solid rgba(158, 209, 178, 0.1);
}

.quick-support p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.support-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent), #78a98a);
  color: var(--bg-main);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.support-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(158, 209, 178, 0.3);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.support-btn:hover .btn-glow {
  left: 100%;
}

/* Footer Divider */
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 30px;
  position: relative;
  z-index: 10;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.divider-icon {
  width: 40px;
  height: 40px;
  background: rgba(158, 209, 178, 0.1);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 10;
  padding-top: 20px;
}

.copyright-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copyright-enhanced i {
  color: var(--accent);
  font-size: 0.8rem;
}

.footer-badges {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.badge-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(158, 209, 178, 0.05);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid rgba(158, 209, 178, 0.1);
  transition: all 0.3s ease;
}

.badge-enhanced:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.badge-enhanced i {
  color: var(--accent);
  font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-badges {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .brand-card,
  .links-card,
  .contact-card-footer {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footer-wave svg {
    height: 40px;
  }

  .footer-logo-enhanced {
    font-size: 2rem;
  }

  .social-links-enhanced {
    justify-content: center;
  }

  .footer-badges {
    justify-content: center;
  }

  .copyright-enhanced {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 20px;
  }

  .brand-card,
  .links-card,
  .contact-card-footer {
    padding: 20px;
  }

  .stat-row {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
