/* ========== RESET & BASE ========== */
body {
  background-color: #0a0a0a;
  color: #e5e5e5;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

/* ========== LAYOUT ========== */
header {
  padding-top: 60px;
  text-align: center;
}

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

footer {
  padding-bottom: 40px;
  text-align: center;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.slogan {
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  color: #888;
  letter-spacing: 0.05em;
}

/* ========== NAVIGATION ========== */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid #333;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

a.disabled {
  color: #444;
  border-color: #222;
  cursor: default;
  pointer-events: none;
  opacity: 0.6;
}

a:not(.disabled):hover {
  color: #ffffff;
  border-color: #ffffff;
  background-color: #222;
}

/* ========== FOOTER ========== */
.legal {
  font-size: 0.7rem;
  color: #555;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ========== LANG SWITCHER ========== */
.lang-switcher {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 100;
}

.lang-switcher select {
  background: #111;
  color: #ccc;
  border: 1px solid #333;
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}

.lang-switcher select:hover {
  border-color: #fff;
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  header {
    padding-top: 30px;
  }
  footer {
    padding-bottom: 30px;
  }
  nav {
    flex-direction: column;
    gap: 10px;
  }
}
