/* The feature deck appended below the login form, for signed-out visitors (login.html only).
   Deliberately its own file, its own class prefix (deck-*), separate from login.styles.css --
   remove this file and the <section id="deck"> block in login.html to take it out again. */

.deck-hint {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0.9;
  z-index: 4;
  animation: deck-bob 2.2s ease-in-out infinite;
}
.deck-hint:hover { color: #ffffff; opacity: 1; }
.deck-hint svg { display: block; }
@keyframes deck-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .deck-hint { animation: none; }
}

#deck {
  position: relative;
  background: #0f1710; /* the deck's own dark tone, so any letterboxed edge blends in */
}

.deck-slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.deck-slide img {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
}

.deck-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}
.deck-dots a {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: block;
}
.deck-dots a:hover { background: rgba(255, 255, 255, 0.8); }

.deck-close {
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(135deg, #0c130d 0%, #16220f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 64px 24px;
  font-family: 'Public Sans', Arial, sans-serif;
}
.deck-close h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #fbfbf8;
  font-size: clamp(28px, 5vw, 56px);
  margin: 0;
  max-width: 900px;
}
.deck-close-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.deck-close-actions a {
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
}
.deck-close-actions .deck-btn-primary {
  background: #d94948;
  color: #fbfbf8;
}
.deck-close-actions .deck-btn-primary:hover { background: #c13a39; color: #fbfbf8; }
.deck-close-actions .deck-btn-secondary {
  background: transparent;
  color: #fbfbf8;
  border: 1px solid rgba(251, 251, 248, 0.5);
}
.deck-close-actions .deck-btn-secondary:hover { border-color: #fbfbf8; }
.deck-close-api {
  color: rgba(251, 251, 248, 0.7);
  font-size: 14px;
  max-width: 560px;
  margin: 0;
}
.deck-close-api a { color: #fbfbf8; text-decoration: underline; }

@media (max-width: 600px) {
  .deck-dots { display: none; }
  /* login.html's own content can run taller than one screen on narrow phones (a long feature list
     under a big logo), so a fixed hint here risks sitting on top of that text instead of below it. */
  .deck-hint { display: none !important; }
}
