@charset "utf-8";
html, body, .p2p-card, .card, .card-body, .card-header,
h1, h2, h3, h4, h5, h6, p, div, span, a, li, ul, ol, button, input {
  font-family: 'SUIT', sans-serif !important;
}
.container,
.container-fluid {
  min-width: 100%;
  width: 1665px;
  overflow-x: auto;
  min-height: 100%!important; 
}
.main-extra-section {
    display: none !important;
}
.container-lg{
	margin-top: 0.2rem!important;
	margin-bottom: 1rem!important;
}
.col-lg-3 {
  width: 455px!important;           /* 카드 가로 고정 */
  height: 195px!important;           /* 카드 전체 높이 고정 (필요 시) */
  flex: none!important;              /* 반응형 무시 */    /* 카드 간 여백 */
}
.col-lg-2 {
  width: 300px!important;
  height: 195px!important;           /* 카드 전체 높이 고정 (필요 시) */
  flex: none!important;              /* 반응형 무시 */    /* 카드 간 여백 */
}
.fixed-row {
  display: flex;
  flex-wrap: nowrap;
  min-width: 1665px; /* 원래 카드 전체 가로 너비 기준 */
}
.col-lg-big {
  width: 455px!important;           /* 카드 가로 고정 */
  height: 225px!important;           /* 카드 전체 높이 고정 (필요 시) */
  flex: none!important;              /* 반응형 무시 */    /* 카드 간 여백 */
}
.col-lg-big2 {
  width: 300px!important;
  height: 225px!important;           /* 카드 전체 높이 고정 (필요 시) */
  flex: none!important;              /* 반응형 무시 */    /* 카드 간 여백 */
}
.col-lg-big3 {
  width: 455px!important;           /* 카드 가로 고정 */
  height: 250px!important;           /* 카드 전체 높이 고정 (필요 시) */
  flex: none!important;              /* 반응형 무시 */    /* 카드 간 여백 */
}
.col-lg-big4 {
  width: 300px!important;
  height: 250px!important;           /* 카드 전체 높이 고정 (필요 시) */
  flex: none!important;              /* 반응형 무시 */    /* 카드 간 여백 */
}

.smaller-side .movie-card {
  width: 100%;
  height: 180px;
}
/* 공통 텍스트 */
.ts-xs { font-size: 0.75rem; line-height: 1.3; }
.ts-sm { font-size: 0.75rem; }
.ts-st { font-size: 0.70rem; }

/* 헤더 상단 */
.card-header {
  font-size: 0.95rem;
  padding: 12px 16px;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
}
/* 로고 이미지 */
.logo-box {
  width: 140px;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(240,240,240,0.05));
  box-shadow: 0 4px 16px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-self: center;
}
.site-logo {
  width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

/* 카드 기본 */
.p2p-card {
  border-radius: 12px;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
  border: 1px solid #e5e7eb;

}
.p2p-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.clickable-card {
  cursor: pointer;
}

/* 순위 뱃지 */
.rank-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
}

/* 순위별 파스텔톤 색상 */
.rank-1 { background-color: #ffb3b3; } /* 기존 #ff4d4f → 파스텔 레드 */
.rank-2 { background-color: #ffe199; } /* 기존 #ffaf00 → 파스텔 오렌지 */
.rank-3 { background-color: #b8f2cc; } /* 기존 #00b96b → 파스텔 민트 */
.rank-4 { background-color: #bbd9ff; } /* 기존 #3b82f6 → 파스텔 블루 */
.rank-5 { background-color: #d1cfff; } /* 기존 #6366f1 → 파스텔 바이올렛 */
.rank-6,
.rank-7,
.rank-8 { background-color: #d9d9d9; } /* 기존 #6b7280 → 파스텔 그레이 */



/* 사이트명 */
.site-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* 상세 버튼 */
.btn-fancy {
  display: inline-block;
  font-size: 0.87rem;
  color: #1f2937;
  background-color: transparent;
  padding: 6px 14px;
  border-radius: 8px;
  position: relative;
  transition: all 0.25s ease;
  font-weight: 500;
  border: none;
}

.btn-fancy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f3f4f6;
  border-radius: 8px;
  z-index: -1;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  opacity: 0;
  transform: scale(0.95);
}

.btn-fancy:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn-fancy:hover {
  color: #111827;
}





.content-popular-box {
  background: #fefefe;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.88rem;
}

.pastel-header {
  color: #fff;
  background: linear-gradient(90deg, #ffc8c8, #ffe3d3);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: inline-block;
}

.content-popular-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.content-popular-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.content-popular-list li:last-child {
  border-bottom: none;
}

.content-popular-list a {
  text-decoration: none;
  color: #333;
  display: block;
  transition: color 0.2s ease;
}


/* 인기 콘텐츠 텍스트 스타일 */
.popular-content-list li a {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 2px 0;
  margin: 1px 0;
  text-decoration: none;
  border-radius: 6px;
  animation: pastelCycle 12s infinite ease-in-out;
  transition: background-color 0.2s ease;
  background-color: #f3f4f6;
}
@keyframes pastelCycle {
  0%   { color: #FF8A8A; }
  25%  { color: #FFC78A; }
  50%  { color: #8AE5FF; }
  75%  { color: #B98AFF; }
  100% { color: #FF8A8A; }
}



/* hover 시 배경 강조만 유지 */
.popular-content-list li a:hover {
  background-color: #D4D4D6;
  font-weight: 1000;

  animation: none !important;
}


.popular-item {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #555; /* 파스텔 느낌 살린 어두운 회색 */
  text-decoration: none;
  transition: color 0.2s ease;
}












.meta-info-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.87rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 태그 스타일 라벨 */
.label-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;              /* ✅ 고정 너비 */
  height: 26px;             /* ✅ 높이 정렬 */
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.80rem;
  white-space: nowrap;
  text-align: center;
}


.pastel-open {
  background-color: #EF88BE;
  color: #fff;
}
.pastel-benefit {
  background-color: #58C0FF;
  color: #fff;
}
.pastel-event {
  background-color: #CDB5E6;
  color: #fff;
}

/* 내용 */
.label-content {
  color: #111827;
  font-weight: 400;
}
.multiline-event {
  white-space: pre-line;
}




.pastel-button {
  background: linear-gradient(to right, #ffd3e0, #ffe3b3);
  color: #5a4a42 !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  padding: 30px 55px !important;
  line-height: 1.5 !important;

  display: flex !important;                /* ✅ Flex로 정렬 */
  justify-content: center !important;      /* 가로 가운데 */
  align-items: center !important;          /* 세로 가운데 */
  text-align: center !important;

  box-shadow: 0 6px 14px rgba(255, 192, 203, 0.3) !important;
  transition: all 0.3s ease;
}


.pastel-button:hover {
  background: linear-gradient(to right, #ffe3b3, #ffd3e0);
  color: #3d2e26;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.5);
  transform: translateY(-2px);
}
.site-name-pill {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6c4b00;
  padding: 4px 14px;
  border-radius: 14px;
  background-color: rgba(255, 249, 229, 0.9);
  border: 1px solid rgba(240, 202, 120, 0.4);
  text-shadow:
    0 0 2px rgba(255, 239, 184, 0.6),
    0 0 6px rgba(255, 222, 130, 0.3);
  box-shadow:
    0 0 4px rgba(255, 222, 130, 0.3),
    inset 0 0 2px rgba(255, 248, 200, 0.2);
  animation: glow-pulse-gold 2.5s ease-in-out infinite alternate;
  user-select: none;
  pointer-events: none;
}
@keyframes glow-pulse-gold {
  from {
    text-shadow:
      0 0 2px rgba(255, 239, 184, 0.6),
      0 0 6px rgba(255, 222, 130, 0.3);
    box-shadow:
      0 0 4px rgba(255, 222, 130, 0.3),
      inset 0 0 2px rgba(255, 248, 200, 0.2);
  }
  to {
    text-shadow:
      0 0 6px rgba(255, 239, 184, 0.95),
      0 0 12px rgba(255, 215, 100, 0.6);
    box-shadow:
      0 0 10px rgba(255, 215, 100, 0.7),
      inset 0 0 5px rgba(255, 248, 200, 0.4);
  }
}

.site-name-header{
	margin: 0 0 0 0!important;
}
.highlighted-site-box {
  border: 2px solid #ffd6d6; /* 파스텔 핑크 테두리 */
  background: #fff8f6;       /* 아주 연한 크림톤 배경 */
  box-shadow: 0 8px 20px rgba(255, 192, 203, 0.15); /* 은은한 그림자 */
  border-radius: 24px;
  transition: all 0.3s ease;
}

/* 버튼 디자인 */
.detail-toggle-btn {
  background-color: #f8c8dc; /* 연한 파스텔 핑크 */
  color: #5a0035;
  border: none;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  min-width: 300px;
  text-align: center;
}

/* 버튼 hover 효과 */
.detail-toggle-btn:hover {
  background-color: #f6a7c2;
  transform: scale(1.02);
}

/* 슬라이드용 기본 숨김 상태 */
.site-detail-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out, padding 0.3s ease-in-out;
}

/* 열릴 때 추가 클래스 */
.site-detail-container.open {
  max-height: 1200px; /* 충분히 여유 있게 */
  padding-top: 20px;
  padding-bottom: 20px;
}









.bg-light-pink {
  background-color: #fff0f4;
}

.pastel-detail-box {
  color: #4a0033;
  line-height: 1.75;
  font-size: 1rem;
  position: relative;
}

.pastel-title {
  font-weight: 700;
  font-size: 1.4rem;
  color: #d81b60;
}

.pastel-text-content {
  margin: 0;  
  padding-left: 0;  	
  font-size: 1rem;
  white-space: pre-wrap;
}

.border-danger-subtle {
  border-color: #f8bbd0 !important;
}



/* 영화 롤링 카드 (기존 유지) */
.movie-card {
  flex: 0 0 auto;
  width: 160px;
  height: 220px;
  position: relative;
  margin-right: 1rem;
  cursor: pointer;
}
.movie-card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.overlay {
  font-size: 0.75rem;
}
.marquee {
  animation: scroll 20s linear infinite;
  display: flex;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 클릭순위 리스트 */
.rank-list li {
  font-size: 0.80rem;
  padding: 0px 0px;
  line-height: 1.3;
}
.webhard-rank-wrapper {
  position: relative;
}
.webhard-rank-box {
  background: #fefefe;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.85rem;
  position: absolute;
  top: 0;
  height: 100%;
  min-height: 405px;
  width: 95%;
  overflow-y: auto;
  padding-right: 8px;
}
.webhard-rank-box2 {
  min-height: 515px;
}
.webhard-rank-box3 {
  min-height: 380px;
}

.webhard-rank-box .fw-bold {
  font-size: 0.82rem;
  background: linear-gradient(90deg, #ffd9d9, #e9e9ff);
  color: #444;
  padding: 6px 8px;
  border-radius: 8px;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { background-color: #ffecec; }
  50% { background-color: #eaeaff; }
  100% { background-color: #ffecec; }
}

.rank-list .list-group-item {
  border: none; /* 기본 보더 제거 */
  border-left: 4px solid #e0e7ff;
  border-top: 1px solid #e5e7eb; 
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.85rem;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.rank-list .list-group-item:hover {
  background-color: #f9fafb;
  border-left: 4px solid #e0e7ff;
}

.rank-label {
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
}

.rank-label strong {
  display: inline-block;
  font-weight: 700;
  min-width: 36px;
  padding: 2px 6px;
  text-align: right;
  color: #fff;
  border-radius: 10px;
}

/* 각 랭크별 배경 색 지정 */
.rank-1 strong { background-color: #f87171; }
.rank-2 strong { background-color: #fbbf24; }
.rank-3 strong { background-color: #34d399; }
.rank-4 strong { background-color: #60a5fa; }
.rank-5 strong { background-color: #a78bfa; }
.rank-6 strong { background-color: #fca5a5; }
.rank-7 strong { background-color: #fcd34d; }

/* 초기 상태는 항상 보이게 */
.rank-list .list-group-item {
  opacity: 1;
  transition: all 0.6s ease;
}

/* 자연스러운 나타남 효과 */
.fade-entry {
  animation: fadeEntry 0.6s ease forwards;
  border-left: 4px solid #c7d2fe; /* 기존 색 유지 */
  background-color: #ffffff; /* 배경 고정 */
  border-radius: 8px;
}

@keyframes fadeEntry {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



.click-count b {
  font-weight: bold;
  color: #333;
}
.click-count {
  font-size: 0.70rem;
  color: #9ca3af;  /* 연회색 */
}
.movie-slider {
  position: relative;
}


.movie-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.movie-slider {
  position: relative;
  overflow: hidden;
}

.movie-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}
.movie-slide.active {
  opacity: 1;
  z-index: 1;
}
.movie-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}
.movie-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #999;
  cursor: pointer;
  transition: background-color 0.3s;
}

.movie-dots .dot.active {
  background-color: #fff;
}


.popular-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

.popular-box {
  flex: 1 1 30%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 16px;
  position: relative;
  width: 100%;
  clear: both;
}

.popular-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px!important;
  border-radius: 10px;
  color: #fff!important;
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-title:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 카테고리별 배경색 */
.icon-title.movie {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.icon-title.drama {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}

.icon-title.show {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.icon-title .icon {
  font-size: 18px;
  color: #fff!important;
}
.popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 4px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.popular-list li:nth-child(1) { animation-delay: 0s; }
.popular-list li:nth-child(2) { animation-delay: 0.2s; }
.popular-list li:nth-child(3) { animation-delay: 0.4s; }
.popular-list li:nth-child(4) { animation-delay: 0.6s; }
.popular-list li:nth-child(5) { animation-delay: 0.8s; }

.rank {
  width: 24px;
  font-weight: bold;
  color: #ff6b6b;
  flex-shrink: 0;
}

.flag {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 12px;
  line-height: 1.2;
  color: #fff;
  vertical-align: middle;
  animation: fadeIn 0.4s ease-in-out;
}

.flag.new {
  color: #ff5e57 !important; /* 부드러운 레드톤 */
  border: 1px solid #ffb3af;
  background: rgba(255, 94, 87, 0.08);
  animation: pulseNew 3.0s infinite;
  font-weight: 700;
  padding: 3px 3px!important;
}

@keyframes pulseNew {
  0% { box-shadow: 0 0 0 0 rgba(255, 94, 87, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 94, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 94, 87, 0); }
}

/* UP: 상승 - 민트 */
.flag.up {
  color: #32d296 !important;
  border: 1px solid #a0eac9;
  background: rgba(50, 210, 150, 0.05);
  padding: 3px 3px!important;
}

/* DOWN: 하락 - 하늘색 */
.flag.down {
  color: #5fa8f8 !important;
  border: 1px solid #b8d9ff;
  background: rgba(95, 168, 248, 0.05);
  padding: 3px 3px!important;
}

/* 부드러운 등장 애니메이션 */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.more-btn {
  font-size: 0.85rem;
  color: #555;
  background: #f1f1f1;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.more-btn:hover {
  background: #eaeaea;
  color: #222;
}

@keyframes refreshFade {
  0% {
    opacity: 0.3;
    transform: scale(0.98);
    background: #e0e0e0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    background: #f9f9f9;
  }
}
.refresh {
  animation: refreshFade 0.6s ease-in-out;
}

.ranking-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 960px;
  margin: 32px auto;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 16px;
  background-color: #fff;
  gap: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-box {
  flex: 1;
}

.info-box .title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 0.95rem;
}

.meta li {
  margin-bottom: 6px;
}

.download-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #f44336;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

.download-btn:hover {
  background-color: #d32f2f;
}

.poster-box {
  width: 320px;
  flex-shrink: 0;
}

.poster-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px #ccc;
}
.content-menu {
  margin: 40px auto 20px;
}
.content-leftma {
  margin-left: 20px;
}

.menu-list {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* 정렬 클래스들 */
.content-menu.align-left .menu-list {
  justify-content: flex-start;
}

.content-menu.align-center .menu-list {
  justify-content: center;
}

.content-menu.align-right .menu-list {
  justify-content: flex-end;
}


.menu-item {
  font-size: 1rem;
}

.menu-item a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  color: #444;
  background-color: #f4f4f4;
  transition: background 0.3s, color 0.3s;
}

.menu-item a:hover {
  background-color: #e0e0e0;
}

.menu-item.active a {
  background-color: #f44336;
  color: #fff;
  font-weight: bold;
}

.contenton {
  display: block;
}
.d-none {
  display: none !important;
}
/* 쿠폰 카드 이미지 */
.coupon-img-box {
  
  display: flex;
  justify-content: center;
  align-items: center; /* ✅ 세로 중앙 정렬 */
}
.coupon-img {
  width: 120px; /* ✅ 줄인 이미지 크기 */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.coupon-info {
  font-size: 0.78rem;
  color: #444;
  line-height: 1.5;
  flex-grow: 1;
}

/* 쿠폰 코드 입력창 */
.coupon-code {
  flex: 1;
  font-size: 0.85rem;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* 복사 버튼 */
.btn-copy {
  background: linear-gradient(135deg, #74ebd5, #ACB6E5);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-copy:hover {
  opacity: 0.85;
}

/* 사이트 바로가기 버튼 */
.btn-go-site {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 10px;
  border-left-color: #FFCC91;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-go-site:hover {
  background: linear-gradient(135deg, #f67280, #c06c84);
  color: #fff;
}
/* 혜택/기간 박스 위치 우측 정렬 */
.coupon-info-box-left {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; /* ✅ 왼쪽 정렬 */
  gap: 6px;
  font-size: 0.82rem;
  padding-left: 0px;
}

/* 줄별 구성 */
.coupon-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 라벨 */
.coupon-label {
  font-weight: bold;
  color: #444;
  width: 60px;
  background: #f1f1f1;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
}

/* 값 */
.coupon-value {
  color: #333;
  font-size: 0.82rem;
  font-weight: 500;
}


/* 리스트 항목 스타일 */
.list-group.mb-4 .list-group-item {
  background-color: #fff5f0;  /* 연한 복숭아빛 배경 */
  max-width: 300px;
  border: 1px solid #ffe1d6;  /* 파스텔 테두리 */
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* hover 시 배경 강조 */
.list-group.mb-4 .list-group-item:hover {
  background-color: #ffe8e0; /* 더 진한 핑크톤 */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

/* 텍스트 스타일 */
.list-group.mb-4 .list-group-item .fw-bold {
  font-size: 1.05rem;
  color: #5a2c24;  /* 고동 계열 텍스트 */
}

/* 버튼 */
.list-group.mb-4 .list-group-item .btn-outline-primary {
  background-color: #ffd3bf;
  color: #7c2e1e;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* 버튼 hover */
.list-group.mb-4 .list-group-item .btn-outline-primary:hover {
  background-color: #ffbba3;
  color: #5c1f15;
}



@media (max-width: 767px) {

  .fixed-row {
  min-width: 100%; /* 원래 카드 전체 가로 너비 기준 */
  }
  .container,
  .container-fluid {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    box-sizing: border-box !important;
  }

  /* 카드 간격 조정 */
  .row.g-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* col-lg 계열도 반응형으로 보정 */
  [class*="col-lg-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* GNB나 헤더 고정값 제거 */
  .fixed-top {
    position: relative !important;
  }

  /* 쿠폰 코드/버튼 정렬 개선 */
  .coupon-code {
    font-size: 0.85rem;
  }

  .btn-copy,
  .btn-go-site {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  /* 여백 및 정렬 개선 */
  .coupon-card {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 767px) {
	  .movie-slider-box,
  .popular-content-box,
  .rank-box-container {
    display: none !important;
  }
  .main-extra-section{
	display: block !important;  
  }
  /* 로고 크기 조정 */
  .site-logo {
    width: 100px !important;
    height: auto !important;
  }
  .logo-box {
	width: 100px !important;
    height: auto !important;  
  }
	  
  /* 메타정보 박스 전체 폰트 및 간격 축소 */
  .meta-info-grid {
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem !important;
  }

  .label-badge {
    font-size: 0.8rem !important;
    padding: 4px 6px !important;
  }

  .label-content {
    font-size: 0.85rem !important;
  }

  .multiline-event {
    word-break: keep-all;
    font-size: 0.85rem !important;
  }
  .col-lg-big,
  .col-lg-big2{
	  height: 195px!important;
  }
  .col-lg-big3{
	  height: 270px!important;
  }
}
@media (max-width: 768px) {
  .movie-slider {
    overflow: visible !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .fixed-row {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
  }

  .container-fluid {
    height: auto !important;
    overflow: visible !important;
  }


}

@media (max-width: 768px) {
  .webhard-rank-box {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    min-height: auto !important;
  }

  .lastweb {
    min-height: auto !important;
    margin-bottom: 140px !important; /* 푸터 겹침 방지 */
  }
  .btn-copy {

  font-size: 0.85rem;

}
  .coupon-section-mobile-gap {
    margin-bottom: 1rem; /* 필요 시 1.5rem 또는 24px로 조정 가능 */
  }
    .cocobackc {
    background-color: #fff5f7 !important; 
  }
  .cocobackc2 {
	background-color: #FFF5EC !important;  
  }
}
