/* Canonical AmoHa header and footer shared by the home and every public page. */
.top {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-top: 12px;
  line-height: normal;
}

.top .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 96px;
  padding: 14px 18px;
  border: 2px solid rgba(36, 18, 52, 0.1);
  border-radius: 26px;
  background: rgba(255, 253, 246, 0.82);
  box-shadow: 0 14px 44px rgba(36, 18, 52, 0.1);
  backdrop-filter: blur(16px);
}

.top .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top .brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(36, 18, 52, 0.12));
}

.top .brand > span,
.top .brand b,
.top .brand > span > span {
  display: block;
  line-height: normal;
}

.top .brand b {
  color: #241234;
  font-size: 1.48rem;
}

.top .brand > span > span {
  margin-top: 2px;
  color: #5f4b6d;
  font-size: 0.88rem;
  font-weight: 700;
}

.top .links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top .links a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: normal;
}

.top .links a:hover {
  background: #ffe39a;
}

.top .links .nav-connect {
  background: #241234;
  color: #fff;
}

.top .links .nav-connect:hover {
  background: #4c2570;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding: 42px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 8% 30%, rgba(64, 184, 112, 0.2), transparent 25%),
    radial-gradient(circle at 92% 20%, rgba(255, 212, 71, 0.16), transparent 24%),
    #241234;
  color: #fff;
  font-size: 15px;
  line-height: normal;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr 0.9fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-main p {
  max-width: 390px;
  margin: 14px 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.9;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.22));
}

.footer-brand span,
.footer-brand b,
.footer-brand small {
  display: block;
  line-height: normal;
}

.footer-brand b {
  color: #fff;
  font-size: 1.25rem;
}

.footer-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-connect {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: #ffd447;
  color: #241234;
  font-weight: 900;
  line-height: normal;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
  line-height: normal;
}

.footer-column strong,
.footer-proof strong {
  margin-bottom: 4px;
  color: #ffe699;
  font-size: 0.96rem;
}

.footer-column a {
  width: max-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: normal;
}

.footer-column a:hover {
  color: #fff;
}

.footer-proof {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  line-height: normal;
}

.footer-proof span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-proof span:first-of-type {
  color: #8ff0b4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: normal;
}

@media (max-width: 920px) {
  .top .links {
    display: flex;
  }

  .top .links a {
    display: none;
  }

  .top .links a[href="/best-teamspeak-servers-iran"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (min-width: 921px) and (max-width: 1160px) {
  .top .nav {
    gap: 10px;
    padding-inline: 13px;
  }

  .top .brand-mark {
    width: 54px;
    height: 54px;
  }

  .top .brand b {
    font-size: 1.24rem;
  }

  .top .brand > span > span {
    font-size: 0.78rem;
  }

  .top .links {
    gap: 3px;
  }

  .top .links a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 820px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .top .nav {
    border-radius: 18px;
  }

  .top .brand-mark {
    width: 52px;
    height: 52px;
  }

  .top .brand b {
    font-size: 1.2rem;
  }
}

@media (max-width: 430px) {
  .top .nav {
    gap: 8px;
    padding: 10px;
  }

  .top .brand {
    gap: 8px;
  }

  .top .brand-mark {
    width: 44px;
    height: 44px;
  }

  .top .brand > span > span {
    display: none;
  }

  .top .links a[href="/best-teamspeak-servers-iran"] {
    padding-inline: 9px;
    font-size: 0.78rem;
  }
}

@media (max-width: 560px) {
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}
