@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

.gn-footer {
  position: relative;
  overflow: hidden;
  /* border-radius: 22px; */
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin: 30px 0 0;
  width: 100%;
  font-family: "Poppins", sans-serif;
  color: #eae7ff;
  padding: 52px 26px 22px;
}

/* Background */
.gn-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-dark-neutral);
}

/* Glow Dots */
.gn-fdot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(168, 137, 255, 0.30);
  filter: blur(0.2px);
}
.gn-fdot-1 { top: 28px; left: 42%; opacity: .6; }
.gn-fdot-2 { bottom: 80px; left: 26%; width: 10px; height: 10px; opacity: .4; }
.gn-fdot-3 { top: 70px; right: 14%; width: 12px; height: 12px; opacity: .5; }

/* Waves */
.gn-fwave {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 240px;
  border-radius: 999px;
  opacity: 0.6;
}
.gn-fwave-1 {
  bottom: 80px;
  background: linear-gradient(90deg, rgba(184, 140, 255, 0.25), rgba(140, 98, 255, 0.10), rgba(184, 140, 255, 0.25));
  transform: rotate(-4deg);
}
.gn-fwave-2 {
  bottom: 15px;
  background: linear-gradient(90deg, rgba(184, 140, 255, 0.20), rgba(140, 98, 255, 0.06), rgba(184, 140, 255, 0.20));
  transform: rotate(2deg);
}

/* Star */
.gn-fstar {
  position: absolute;
  right: 42px;
  bottom: 24px;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(155, 120, 255, 0.25));
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%,
    79% 91%, 50% 70%, 21% 91%, 32% 57%,
    2% 35%, 39% 35%
  );
  opacity: 0.65;
}

/* Container */
.gn-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

/* Top grid */
.gn-footer-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
  gap: 34px;
  align-items: start;
}

/* Titles */
.gn-footer-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  color: rgba(232, 220, 255, 0.92);
  letter-spacing: 0.2px;
}
.gn-footer-title .logo-img {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}
.gn-mini-icon {
  margin-left: 10px;
  font-size: 18px;
  opacity: 0.75;
}

/* About text */
.gn-footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(230, 224, 255, 0.70);
  max-width: 290px;
}

/* Lists */
.gn-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.gn-footer-list a {
  text-decoration: none;
  color: rgba(236, 232, 255, 0.74);
  font-size: 15px;
  transition: 0.25s ease;
  position: relative;
  display: inline-block;
}

.gn-footer-list a:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(180, 145, 255, 0.75);
  transform: translateX(3px);
}

/* Purple highlighted items (like image) */
.gn-footer-list a.gn-active {
  color: rgba(236, 220, 255, 0.92);
  text-shadow: 0 0 20px rgba(179, 140, 255, 0.85);
  background: rgba(168, 120, 255, 0.14);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Right col */
.gn-footer-col-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Social */
.gn-footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.gn-social-pill {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(236, 232, 255, 0.85);

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.25),
    0 0 0 6px rgba(160, 120, 255, 0.06);

  transition: 0.25s ease;
}

.gn-social-pill:hover {
  transform: translateY(-2px);
  background: rgba(190, 150, 255, 0.14);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(160, 120, 255, 0.10);
}

.gn-social-pill i {
  font-size: 18px;
}

/* Newsletter */
.gn-footer-subtitle {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(236, 232, 255, 0.90);
}

.gn-mt-18 { margin-top: 18px; }

.gn-news-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gn-news-input {
  flex: 1;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  padding: 0 18px;
  outline: none;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.22);
}

.gn-news-input:focus {
  border-color: rgba(180, 145, 255, 0.55);
  box-shadow:
    0 0 0 4px rgba(180, 145, 255, 0.18),
    inset 0 2px 8px rgba(0,0,0,0.22);
}

.gn-news-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(145deg, #8d62ff, #a67bff);
  box-shadow:
    0 16px 26px rgba(160, 120, 255, 0.35),
    0 6px 18px rgba(0,0,0,0.25);

  transition: 0.25s ease;
  display: grid;
  place-items: center;
  color: white;
}

.gn-news-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 32px rgba(160, 120, 255, 0.42),
    0 10px 22px rgba(0,0,0,0.28);
}

.gn-news-arrow {
  font-size: 22px;
  font-weight: 700;
  transform: translateX(1px);
}

/* Divider line */
.gn-footer-line {
  margin: 40px 0 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Bottom */
.gn-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gn-footer-copy {
  margin: 0;
  font-size: 14px;
  color: rgba(236, 232, 255, 0.65);
}

.gn-footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gn-footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(236, 232, 255, 0.70);
  transition: 0.25s ease;
}

.gn-footer-links a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(180, 145, 255, 0.75);
}

/* Toast */
.gn-footer-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999;

  display: none;
  padding: 12px 16px;
  border-radius: 14px;

  background: rgba(180, 145, 255, 0.15);
  border: 1px solid rgba(180, 145, 255, 0.25);
  color: rgba(245, 240, 255, 0.95);

  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);

  font-weight: 600;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1050px) {
  .gn-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .gn-footer-text {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .gn-footer {
    border-radius: 16px;
    padding: 42px 18px 18px;
  }
  .gn-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gn-footer-title {
    font-size: 20px;
  }
  .gn-footer-subtitle {
    font-size: 16px;
  }
}
