/* ==========================================================================
   Modern Crypto Platform Footer Styles
   ========================================================================== */

footer {
  padding: 85px 0 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(242, 199, 102, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.94) 0%, rgba(3, 5, 9, 0.98) 100%),
    url('../img/footer.jpg') center/cover no-repeat;
  border-top: 1px solid rgba(242, 199, 102, 0.18);
  color: var(--text-muted);
  font-size: 14px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 15px var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 48px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}

.footer-brand:hover {
  transform: translateY(-1px);
}

.footer-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(242, 199, 102, 0.12));
}

.footer-copy {
  max-width: 320px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.5s infinite;
}

footer h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 10px;
}

footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

footer a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-grid nav a::before {
  content: '›';
  margin-right: 8px;
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.risk-box {
  background: rgba(14, 22, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.risk-box p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 60px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom small {
  color: #64748b;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #64748b;
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: var(--gold);
  transform: none;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  footer {
    padding-top: 50px;
  }

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

  .footer-copy {
    max-width: 100%;
    font-size: 13.5px;
    margin-bottom: 16px;
  }

  footer h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }

  .footer-grid nav {
    gap: 10px;
  }

  .footer-grid nav a {
    font-size: 13.5px;
  }

  .risk-box {
    padding: 14px 16px;
  }

  .risk-box p {
    font-size: 12.5px;
  }

  .footer-bottom {
    margin-top: 36px;
    padding: 20px 0;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 16px;
    font-size: 12.5px;
  }
}