@charset "utf-8";

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
html {
  scroll-behavior: smooth;
}
.main-hero-section {
  position: relative;
  height: 760px;
  background-color: #000;
  margin-top: 0;
  padding-top: 0;
}

.hero-bg {
  object-fit: cover;
  object-position: center bottom;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(60%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #eaeaea;
  margin-bottom: 2rem;
}

/* ✨ 고급 황금 유리버튼 */
.luxury-gold-btn {
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(212, 175, 55, 0.9));
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(255, 223, 80, 0.3), 0 0 10px rgba(255, 215, 0, 0.7);
  transition: all 0.3s ease;
  text-decoration: none;
}

.luxury-gold-btn:hover {
  background: linear-gradient(135deg, rgba(255, 241, 150, 1), rgba(241, 196, 15, 1));
  color: #000;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.8);
}




.rate-text {
  font-size: 0.75rem;
  color: #888;
  margin-left: 4px;
}





.market-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px 10px;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border-radius: 16px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.market-title h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 8px;
  color: #333;
}

.market-date {
  font-size: 15px;
  color: #666;
  margin-bottom: 10px;
}

.refresh-indicator {
  margin-left: 10px;
  font-size: 14px;
  color: #888;
  animation: blink 1.5s infinite;
}

.market-subtext {
  font-size: 14px;
  color: #777;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}















/* 카드 전체 너비 줄이기 */
.giftcard-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1600px; /* ★ 2개씩 고정하려면 필수 */
  margin: 0 auto;    /* 가운데 정렬 */
  margin-top: 20px;
}

.giftcard-card {
  flex: 0 0 calc(40% - 20px); /* 한 줄에 2개 */
  max-width: calc(40% - 20px);
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  padding: 20px 18px;
  font-size: 14.5px;
  transition: all 0.25s ease;
}

.giftcard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}


/* 카드 제목 */
.giftcard-header {
  font-weight: 500;
  font-size: 17px;
  text-align: center;
  margin-bottom: 4px;
}

/* 테이블 내부 */
.giftcard-table {
  width: 100%;
  border-collapse: collapse;
}
.giftcard-table th, .giftcard-table td {
  border: 1px solid #eaeaea;
  padding: 6px 4px;
  text-align: center;
  font-size: 14px;
}

/* 수량 입력 */
.giftcard-input {
  width: 60px;
  padding: 6px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
}

/* 색상 (파스텔톤으로 교체) */
.text-blue {
  color: #7fb8ff;  /* 파스텔 블루 */
  font-weight: 600;
}
.text-red {
  color: #ff9d9d;  /* 파스텔 레드 */
  font-weight: 600;
}

/* 합계 텍스트 */
.giftcard-total {
  font-weight: bold;
  color: #222;
  font-size: 14px;
  width: 130px;
}
.gum1 {
	width: 70px;
}







.custom-center-title {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 0 auto;
  font-weight: 700;
  font-family: 'Pretendard', sans-serif;
  position: relative;
}

/* 골드 밑줄 애니메이션 */
.custom-center-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #d4af37;
  margin: 8px auto 0;
  animation: underlineFade 1s ease-in-out;
}

@keyframes underlineFade {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 60px;
    opacity: 1;
  }
}

.premium-why-section .section-title,
.premium-why-section .section-subtitle {
  text-align: center!important;
  font-family: 'Pretendard', sans-serif;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative!important;
  display: inline-block!important;
}
.premium-why-section {
  padding: 80px 20px;
  background: #fdfdfc;
  border-top: 1px solid #eee;
}

.premium-why-section .section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #222;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.premium-why-section .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, #d4af37, #f6e27a);
  transition: width 0.5s ease, left 0.5s ease;
  transform: translateX(-50%);
}

.premium-why-section .section-title.in-view::after {
  width: 60px;
}




.premium-why-section .section-subtitle {
  font-size: 1rem;
  color: #777;
  margin-bottom: 3rem;
}

.premium-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 0;
}

.feature-box {
  text-align: center;
  padding: 5px;
}

.icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #d3b46c; /* 금색 계열 */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.08);
}

.feature-box h5 {
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}










.giftcard-img {
  transition: transform 0.3s ease;
  max-height: 160px;
  object-fit: contain;
}

.giftcard-img:hover {
  transform: scale(1.05);
}












.timeline {
  position: relative;
  max-width: 700px;
  margin: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #ddd;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  z-index: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.timeline-content h5 {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.timeline-content p {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}













.review-section {

  padding-top: 90px;
  padding-bottom: 80px;
}

#gift-review-slider {
  row-gap: 40px;
}

.review-card {



  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  background-color: #fff;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}












.map-image-map-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.map-photo-wrapper,
.kakao-map-wrapper {
  width: 480px;
  height: 480px;
  overflow: hidden;
  border-radius: 12px;
}

.map-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
  filter: contrast(1.02) brightness(1.05);
}

#map {
  width: 100%;
  height: 100%;
}



@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left !important;
  }

  .timeline-icon {
    left: 20px;
    transform: translateY(-50%);
  }
}

/* 반응형 조정 */
@media (max-width: 768px) {
  .giftcard-card {
    width: 100%; /* 모바일에서는 한 줄에 1개 */
  }
}

/* 메인 히어로 섹션 */
@media (max-width: 768px) {
  .main-hero-section {
    height: 240px;
  }

  .hero-title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1.5rem;
  }

  .luxury-gold-btn {
    font-size: 1rem;
    padding: 10px 28px;
  }
}

/* 기프트카드 카드 반응형 */
@media (max-width: 768px) {
  .giftcard-wrapper {
    flex-direction: column;
    gap: 16px;
    padding: 0 0;
  }

  .giftcard-card {
    flex: 0 0 100%;
    max-width: 100%;
	padding: 5px 4px;
  }

  .giftcard-input {
    width: 70px;
  }
}

/* 프리미엄 소개 섹션 */


/* 타임라인 모바일 대응은 기존에 존재하나 보완 */
@media (max-width: 768px) {
  .timeline {
    padding: 0 1rem;
  }

  .timeline-item {
    padding-left: 50px;
    padding-right: 20px;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-content h5 {
    font-size: 16px;
  }

  .timeline-content p {
    font-size: 14px;
  }
}

/* 공통 타이틀 여백 조정 */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
}

/* 마켓 헤더 반응형 */
@media (max-width: 768px) {
  .market-header {
    padding: 15px 12px;
  }

  .market-title h2 {
    font-size: 20px;
  }

  .market-date,
  .market-subtext,
  .refresh-indicator {
    font-size: 13px;
  }
}
/* 거래 과정 반응형 */
@media (max-width: 768px) {
  .deal-process-section h2 {
    font-size: 1.75rem;
  }

  .deal-process-section p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .timeline {
    padding: 0 10px;
  }
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100% 
    padding-left: 60px;
    padding-right: 20px;
    text-align: left 
    left: 0 ; /* ✅ 강제 리셋 */
    margin-bottom: 40px;
  }
   .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    left: 0 ;/* ✅ 좌측 정렬 고정 */
    text-align: left ;
  }
  .timeline::before {
    left: 20px;
  }

    .timeline-icon {
    left: 20px ;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .timeline-content {
    padding: 16px;
    border-radius: 10px;
  }

  .timeline-content h5 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .timeline-content p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .giftcard-header {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 8px;
  }

  .giftcard-table {
    font-size: 0.70rem;
  }

  .giftcard-table th,
  .giftcard-table td {
    padding: 2px 1px;
  }

  .giftcard-input {
    font-size: 0.75rem;
    padding: 3px;
  }

  .giftcard-total {
    font-size: 11px!important;
	width: 80px;
	 font-weight: normal;
  }
  .gum1 {
	width: 50px;
}
}