@font-face {
  font-family: "ABC Arizona Mix";
  src: url("../fonts/ABCArizonaMix-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Albertus Nova";
  src: url("../fonts/albertusnova.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  font-family: "ABC Arizona Mix", sans-serif;
  background: #ffffff;
  color: #0f1115;
  overflow: hidden;
}

.unlocked {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem 0;
}

.gate {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.brand {
  letter-spacing: 0.025rem;
  font-family: "Albertus Nova", "Palatino Linotype", sans-serif;
  font-size: 1.35rem;
  line-height: 1.5;
}

.subtitle {
  font-size: 1rem;
  margin: 0;
  color: #3a3f4b;
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.access-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid #d9dce3;
  font-size: 1rem;
  font-family: "ABC Arizona Mix", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-form input:focus {
  outline: none;
  border-color: #222c48;
  box-shadow: 0 0 0 3px rgba(34, 44, 72, 0.15);
}

.access-form button {
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 10px;
  background: #222c48;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.access-form button:hover {
  background: #1a223a;
}

.access-form button:active {
  transform: translateY(1px);
}

.error-message {
  margin: 0;
  font-size: 0.95rem;
  color: #1a223a;
}

.error-message.error {
  color: #c0392b;
}

.error-message:empty {
  display: none;
}

.error-message:not(:empty) {
  margin-top: 0.35rem;
}

.content {
  flex: 1;
  width: 100%;
  max-width: 900px;
  position: relative;
  min-height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 1rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media video {
  max-height: 60vh;
  width: auto;
  object-fit: cover;
  display: block;
}

.content.visible {
  display: flex;
}

.content-text {
  margin-top: auto;
  padding: 0 1rem 3em;
  width: 100%;
  max-width: 700px;
}

.content-title {
  margin: 0;
  letter-spacing: 0.025rem;
  font-family: "Albertus Nova", "Palatino Linotype", sans-serif;
  font-size: 1.6rem;
  line-height: 1.75;
}

.content-subtitle {
  margin: 0;
  font-family: "ABC Arizona Mix", sans-serif;
  font-size: 1.15rem;
  color: #3a3f4b;
}

@media (max-width: 479px) {
  body {
    padding: 1.5rem;
  }

  .unlocked {
    padding: 2rem 1.5rem 0;
    gap: 1.5rem;
  }

  .content {
    width: 100%;
  }

  .content-text {
    padding: 0 1.25rem 3em;
  }

  .gate {
    padding: 2rem 1.5rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .content-title {
    font-size: 1.3rem;
  }

  .content-subtitle {
    font-size: 1rem;
  }
}
