.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  background: linear-gradient(
    to right,
    var(--hero-bg-light1),
    var(--hero-bg-light2)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--color-text-white);
}

#typed-text {
  font-size: clamp(1.2rem, 7vw, 5rem);
  color: var(--textac);
  white-space: normal; /* <br> 줄바꿈 허용 */
}

.hero p {
  font-size: clamp(1rem, 4vw, 2rem);
  margin-bottom: 2rem;
}

.hero a.button {
  display: inline-block;
  background: var(--button);
  color: var(--color-text-white);
  padding: 1.5rem 2.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}
.hero a.button:hover {
  background: var(--color-hover);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1; /* 필요시 어둡게 조정 */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-over); /* 어두운 정도 조절 가능 */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}
