* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen;
}

body {
  height: 100vh;
  background: 
    linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url("images/Italy_GardenaPass.jpg") center / cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-image 1.2s ease-in-out;
}

.container {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.container {
  text-align: center;
  max-width: 600px;
  padding: 40px 20px;
  animation: fadeIn 1.2s ease;
}

#bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* 초기 상태 */
.bg-current {
  transform: translateY(0);
  opacity: 1;
}

.bg-next {
  transform: translateY(100%);
  opacity: 0;
}

h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
  line-height: 1.6;
}

button {
  padding: 18px 36px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  background: white;
  color: #203a43;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.footer {
  margin-top: 50px;
  font-size: 0.85rem;
  opacity: 0.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.3rem;
  }
  button {
    width: 100%;
  }
}