:root {
  color-scheme: dark;
  --text: #f4f4f5;
  --muted: #c8ccd8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background-image: url("img/bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: rgb(0, 0, 0);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 1.5rem; */
}

.content-card {
  width: 80%;
  min-height: min(100vh - 3rem, 100%);
  padding: 2rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* background: rgba(0, 0, 0, 0.28); */
  /* backdrop-filter: blur(2px); */
}

.logo-wrap {
  margin-bottom: 1.5rem;
}

.logo {
  width: 180px;
  height: auto;
}

.image-placeholder {
  width: 74%;
  aspect-ratio: 2 / 1;
  /* background: rgba(255,255,255,0.3); */
  justify-self: center;
  align-self: center;
  border-radius: 1rem;
  overflow: hidden;
  object-fit: contain;
  /* border: 3px solid rgba(255, 255, 255, 0.85); */
  /* box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35); */
}

.content-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInText 2s ease forwards;
}

@keyframes fadeInText {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-line,
.warning-line {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.login-line {
  font-size: 3.35rem;
  margin-bottom: -1.5rem;
}

.play-button {
  background: none;
  border: none;
  padding: 0;
  color: #9babdf;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
}

.play-button:hover {
  color: #3b82f6;
}

.warning-line {
  color: var(--muted);
  font-size: 2.05rem;
}

.footer {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  color: var(--text);
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.video-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

@media (max-width: 1080px) {
  .content-card {
    width: 100%;
    height: 100%;
    padding: 1.5rem 1rem 4rem;
  }

  .login-line {
    font-size: 2.5rem;
  }

  .warning-line {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .image-placeholder {
    width: 100%;
    margin-top: 10%;
  }

  .login-line {
    font-size: 2rem;
    margin-bottom: -0.4rem;
  }

  .warning-line {
    font-size: 1rem;
  }
}
