/* STARS & SPIES — WEBSITE DESIGN */
/* Operation: Top Secret */

:root {
  --background: #101922;
  --paper: #e8dfc9;
  --red: #a9222b;
  --gold: #c5a46a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  overflow-x: hidden;
}

/* THREE WEBSITE SCREENS */

.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
}

.screen.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* INTRO SCREEN */

.intro-art {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080b10;
}

.intro-art img {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: contain;
}

.intro-hotspot {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--gold);
  background: var(--red);
  color: white;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.intro-hotspot:hover {
  background: #d12c38;
}

/* GAME NIGHT SCREEN */

.game-shell {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #080b10;
}

.game-art {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-art img {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.game-footer {
  padding: 25px 20px 40px;
  text-align: center;
}

.banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.banner strong {
  color: var(--gold);
  font-size: clamp(26px, 6vw, 48px);
  letter-spacing: 3px;
}

.banner em {
  color: white;
  font-size: clamp(16px, 4vw, 26px);
  letter-spacing: 2px;
}

/* RED ACTION BUTTON */

.red-button {
  display: inline-block;
  padding: 17px 28px;
  background: var(--red);
  color: white;
  border: 2px solid var(--gold);
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
}

.red-button:hover {
  background: #d12c38;
}

.red-button span {
  margin-left: 8px;
}

/* AGENT REGISTRATION */

#register {
  background:
    linear-gradient(
      rgba(12, 19, 26, 0.94),
      rgba(12, 19, 26, 0.97)
    ),
    #101922;
  padding: 35px 18px;
}

.dossier {
  width: 100%;
  max-width: 650px;
  margin: auto;
  padding: 30px 22px;
  background: var(--paper);
  color: #202020;
  border: 5px double #6c5943;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.dossier h1,
.dossier h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dossier p {
  line-height: 1.6;
}

.dossier input,
.dossier select,
.dossier textarea {
  display: block;
  width: 100%;
  padding: 13px;
  margin: 10px 0 20px;
  border: 1px solid #8a7c67;
  border-radius: 0;
  background: #fffdf7;
  color: #222;
  font-size: 16px;
}

.dossier label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.dossier button {
  max-width: 100%;
}

/* MOBILE */

@media (max-width: 600px) {
  .intro-hotspot {
    bottom: 6%;
    padding: 13px 18px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .game-art img {
    max-height: 65vh;
  }

  .game-footer {
    padding: 15px 15px 30px;
  }

  .dossier {
    padding: 22px 16px;
  }

  .red-button {
    padding: 15px 18px;
    font-size: 13px;
  }
}


/* STARS & SPIES — RESPONSIVE DESIGN */

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {

  .screen {
    width: 100%;
    max-width: 100%;
    min-height: 100svh;
  }

  .intro-art,
  .game-art,
  .game-shell,
  .game-footer {
    width: 100%;
    max-width: 100%;
  }

  .intro-art img,
  .game-art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  button,
  input,
  select {
    max-width: 100%;
  }

  input,
  select {
    font-size: 16px;
  }

  .intro-hotspot {
    cursor: pointer;
    touch-action: manipulation;
  }

  .game-footer {
    padding: 16px;
  }
}


/* FIX ENTER THE MISSION BUTTON */

.intro-art {
  position: relative;
  width: 100%;
aspect-ratio: 16 / 9;
min-height: 0;
}

.intro-hotspot {
  position: absolute;
  left: 31%;
  top: 80%;
  width: 38%;
  height: 12%;
  z-index: 10;
  opacity: 0;
  cursor: pointer;
  border: none;
}

/* Remove extra button appearance */
.intro-hotspot span {
  visibility: hidden;
}
