/* ============================================================
   inpik — shared site header + footer
   ONE implementation, loaded on every page (homepage + legal),
   so the header/footer are identical site-wide.
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  width: 100%;
  max-width: 80rem; /* 1280px — wider site frame */
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 10;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 18px 60px -18px rgba(255, 84, 11, 0.65);
}
.site-brand span {
  font-family: "Ultra", "Plus Jakarta Sans", Georgia, serif;
  font-weight: 400; /* Ultra is a single heavy weight */
  font-size: 18px;
  letter-spacing: 0;
  color: #fff;
}
.site-cta {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-cta:hover {
  border-color: rgba(231, 54, 4, 0.6);
  color: #ff5a2a;
}
/* Nav links (Wallpapers / Store) are grouped by main.js inside <nav class="site-nav">. The WRAPPER
   carries margin-left:auto, so the whole group sits on the right next to the CTA and the links stay
   evenly spaced — nothing floats in the middle. */
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav-link {
  padding: 8px 2px;
  font-size: 14px;
  font-weight: 600;
  color: #e4e4e7;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-nav-link:hover {
  color: #ff5a2a;
}

/* Phones: brand + CTA on row 1, the nav links wrap to a centered row 2 (3 links + CTA won't fit
   on one line on small screens). */
@media (max-width: 620px) {
  .site-header { flex-wrap: wrap; padding: 16px 14px; gap: 10px; }
  .site-brand { order: 1; }
  .site-cta { order: 2; margin-left: auto; padding: 7px 12px; font-size: 13px; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: center; margin-left: 0; margin-top: 4px; gap: 24px; }
  .site-brand span { font-size: 16px; }
  .site-logo { width: 32px; height: 32px; }
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  max-width: 80rem; /* 1280px — matches header */
  margin: 0 auto;
  padding: 0 20px 36px;
  position: relative;
  z-index: 10;
}
.site-foot-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}
.site-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-foot-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.site-foot-brand span {
  font-size: 14px;
  color: #a1a1aa;
}
.site-foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}
.site-foot-links a {
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-foot-links a:hover {
  color: #ff5a2a;
}
@media (min-width: 640px) {
  .site-foot-top {
    flex-direction: row;
    justify-content: space-between;
  }
}
