/* Shared site footer for inner landing pages. Keep in sync with index.html / krahaso.html. */
.site-footer-section {
  position: relative;
  z-index: 3;
  padding: 0 8px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(221, 214, 254, 0.22), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(207, 250, 254, 0.22), transparent 34%),
    linear-gradient(180deg, #f5f9ff 0%, #eef6ff 100%);
}

.site-footer {
  position: relative;
  width: min(1408px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(169, 154, 255, 0.16);
  border-bottom: 0;
  border-radius: 58px 58px 0 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(124, 58, 237, 0.22), transparent 28%),
    radial-gradient(circle at 78% 8%, rgba(14, 165, 233, 0.12), transparent 32%),
    linear-gradient(145deg, #080d2c 0%, #0c1438 48%, #071129 100%);
  box-shadow:
    0 -18px 60px rgba(49, 46, 129, 0.08),
    0 36px 90px rgba(7, 12, 40, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  color: rgba(226, 232, 255, 0.72);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 154, 255, 0.08), transparent 24%, rgba(34, 211, 238, 0.06));
  background-size: 28px 28px, 100% 100%;
  opacity: 0.16;
  pointer-events: none;
}

.site-footer::after {
  content: "PLANET";
  position: absolute;
  left: 74px;
  right: 30px;
  bottom: -72px;
  color: rgba(226, 232, 255, 0.065);
  font-size: clamp(120px, 18vw, 250px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.32fr) repeat(4, minmax(140px, 1fr));
  gap: clamp(28px, 4.5vw, 64px);
  padding: clamp(54px, 5.6vw, 78px) clamp(36px, 5.6vw, 66px) 58px;
}

.footer-brand { min-width: 0; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 840;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(124, 58, 237, 0.28));
}

.footer-description {
  max-width: 360px;
  margin: 30px 0 0;
  color: rgba(226, 232, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.footer-store-badge {
  width: max-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 7px;
  color: #ffffff;
  background: #030712;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

.footer-store-triangle {
  width: 26px;
  height: 29px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background:
    linear-gradient(145deg, #22c55e 0 32%, transparent 32%),
    linear-gradient(35deg, #60a5fa 0 45%, #facc15 45% 67%, #ef4444 67%);
  flex: 0 0 auto;
}

.footer-store-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.footer-store-text small {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-store-text strong {
  font-size: 17px;
  font-weight: 760;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.footer-social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 232, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-social:hover {
  border-color: rgba(167, 139, 250, 0.44);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.footer-social img {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-column h3 {
  margin: 6px 0 28px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 850;
}

.footer-column h3::after {
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.6);
}

.footer-links {
  display: grid;
  gap: 18px;
}

.footer-links a {
  color: rgba(226, 232, 255, 0.68);
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 clamp(36px, 5.6vw, 66px);
  border-top: 1px solid rgba(226, 232, 255, 0.14);
  color: rgba(226, 232, 255, 0.62);
  font-size: 13.5px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.footer-legal a {
  color: rgba(226, 232, 255, 0.64);
  text-decoration: none;
}

.footer-legal a + a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 18px;
  margin: 0 22px;
  vertical-align: middle;
  background: rgba(226, 232, 255, 0.26);
}

@media (max-width: 1080px) {
  .site-footer-section { padding: 0 8px 0; }
  .site-footer { border-radius: 42px 42px 0 0; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 48px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-description { max-width: 520px; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .footer-legal { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-footer-section { padding: 0 8px 0; }
  .site-footer { border-radius: 30px 30px 0 0; }
  .site-footer::after {
    left: 20px;
    bottom: -32px;
    font-size: 92px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 24px 34px;
  }
  .footer-logo { font-size: 19px; }
  .footer-logo img { width: 38px; height: 38px; }
  .footer-description { margin-top: 22px; font-size: 14px; }
  .footer-store-badge { margin-top: 24px; }
  .footer-column h3 { margin-bottom: 18px; }
  .footer-links { gap: 13px; }
  .footer-links a { font-size: 14px; }
  .footer-bottom {
    min-height: auto;
    padding: 20px 24px 26px;
    font-size: 12.5px;
  }
  .footer-legal { display: grid; gap: 12px; }
  .footer-legal a + a::before { display: none; }
}
