/* Footer styles for EliteHandLounge */

.eh-footer {
  background: radial-gradient(circle at top, #140032, #05000e 55%, #000000 100%);
  border-top: 1px solid rgba(0, 224, 255, 0.3);
  color: #f2f2ff;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.eh-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.eh-footer__brand {
  max-width: 320px;
}

.eh-footer__logo {
  font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(178, 78, 255, 0.9), 0 0 24px rgba(0, 224, 255, 0.75);
}

.eh-footer__tagline {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #c6c6ff;
  max-width: 28rem;
}

.eh-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.eh-footer__heading {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ad7ff;
  margin: 0 0 0.75rem;
}

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

.eh-footer__list li + li {
  margin-top: 0.35rem;
}

.eh-footer__list a {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #e6e6ff;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.05rem;
}

.eh-footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff3366, #b24eff, #00e0ff);
  box-shadow: 0 0 10px rgba(178, 78, 255, 0.7);
  transition: width 0.18s ease-out;
}

.eh-footer__list a:hover::after,
.eh-footer__list a:focus-visible::after {
  width: 100%;
}

.eh-footer__list a:hover,
.eh-footer__list a:focus-visible {
  color: #ffffff;
}

.eh-footer__list a:focus-visible {
  outline: 2px solid #00e0ff;
  outline-offset: 2px;
}

.eh-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid rgba(178, 78, 255, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #bcbcf2;
}

.eh-footer__age {
  color: #ff99b3;
  font-weight: 500;
}

/* Cookie banner */
.eh-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 950;
  padding: 0.75rem 0.75rem 1rem;
  background: radial-gradient(circle at top, rgba(20, 0, 60, 0.98), rgba(6, 0, 20, 0.98));
  border-top: 1px solid rgba(0, 224, 255, 0.4);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.85);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.eh-cookie--visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.eh-cookie--hidden {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

.eh-cookie__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.eh-cookie__text {
  flex: 1 1 auto;
}

.eh-cookie__title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
  color: #ffffff;
}

.eh-cookie__desc {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  margin: 0;
  color: #d8d8ff;
}

.eh-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.eh-cookie__btn {
  min-width: 8.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eh-cookie__btn--primary {
  background: linear-gradient(90deg, #ff3366, #b24eff, #00e0ff);
  color: #05000f;
  box-shadow: 0 0 14px rgba(178, 78, 255, 0.9);
}

.eh-cookie__btn--secondary {
  background: transparent;
  border-color: rgba(0, 224, 255, 0.7);
  color: #e6e6ff;
}

.eh-cookie__btn:hover,
.eh-cookie__btn:focus-visible {
  transform: translateY(-1px);
}

.eh-cookie__btn:focus-visible {
  outline: 2px solid #00e0ff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .eh-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 1rem;
  }

  .eh-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-footer__bottom {
    padding-inline: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .eh-cookie__content {
    padding-inline: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .eh-cookie__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .eh-footer__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .eh-cookie__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-cookie {
    transition: none !important;
  }

  .eh-cookie__btn {
    transition: none !important;
  }
}
