/* [PromoCity-Core] /skin/board/WL_PromoCity_v1/promocity.css */
/* Version: v1.1.0 (Stable) */
/* Date: 2024-02-26 */
/* Author: Web-lease_Claude */

/********************************************************
■ 프리미엄 홍보 영역 (상단)
********************************************************/
.promocity-premium-section {
  background: #fff;
}

.promocity-premium-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.promocity-premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.premium-img-wrap {
  height: 180px;
  overflow: hidden;
  background: #f8f9fa;
}

.premium-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.promocity-premium-card:hover .premium-img {
  transform: scale(1.05);
}

.premium-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
  z-index: 2;
}

.premium-new-badge {
  top: 10px;
  right: 10px;
  z-index: 2;
}

/********************************************************
■ 일반 홍보 영역 (하단)
********************************************************/
.promocity-normal-section {
  background: #fff;
}

/********************************************************
■ 반응형 최적화
********************************************************/
@media (max-width: 767.98px) {
  .premium-img-wrap {
    height: 150px;
  }

  .premium-badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .promocity-premium-card .card-body {
    padding: 0.75rem;
  }

  .promocity-premium-card .card-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .premium-img-wrap {
    height: 130px;
  }
}

/* [PromoCity-Core] /skin/board/WL_PromoCity_v1/promocity.css */
/* Version: v1.1.0 (Stable) */
/* Date: 2024-02-26 */
/* Author: Web-lease_Claude */
/* [변경 이력] */
/* - v1.0.0 : 기본 레이아웃 스타일 */
/* - v1.1.0 : View & Write 스킨 전용 스타일 추가 */

/********************************************************
■ Hero Header (프리미엄 상세보기)
********************************************************/
.promocity-hero-section {
  position: relative;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(1px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.premium-badge-hero {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  animation: premium-glow 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

@keyframes premium-glow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.8);
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-slogan {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.premium-badge-inline {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/********************************************************
■ 연락처 사이드바 (프리미엄 전용)
********************************************************/
.promocity-contact-sidebar {
  position: sticky;
  top: 2rem;
}

.contact-box {
  background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
  border: 3px solid #ffd700;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.contact-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #ffd700;
  color: #333;
}

.contact-highlight {
  background: #fff;
  border-left: 4px solid #ffd700;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  color: #333;
  font-style: italic;
}

.messenger-section {
  background: white;
  border-radius: 8px;
  padding: 1rem;
}

.messenger-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
}

.messenger-item {
  margin-bottom: 0.75rem;
}

.btn-contact {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-telegram {
  background: #0088cc;
  color: white;
}

.btn-telegram:hover {
  background: #006699;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.btn-kakao {
  background: #fee500;
  color: #000;
}

.btn-kakao:hover {
  background: #fdd835;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}

.btn-website {
  background: #007bff;
  color: white;
  margin-top: 0.5rem;
}

.btn-website:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.contact-event {
  border: 2px dashed #ffd700;
  background: #fff9e6;
}

.contact-warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
}

/********************************************************
■ 글쓰기 폼 스타일
********************************************************/
.promocity-premium-option {
  background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
  border-left: 5px solid #ffd700 !important;
}

.premium-option-container {
  padding: 1rem;
}

.premium-checkbox-wrap {
  margin-bottom: 1rem;
}

.premium-label {
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.premium-star {
  color: #ffd700;
  font-size: 1.3rem;
  animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.premium-text {
  color: #333;
  flex-grow: 1;
}

.premium-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.premium-description {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

.premium-benefits {
  background: white;
  border: 2px solid #ffd700;
  border-radius: 8px;
  padding: 1rem;
}

.premium-benefits h6 {
  color: #333;
}

.premium-benefits ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.premium-benefits li {
  padding: 0.25rem 0;
  color: #555;
  font-size: 0.9rem;
}

/********************************************************
■ 이벤트 강조 박스
********************************************************/
.promocity-event-alert {
  border-left: 5px solid #ffc107;
  background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

/********************************************************
■ 반응형 최적화
********************************************************/
@media (max-width: 991.98px) {
  .promocity-hero-section {
    height: 280px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-slogan {
    font-size: 1.1rem;
  }

  .promocity-contact-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .promocity-hero-section {
    height: 220px;
  }

  .hero-overlay {
    padding: 1rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .premium-label {
    font-size: 1rem;
  }

  .premium-description {
    margin-top: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .promocity-hero-section {
    height: 180px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .premium-badge-hero {
    font-size: 10px;
    padding: 6px 14px;
  }
}

/* BetPromo 통계 대시보드 스타일 */
.betpromo-stats-dashboard .stat-item {
  padding: 1rem 0.5rem;
  transition: all 0.3s ease;
}

.betpromo-stats-dashboard .stat-item:hover {
  transform: translateY(-2px);
}

.betpromo-stats-dashboard .stat-icon {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.betpromo-stats-dashboard .stat-item:hover .stat-icon {
  opacity: 1;
}

/* 카테고리 메시지 박스 */
.betpromo-category-message {
  animation: fadeIn 0.5s ease-out;
}

/* 프리미엄 카드 스타일 */
.betpromo-premium-section .card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.betpromo-premium-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* 반응형 디자인 */
@media (max-width: 767px) {
  .betpromo-stats-dashboard .stat-value {
    font-size: 1.4rem;
  }

  .betpromo-premium-section .col-6 {
    margin-bottom: 1rem;
  }
}

/* 애니메이션 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   [BetPromo] 통계 대시보드 & 메시지 박스
   ======================================== */

/* 통계 아이템 호버 효과 */
.betpromo-stats-dashboard .stat-item:hover {
  transform: translateY(-3px);
  background-color: rgba(0, 0, 0, 0.02) !important;
}

/* 카테고리 메시지 애니메이션 */
.betpromo-category-message {
  animation: fadeInDown 0.5s ease-out;
}

/* 통계 대시보드 애니메이션 */
.betpromo-stats-dashboard {
  animation: fadeInUp 0.6s ease-out;
}

/* 애니메이션 정의 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 프리미엄 카드 개선 */
.promocity-premium-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* 반응형 디자인 */
@media (max-width: 767px) {
  .betpromo-stats-dashboard .h4 {
    font-size: 1.4rem;
  }

  .betpromo-category-message h5 {
    font-size: 1rem;
  }

  .betpromo-category-message p {
    font-size: 0.85rem;
  }
}

/* ========================================
   [BetPromo] 모던 카테고리 네비게이션
   ======================================== */

.betpromo-category-nav {
  position: relative;
  margin-bottom: 1rem;
}

/* 스크롤 컨테이너 */
.category-scroll-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /* 스크롤바 숨김 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroll-container::-webkit-scrollbar {
  display: none;
}

/* 카테고리 버튼 */
.category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 카테고리 아이콘 */
.category-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* 호버 효과 */
.category-btn:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.category-btn:hover i {
  transform: scale(1.1);
}

/* 활성 상태 */
.category-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  font-weight: 600;
}

.category-btn.active:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
  color: #ffffff;
}

.category-btn.active i {
  color: #ffffff;
  transform: scale(1.1);
}

/* 반응형 디자인 */
@media (max-width: 767px) {
  .category-scroll-container {
    gap: 0.4rem;
    padding: 0.5rem 0;
  }

  .category-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 20px;
  }

  .category-btn i {
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .category-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .category-btn span {
    display: none; /* 모바일에서는 아이콘만 표시 */
  }

  .category-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 50%;
  }
}

/* 부드러운 페이드 인 애니메이션 */
.betpromo-category-nav {
  animation: categoryFadeIn 0.5s ease-out;
}

@keyframes categoryFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 스크롤 힌트 (좌우 그라데이션) */
.category-scroll-container::before,
.category-scroll-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 1;
}

.betpromo-category-nav::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
}

.betpromo-category-nav::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
  .category-btn {
    -webkit-tap-highlight-color: transparent;
  }

  .category-btn:hover {
    transform: none; /* 터치에서는 호버 변형 제거 */
  }
}

/* [BetPromo] 프리미엄 브랜딩 강화 */
.category-btn.active {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border-color: #ff6b6b;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.category-btn.active:hover {
  background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* 특정 카테고리 색상 커스터마이징 */
.category-btn[href*="스포츠"].active {
  background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
  box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
}

.category-btn[href*="카지노"].active {
  background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
  box-shadow: 0 4px 15px rgba(225, 112, 85, 0.4);
}

.category-btn[href*="슬롯"].active {
  background: linear-gradient(135deg, #fdcb6e 0%, #f39c12 100%);
  box-shadow: 0 4px 15px rgba(253, 203, 110, 0.4);
}
