/* =========================
   Base / Reset
   ========================= */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* =========================
   Global Layout
   ========================= */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

/* Main content grows, pushes footer down */
main,
.container {
  flex: 1;
}

/* =========================
   Containers
   ========================= */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* =========================
   Typography & Links
   ========================= */

a {
  color: #ff8c1a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Homepage
   ========================= */

main {
  display: flex;
  align-items: center;
  justify-content: center;
}

img.logo {
  max-width: 420px;
  width: 90%;
  height: auto;
}

/* =========================
   Return to Home Link
   ========================= */

.back {
  display: inline-block;
  margin: 40px 0 10px;
  font-size: 0.9rem;
  color: #ff8c1a;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.back:hover {
  opacity: 1;
}

/* =========================
   Footer
   ========================= */

footer {
  padding: 20px;
  font-size: 0.9rem;
  text-align: center;
  color: #ccc;
}

footer a {
  color: #ff8c1a;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   Accessibility & Polish
   ========================= */

:focus-visible {
  outline: 2px solid #ff8c1a;
  outline-offset: 2px;
}