html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: #5C3D2B;
  font-family: Arial, sans-serif;
}

#container {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* =========================
   YEAR TEXT (Editable)
========================= */
#yearText {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: rgba(0,0,0,0.2); /* 흐리게 표시 */
  padding: 2px 8px;
  border: 1px solid #000;
  box-sizing: content-box;

  user-select: text;
  outline: none;
  cursor: text;
  z-index: 10;

  text-align: center; /* placeholder 중앙 정렬 */
  translate: color 0.2s;
}

/* placeholder 스타일 */
#yearText:empty::before {
  content: 'Enter year';
  color: rgba(0,0,0,0.3);
}

/* 클릭(focus) 시 활성화 색상 */
#yearText.active {
  color: #000; /* 선명하게 */
}

/* =========================
   HORSESHOE (Responsive)
========================= */
#horseshoe {
  position: absolute;
  width: 30vw;
  max-width: 260px;
  min-width: 120px;
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

@media (min-width: 1024px) {
  #horseshoe {
    width: 16vw;
    max-width: 240px;
  }
}

/* =========================
   NAV BUTTONS
========================= */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: 200;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 2px;
  color: #000;
  cursor: pointer;
  z-index: 10;
}

#prev { left: 10px; }
#next { right: 10px; }

/* =========================
   GALLERY BUTTON
========================= */
#galleryBtn {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background-color: red;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
}

@media (min-width: 768px) {
  #galleryBtn {
    width: 32px;
    height: 32px;
  }
}

/* =========================
   MOBILE
========================= */
.mobile #yearText.active {
  color: #000; /* 클릭/터치 시 선명 */
}
