/* FiestaFantasy — páginas secundarias */

:root {
  --night: #061a3a;
  --card: #0a2448;
  --coral: #ff5753;
  --yellow: #ffbd3b;
  --off-white: #f7f7f4;
  --muted: #9aabc4;
  --charcoal: #0f1419;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(255, 189, 59, 0.12), transparent 50%),
    var(--night);
  color: var(--off-white);
  font: 400 17px/1.6 Roboto, system-ui, -apple-system, sans-serif;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { color: #ffcb5c; }

.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 22px 0;
}

.site-brand {
  display: inline-block;
  line-height: 0;
}

.site-brand img {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.site-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-top nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-top nav a:hover { color: var(--yellow); }

main.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 22px 64px;
}

main.legal h1 {
  font-weight: 700;
  color: var(--off-white);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.1;
  margin: 0 0 8px;
}

main.legal .tagline {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

main.legal h2 {
  font-weight: 700;
  color: var(--off-white);
  font-size: 20px;
  margin: 32px 0 10px;
  line-height: 1.2;
}

main.legal p {
  color: var(--muted);
  margin: 0 0 14px;
}

.site-foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px 40px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(247, 247, 244, 0.08);
  padding-top: 24px;
}

main.join {
  max-width: 440px;
  margin: 0 auto;
  padding: 64px 24px 64px;
  text-align: center;
}

main.join .logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 20px;
  display: block;
}

main.join h1 {
  font-weight: 700;
  color: var(--off-white);
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
}

main.join p {
  color: var(--muted);
  margin: 0 0 12px;
}

main.join .code {
  display: block;
  margin: 28px auto;
  padding: 18px 20px;
  max-width: 100%;
  background: var(--card);
  border: 1px solid rgba(255, 189, 59, 0.35);
  border-radius: 14px;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--off-white);
}

main.join .btn {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--charcoal);
  padding: 16px 28px;
  font-weight: 700;
  font-size: 16px;
  font-family: Roboto, system-ui, sans-serif;
  cursor: pointer;
  width: min(100%, 320px);
}

main.join .btn:hover { background: #ffcb5c; }

main.join .hint {
  margin-top: 20px;
  font-size: 14px;
}

@media (max-width: 560px) {
  .site-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
