body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #fff6f8, #ffeef4);
  color: #2f2f2f;
  overflow: hidden;
}

.hidden {
  display: none;
}

/* LOGIN */

.login-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.login-card {
  width: 100%;
  max-width: 360px;
  padding: 28px 22px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  animation: introFade 1s ease;
}

.login-subtitle {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.login-card h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
}

.login-card p {
  margin-top: 14px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.login-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  outline: none;
}

.login-card button {
  width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.login-card button:active {
  transform: scale(0.98);
}

/* INTRO */

.intro-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  box-sizing: border-box;
}

.intro-content {
  max-width: 360px;
  text-align: center;
  animation: introFade 1.2s ease;
}

.intro-subtitle {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.intro-content h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
}

.intro-content p {
  margin-top: 16px;
  line-height: 1.7;
  font-size: 16px;
}

#start-button {
  margin-top: 28px;
  padding: 14px 28px;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

#start-button:active {
  transform: scale(0.98);
}

/* STORY */

.story {
  position: fixed;
  inset: 0;
  animation: fadeIn 1.2s ease;
}

.container {
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
}

.slider {
  position: relative;
  width: 100%;
  height: calc(100dvh - 28px);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  box-sizing: border-box;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.06);
}

.slide {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;

  height: calc(100% - 20px);
  width: auto;
  max-width: calc(100% - 20px);

  display: block;

  transform: translateX(-50%) scale(1.01);

  object-fit: contain;
  object-position: center center;

  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 247, 249, 1);

  opacity: 0;

  transition:
    opacity 1.8s ease,
    transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 30px;

  padding: 16px 18px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);

  line-height: 1.7;
  font-size: 16px;

  opacity: 0;
  transform: translateY(14px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.caption.active {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMAÇÕES */

@keyframes introFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}