body {
  background-color: black;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #fff;
}

/* ── Page content wrapper (fills viewport, centers children) ── */
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* ── Gate screen ── */
#gate {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 480px;
}

.gate-message {
  font-size: 1.25rem;
  color: #aaa;
  margin: 0;
  line-height: 1.5;
  text-wrap: balance;
}

/* ── Main screen ── */
#main {
  display: none;
  flex-direction: column;
  align-items: center;
}

/* ── GIF container ── */
#gif-container {
  max-width: 600px;
  width: 100%;
}

#gif-container iframe {
  pointer-events: none !important;
  max-width: 100%;
}

#gif-link a {
  text-decoration: none !important;
  color: #545454;
  display: flex;
  align-items: center;
  gap: 10px;
}

.giphy-icon {
  display: inline-block;
  height: 20px;
}

/* ── End screen ── */
#end-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

#logo {
  display: none;
  opacity: 0;
  width: 100%;
  max-width: 600px;
}

/* ── Shop CTA ── */
.shop-link {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid #333;
  padding: 10px 20px;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 80px;
}

.shop-link:hover {
  color: #ccc;
  border-color: #555;
}

.shop-link--end {
  font-size: 0.85rem;
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: #444;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #888;
}

.footer-copy {
  color: #2a2a2a;
  font-size: 0.72rem;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Legal pages (terms, dmca) ── */
.legal-content {
  width: 100%;
  max-width: 640px;
  padding: 60px 0 40px;
}

.legal-content h1 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ccc;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.legal-content .legal-updated {
  font-size: 0.78rem;
  color: #444;
  margin: 0 0 40px;
}

.legal-content h2 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 32px 0 8px;
}

.legal-content p,
.legal-content ol {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.7;
  margin: 0 0 12px;
}

.legal-content ol {
  padding-left: 1.4em;
}

.legal-content a {
  color: #666;
  transition: color 0.2s;
}

.legal-content a:hover {
  color: #aaa;
}

.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-size: 0.8rem;
  color: #444;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.legal-back:hover {
  color: #888;
}
