/* ==========================================================================
   css/attractions/photos.css - [어트랙션 2] 추억의 사진관 폴라로이드 벽 스타일
   ========================================================================== */

.photo-board-header {
  text-align: center;
  margin-bottom: 25px;
}

.photo-board-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
}

.photo-board-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 폴라로이드 벽 컨테이너 */
.polaroid-wall {
  position: relative;
  min-height: 520px;
  background: rgba(15, 23, 42, 0.65);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
}

/* 개별 폴라로이드 카드 */
.polaroid-card {
  position: absolute;
  width: 170px;
  height: 220px;
  background: white;
  color: #1E293B;
  border-radius: 6px;
  padding: 10px 10px 24px 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  cursor: grab;
  user-select: none;
  transform-origin: center center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  perspective: 1000px;
}

.polaroid-card:active {
  cursor: grabbing;
  z-index: 100 !important;
}

.polaroid-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.polaroid-card.flipped .polaroid-inner {
  transform: rotateY(180deg);
}

.polaroid-front, .polaroid-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

.polaroid-front {
  background: white;
}

.polaroid-back {
  background: #FEF3C7;
  transform: rotateY(180deg);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #78350F;
}

.polaroid-img-box {
  width: 100%;
  height: 135px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.polaroid-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-tag {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 6px;
  text-align: center;
  font-weight: 700;
}

.polaroid-caption {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: #0F172A;
  margin-top: 2px;
}

/* 중앙 200일 특별 포토존 카드 */
.center-special-polaroid {
  border: 3px solid var(--primary);
  box-shadow: 0 0 25px rgba(255, 143, 171, 0.6);
}
