/* ==============================================================
   COMPONENTS / FOOTER / FOOTER.CSS - DATA SORCERER PREMIUM
   EFFECTS: Floating runes, animated glow line
============================================================== */

.ds-footer {
  position: relative;
  background: linear-gradient(180deg, #06000f 0%, #02000a 100%);
  overflow: hidden;
  z-index: 10;
}

/* --- GLOW LINE ANIMASI --- */
.footer-glow-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
      transparent 0%, 
      #3d0070 10%, 
      #a020f0 30%, 
      #c9a227 50%, 
      #a020f0 70%, 
      #3d0070 90%, 
      transparent 100%
  );
  background-size: 200% 100%;
  animation: glowLineMove 3s linear infinite;
  box-shadow: 0 0 15px rgba(160, 32, 240, 0.6), 0 0 30px rgba(160, 32, 240, 0.3);
}

.footer-glow-line::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 8px;
  background: inherit;
  background-size: 200% 100%;
  animation: glowLineMove 3s linear infinite;
  filter: blur(6px);
  opacity: 0.5;
}

@keyframes glowLineMove {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- RUNE CANVAS BACKGROUND --- */
#footer-rune-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* --- FOOTER LAYOUT --- */
.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 5% 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

/* --- BRAND COL --- */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.brand-logo {
  width: 36px; height: 36px;
  zoom: 250%;
}

.brand-text {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 2px;
}

.brand-desc {
  color: rgba(224, 170, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* --- SOCIAL CARDS --- */
.social-grid {
  display: flex;
  gap: 12px;
}

.social-card {
  width: 40px; height: 40px;
  background: rgba(160, 32, 240, 0.1);
  border: 1px solid rgba(160, 32, 240, 0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.social-card img {
  width: 18px; height: 18px;
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(250deg);
  transition: all 0.3s ease;
  pointer-events: none;
}

.social-card:hover {
  background: rgba(160, 32, 240, 0.3);
  border-color: #a020f0;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(160, 32, 240, 0.4);
}

.social-card:hover img {
  filter: invert(1);
}

/* --- NAV COLS --- */
.col-head {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.col-head::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 1px;
  background: #a020f0;
  box-shadow: 0 0 8px #a020f0;
}

.nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-list a {
  color: rgba(224, 170, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.nav-list a::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: #a020f0;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px #a020f0;
}

.nav-list a:hover {
  color: #fff;
  padding-left: 14px;
}

.nav-list a:hover::before {
  opacity: 1;
}

/* --- CONTACT COL --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.contact-details p {
  color: rgba(224, 170, 255, 0.5);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.contact-details .material-icons {
  font-size: 16px;
  color: #a020f0;
}

/* --- NEWSLETTER --- */
.newsletter-box {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(20, 0, 40, 0.4);
  backdrop-filter: blur(10px);
}

.news-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
}

.news-input::placeholder { color: rgba(255,255,255,0.3); }

.btn-news {
  background: rgba(160, 32, 240, 0.3);
  border: none;
  border-left: 1px solid rgba(160, 32, 240, 0.3);
  color: #e0aaff;
  padding: 0 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}

.btn-news:hover {
  background: #a020f0;
  color: #fff;
}

.btn-news .material-icons { font-size: 18px; }

/* --- BADGES --- */
.badge-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-container img {
  border-radius: 6px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.badge-container img:hover { opacity: 1; }

/* --- FOOTER BOTTOM --- */
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(160, 32, 240, 0.1);
  padding: 20px 5%;
}

.bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.bottom-inner p {
  color: rgba(224, 170, 255, 0.3);
  font-size: 0.82rem;
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: rgba(224, 170, 255, 0.3);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s;
}

.legal-links a:hover { color: #e0aaff; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-container {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
  }
  .brand-col { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-container {
      grid-template-columns: 1fr;
      padding: 50px 6% 40px;
  }
  .bottom-inner {
      flex-direction: column;
      text-align: center;
  }
  .legal-links { justify-content: center; }
}