* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #f5ead0;
  background: #050505;
  font-family: "Press Start 2P", "Courier New", Courier, monospace;
  overflow-x: hidden;
}

/* Fullscreen official seal background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.84)),
    url("assets/mw-seal.jpg.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

/* Subtle arcade glow */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0, 120, 180, 0.18), transparent 34%),
    radial-gradient(circle at bottom, rgba(170, 55, 220, 0.18), transparent 38%);
  pointer-events: none;
  z-index: -1;
}

.title-screen {
  min-height: 100vh;
  padding: 32px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-content {
  width: min(720px, 94vw);
  text-align: center;
}

.top-logo {
  display: block;
  width: min(320px, 82vw);
  height: auto;
  margin: 0 auto 22px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter:
    drop-shadow(0 0 8px rgba(245, 234, 208, 0.35))
    drop-shadow(0 0 18px rgba(244, 161, 47, 0.22));
}

.cabinet-title {
  margin: 0 0 28px;
  color: #f4a12f;
  font-size: clamp(0.7rem, 2.2vw, 1.15rem);
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 8px rgba(244, 161, 47, 0.45),
    0 0 18px rgba(160, 48, 220, 0.28);
}

.main-logo {
  display: block;
  width: min(620px, 94vw);
  height: auto;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter:
    drop-shadow(0 0 16px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 30px rgba(244, 161, 47, 0.2));
}

@media (max-width: 640px) {
  .title-screen {
    padding: 22px 12px;
  }

  .top-logo {
    width: min(260px, 82vw);
    margin-bottom: 18px;
  }

  .cabinet-title {
    margin-bottom: 22px;
    font-size: 0.64rem;
    line-height: 1.9;
    letter-spacing: 0.08em;
  }

  .main-logo {
    width: min(520px, 96vw);
  }
}
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  padding: 0 16px;
  text-align: center;
  color: rgba(245, 234, 208, 0.72);
  font-size: clamp(0.42rem, 1.4vw, 0.62rem);
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}