footer {
  position: relative;
  z-index: 10;
  background: var(--bg);
  padding: 0;
  overflow: hidden;
}

.footer-glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-l), var(--blue), transparent);
  box-shadow: 0 0 20px rgba(25, 98, 247, 0.4);
  position: relative;
  z-index: 2;
}

.footer-inner {
  padding: clamp(60px, 8vw, 90px) clamp(20px, 5vw, 80px) 40px;
  background: linear-gradient(180deg, rgba(25, 98, 247, 0.03) 0%, transparent 100%);
  position: relative;
}

/* Optional glassmorphism effect if supported */
@supports (backdrop-filter: blur(10px)) {
  .footer-inner {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 50px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateX(4px);
}

.footer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(25, 98, 247, 0.3));
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: rgba(25, 98, 247, 0.1);
  border: 1px solid rgba(25, 98, 247, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(25, 98, 247, 0.2);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1;
}

.footer-logo-text span {
  color: var(--blue);
  text-shadow: 0 0 20px rgba(25, 98, 247, 0.6);
}

.footer-brand-desc {
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 28px;
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fsoc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text2);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fsoc-btn i {
  font-size: 1rem;
}

.fsoc-btn:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  color: #fff;
  background: rgba(25, 98, 247, 0.1);
  box-shadow: 0 8px 20px rgba(25, 98, 247, 0.2);
}

.fsoc-discord:hover {
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.15);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.25);
}

.fsoc-telegram:hover {
  border-color: #29b6f6;
  background: rgba(41, 182, 246, 0.15);
  box-shadow: 0 8px 20px rgba(41, 182, 246, 0.25);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 10px rgba(25, 98, 247, 0.3);
}

.footer-col h4 i {
  color: var(--blue-l);
  font-size: 0.85rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.footer-col ul a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
}

.footer-col ul a i {
  font-size: 0.6rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.25s ease;
  color: var(--blue-l);
}

.footer-col ul a:hover {
  color: #fff;
  opacity: 1;
  padding-left: 6px;
}

.footer-col ul a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-copyright p {
  color: var(--text3);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-bottom-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fbadge {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.fbadge:hover {
  background: rgba(25, 98, 247, 0.05);
  border-color: rgba(25, 98, 247, 0.3);
  color: var(--text2);
  transform: translateY(-1px);
}

.fbadge i {
  color: var(--blue);
  font-size: 0.8rem;
  filter: drop-shadow(0 0 5px rgba(25, 98, 247, 0.4));
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-inner {
    padding: 60px 24px 30px;
  }
  .footer-brand-desc {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer-bottom-badges {
    justify-content: center;
  }
}
