*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #0b0b0b;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster {
  display: block;
  width: 100%;
  max-width: 1800px;
  height: auto;
}

/* Language switcher – top right */
.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lang-switch a {
  display: block;
  min-width: 44px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.lang-switch a:hover { background: rgba(255, 255, 255, .15); }

.lang-switch a[aria-current="page"] {
  background: #fff;
  color: #000;
}

.lang-switch a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .lang-switch { top: 10px; right: 10px; }
  .lang-switch a { min-width: 38px; padding: 6px 10px; font-size: 12px; }
}
