/**
 * css/attractions/map.css
 * ------------------------------------------------------------------
 * [파크 안내] 새하랜드 전체 가이드 맵 & 어트랙션 셀렉터 스타일
 */

.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 16px 100px;
  animation: fadeIn 0.6s ease-out;
}

.map-header {
  text-align: center;
  margin-bottom: 36px;
}

.map-header-badge {
  display: inline-block;
  background: rgba(255, 143, 171, 0.18);
  color: var(--primary);
  border: 1px solid rgba(255, 143, 171, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.map-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.map-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* 어트랙션 지도 카드 그리드 */
.attraction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.attraction-card {
  position: relative;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.attraction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.attraction-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 143, 171, 0.4);
  box-shadow: 0 18px 35px rgba(255, 143, 171, 0.2);
}

.attraction-card:hover::before {
  opacity: 1;
}

.card-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
  font-size: 3.2rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.attraction-card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.attraction-card:hover .card-enter-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 143, 171, 0.4);
}

/* 지도 하단 파크 팁 배너 */
.map-footer-tip {
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 각 어트랙션 상단 지도로 돌아가기 버튼 */
.back-to-map-bar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

.btn-back-to-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F1F5F9;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-back-to-map:hover {
  background: rgba(255, 143, 171, 0.25);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateX(-4px);
}
