/* 테이블 셀의 보더 색상 변경 (가로줄) */
.table > :not(caption) > * > * {
  border-color: #1f1a24;
}

.custom-table thead th {
  border-bottom-color: #382a45; /* 원하는 색상 코드로 변경 */
  border-width: 1px;
}

/* select 어둡게 은행 목록 */
.dark-select {
  background-color: #1d1227; /* 어두운 배경색 */
  color: #fff; /* 밝은 글자색 */
  border: 0px solid #0a021e; /* 테두리 색상 */
}

.dark-select option {
  background-color: #1d1227;
  color: #fff;
}

/* full-screen-modal */
.modal {
  display: flex !important;
  align-items: center; /* 수직 중앙 정렬 */
  justify-content: center; /* 수평 중앙 정렬 */
}

@keyframes dots {
  0%,
  20% {
    color: rgba(0, 0, 0, 0);
    text-shadow:
      0.25em 0 0 rgba(0, 0, 0, 0),
      0.5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    color: #888;
    text-shadow:
      0.25em 0 0 rgba(0, 0, 0, 0),
      0.5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow:
      0.25em 0 0 #888,
      0.5em 0 0 rgba(0, 0, 0, 0);
  }
  80%,
  100% {
    text-shadow:
      0.25em 0 0 #888,
      0.5em 0 0 #888;
  }
}

.dot-animation {
  animation: dots 2s infinite;
}

/* 모달의 크기를 뷰포트의 80%로 설정하고 중앙에 정렬합니다. */
/* ✅ 1. 모달 전체 배경: 화면을 꽉 채우고 모달을 중앙에 배치합니다. */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}

/* ✅ 2. 모달 컨테이너: 크기, 위치, 스타일을 담당합니다. */
.custom-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-height: 80vh;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #252038;
  color: #dfdfdf;
}

/* ✅ 3. 모달 헤더: 항상 상단에 고정됩니다. */
.custom-modal-header {
  flex-shrink: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #2f2f2f;
}

.custom-modal-header h4 {
  margin: 0;
  font-size: 1.5rem;
  color: #dfdfdf;
}

/* ✅ 4. 검색창 및 컨트롤 그룹 */
.search-input {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  background-color: #3e384f;
  color: #dfdfdf;
}

.search-input::placeholder {
  color: #a0a0a0;
}

.search-input:focus {
  border-color: #dd9f19;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* ✅ 5. 모달 본문: 스크롤이 필요한 경우에만 스크롤을 만듭니다. */
.custom-modal-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
  min-height: 0;
}

/* ✅ 6. 모달 푸터: 하단에 고정됩니다. */
.custom-modal-footer {
  flex-shrink: 0;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #2f2f2f;
}

/* ✅ 7. 닫기 버튼 스타일 */
.custom-modal-close {
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.custom-modal-footer .custom-modal-fclose {
  padding: 0.5rem 1.5rem;
  background-color: #dd9f19;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-modal-footer .custom-modal-fclose:hover {
  background-color: #c78d0d;
}

/* ✅ 8. 게임 목록 그리드 */
.game-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.game-grid-item {
  flex: 0 0 20%;
  max-width: 20%;
  box-sizing: border-box;
  padding: 0.5rem;
}

/* ✅ 9. 로딩 텍스트 스타일 */
.loading-text {
  font-size: 1.5rem;
  color: #dd9f19;
  text-align: center;
  margin-top: 50px;
}

.no-results-text {
  font-size: 1.2rem;
  color: #a0a0a0;
  text-align: center;
  margin-top: 20px;
}

/* ✅ 11. 게임 아이템 내부 스타일 (모달에만 적용되도록 수정) */
.custom-modal .featured-game-item {
  position: relative; /* 자식 요소의 위치 지정을 위해 */
  overflow: hidden;
  border-radius: 8px;
  background-color: #3e384f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease; /* 호버 효과 추가 */
  cursor: pointer;
}

.custom-modal .featured-game-item:hover {
  transform: translateY(-5px);
  background-color: #4c445c; /* 호버 시 배경색 변경 */
}

.custom-modal .featured-game-hulkthumb img {
  width: 100%;
  height: auto;
  display: block;
}

.custom-modal .featured-game-content {
  position: absolute; /* ✅ 이미지를 기준으로 위치 지정 */
  bottom: 0; /* ✅ 아이템 하단에 고정 */
  left: 0;
  width: 100%;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.9); /* ✅ 반투명 배경 */
  text-align: center;
  transition: background-color 0.3s ease; /* 호버 시 효과 추가 */
}

.custom-modal .featured-game-content h5 {
  margin: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  color: #dfdfdf;
  white-space: nowrap; /* ✅ 텍스트 줄바꿈 방지 */
  overflow: hidden;
  text-overflow: ellipsis; /* ✅ 넘치는 텍스트 ... 처리 */
}

/* 오버레이 레이어 (호버 시 나타남) */
.custom-modal .featured-game-overlay-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  opacity: 0; /* 기본적으로 투명하게 숨김 */
  transition: opacity 0.3s ease;
}

.custom-modal .featured-game-item:hover .featured-game-overlay-content {
  opacity: 1; /* 호버 시 보이게 함 */
}

.custom-modal .featured-game-overlay-content h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.custom-modal .featured-game-overlay-content .slotgameplay-btn {
  padding: 0.5rem 1rem;
  background-color: #05c068;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 13x;
  font-weight: bold;
}

.custom-modal .featured-game-overlay-content .slotgameplay-btn:hover {
  background-color: #05c068;
}

/* 공지사항 목록 아이템 컨테이너 (li) */
.notice-item-container {
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  width: 100%; /* 부모 요소를 꽉 채움 */
}

/* 제목과 날짜를 담는 div */
.item-content {
  display: flex;
  justify-content: space-between; /* 양 끝 정렬 */
  align-items: center;
  flex: 1; /* 남은 공간을 모두 차지하도록 설정 */
  min-width: 0; /* flex 아이템이 넘치는 것을 방지 */
}

/* 제목 스타일 (길이가 넘어가면 ... 처리) */
.notice-title {
  /* 제목이 한 줄로 표시되도록 설정 */
  white-space: nowrap;
  /* 넘치는 텍스트는 숨기기 */
  overflow: hidden;
  /* 넘치는 텍스트를 ...으로 표시 */
  text-overflow: ellipsis;
}

.notice-title:hover {
  color: #ffffff !important;
}

/* 날짜 스타일 (우측 정렬) */
.notice-date {
  /* 날짜가 줄어들지 않도록 설정 */
  flex-shrink: 0;
  margin-left: 10px; /* 제목과의 간격 */
}

.notice-title,
.notice-date {
  font-weight: normal !important;
  font-size: 14px !important;
}

.notice-item-container span {
  color: #808080 !important; /* 회색(gray) */
}

.content-scroll-container {
  /* 최대 높이 설정 (예: 300px) */
  max-height: 300px;
  /* 내용이 넘칠 때만 세로 스크롤바 생성 */
  overflow-y: auto;
  /* 가로 스크롤바 방지 */
  overflow-x: hidden;
  /* (선택 사항) 내용과 경계선 사이에 여백 추가 */
  padding: 14px;
  border: 1px solid #2d2540;
  border-radius: 4px;

  /* 스크롤바 너비 설정 */
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.5) rgba(255, 255, 255, 0.1);
}

/* Chrome, Safari, Edge, Opera 브라우저를 위한 스크롤바 스타일 */
.content-scroll-container::-webkit-scrollbar {
  width: 8px; /* 스크롤바 너비 */
  background-color: transparent; /* 스크롤바 배경을 투명하게 설정 */
}

/* 스크롤바 엄지 (움직이는 부분) 스타일 */
.content-scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.5); /* 회색에 투명도 50% 적용 */
  border-radius: 4px; /* 모서리 둥글게 */
}

/* 공지사항 목록 아이템 컨테이너 (li) */
.notice-item-container {
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  width: 100%; /* 부모 요소를 꽉 채움 */
}

/* 제목과 날짜를 담는 div */
.item-content {
  display: flex;
  justify-content: space-between; /* 양 끝 정렬 */
  align-items: center;
  flex: 1; /* 남은 공간을 모두 차지하도록 설정 */
  min-width: 0; /* flex 아이템이 넘치는 것을 방지 */
}

/* 제목 스타일 (길이가 넘어가면 ... 처리) */
.notice-title {
  /* 제목이 한 줄로 표시되도록 설정 */
  white-space: nowrap;
  /* 넘치는 텍스트는 숨기기 */
  overflow: hidden;
  /* 넘치는 텍스트를 ...으로 표시 */
  text-overflow: ellipsis;
}

.notice-title:hover {
  color: #ffffff !important;
}

/* 날짜 스타일 (우측 정렬) */
.notice-date {
  /* 날짜가 줄어들지 않도록 설정 */
  flex-shrink: 0;
  margin-left: 10px; /* 제목과의 간격 */
}

.notice-title,
.notice-date {
  font-weight: normal !important;
  font-size: 14px !important;
}

.notice-item-container span {
  color: #808080 !important; /* 회색(gray) */
}

/* 공지사항 목록 아이템 컨테이너 (li) */
.messages-item-container {
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  width: 100%; /* 부모 요소를 꽉 채움 */
}

/* 제목과 날짜를 담는 div */
.messages-item-content {
  display: flex;
  justify-content: space-between; /* 양 끝 정렬 */
  align-items: center;
  flex: 1; /* 남은 공간을 모두 차지하도록 설정 */
  min-width: 0; /* flex 아이템이 넘치는 것을 방지 */
}

/* 제목 스타일 (길이가 넘어가면 ... 처리) */
.messages-title {
  /* 제목이 한 줄로 표시되도록 설정 */
  white-space: nowrap;
  /* 넘치는 텍스트는 숨기기 */
  overflow: hidden;
  /* 넘치는 텍스트를 ...으로 표시 */
  text-overflow: ellipsis;
}

.messages-title:hover {
  color: #ffffff !important;
}

/* 날짜 스타일 (우측 정렬) */
.messages-date {
  /* 날짜가 줄어들지 않도록 설정 */
  flex-shrink: 0;
  margin-left: 10px; /* 제목과의 간격 */
}

.messages-title,
.messages-date {
  font-weight: normal !important;
  font-size: 14px !important;
}

.messages-item-container span {
  color: #808080 !important; /* 회색(gray) */
}

/* 페이지네이션 컨테이너 스타일 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* 개별 페이지네이션 버튼 스타일 */
.pagination-button {
  padding: 8px 12px;
  margin: 0 0px;
  background-color: transparent !important; /* 배경색은 투명하게 */
  border: 1px solid #7a7a7a !important; /* 어두운 회색 테두리 */
  color: #a0a0a0 !important; /* 글자색은 연한 회색 */
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease; /* 부드러운 전환 효과 */
}

/* 현재 페이지 버튼 스타일 */
.pagination-button.active {
  background-color: #f7d346 !important; /* 노란색 배경 */
  border-color: #f7d346 !important;
  color: #2c2c2c !important; /* 어두운 글자색 */
  font-weight: bold !important;
}

/* 마우스 호버(hover) 시 버튼 스타일 */
.pagination-button:hover:not(.active) {
  background-color: rgba(247, 211, 70, 0.8) !important; /* 노란색에 투명도 적용 */
  color: #1b1b1b !important;
}

/* 마우스 호버(hover) 시 버튼 스타일 */
.pagination-button.active:hover {
  background-color: #f7d346 !important; /* 노란색 배경 */
  border-color: #f7d346 !important;
  color: #2c2c2c !important; /* 어두운 글자색 */
}

/* 비활성화된 버튼 스타일 */
.pagination-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading-spinner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px; /* 적절한 높이 설정 */
}

.loading-spinner-image {
  width: 50px; /* 원하는 이미지 크기로 조절 */
  height: 50px;
  animation: spin 2s linear infinite; /* 2초 동안 선형적으로 무한 반복 회전 */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.item-content .notice-status-badge {
  color: #ffffff !important; /* 원하는 색상으로 직접 지정 */
}

/* 질문/답변 컨테이너 기본 스타일 */
.notice-content-container {
  padding: 1rem;
  background-color: #1d0d22; /* 질문 배경색 (예시) */
  border-left: 3px solid #f7d346; /* 질문 강조선 (예시) */
}

/* 답변 섹션 스타일 (질문과 구분) */
.answer-section {
  background-color: #1a1a1a; /* ✅ 답변 배경색을 더 어둡게 */
  border-left-color: #f7d346; /* ✅ 답변 강조선 색상 (예시) */
}

/* 답변 헤더 스타일 */
.answer-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: bold;
  color: #f7d346; /* ✅ 답변 레이블 색상 */
}

/* 답변 아이콘 스타일 */
.answer-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-color: #f7d346; /* ✅ 아이콘 배경색 */
  border-radius: 50%;
  position: relative;
  margin-right: 0.5rem;
}

.answer-icon::after {
  content: '✓'; /* ✅ 아이콘 모양 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1a1a1a;
  font-size: 0.75rem;
}

.customer-content-scroll-container {
  /* 최대 높이 설정 (예: 300px) */
  max-height: 300px;
  /* 내용이 넘칠 때만 세로 스크롤바 생성 */
  overflow-y: auto;
  /* 가로 스크롤바 방지 */
  overflow-x: hidden;
  /* (선택 사항) 내용과 경계선 사이에 여백 추가 */
  padding: 14px;
  border: 0px solid #2d2540;

  /* 스크롤바 너비 설정 */
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.5) rgba(255, 255, 255, 0.1);
}

/* Chrome, Safari, Edge, Opera 브라우저를 위한 스크롤바 스타일 */
.customer-content-scroll-container::-webkit-scrollbar {
  width: 8px; /* 스크롤바 너비 */
  background-color: transparent; /* 스크롤바 배경을 투명하게 설정 */
}

/* 스크롤바 엄지 (움직이는 부분) 스타일 */
.customer-content-scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.5); /* 회색에 투명도 50% 적용 */
  border-radius: 4px; /* 모서리 둥글게 */
}

.customer-scroll-container {
  /* 내용이 넘칠 때만 세로 스크롤바 생성 */
  overflow-y: auto;
  /* 가로 스크롤바 방지 */
  overflow-x: hidden;
  /* (선택 사항) 내용과 경계선 사이에 여백 추가 */
  padding: 14px;
  border: 0px solid #2d2540;

  /* 스크롤바 너비 설정 */
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.5) rgba(255, 255, 255, 0.1);
}

/* Chrome, Safari, Edge, Opera 브라우저를 위한 스크롤바 스타일 */
.customer-scroll-container::-webkit-scrollbar {
  width: 8px; /* 스크롤바 너비 */
  background-color: transparent; /* 스크롤바 배경을 투명하게 설정 */
}

/* 스크롤바 엄지 (움직이는 부분) 스타일 */
.customer-scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.5); /* 회색에 투명도 50% 적용 */
  border-radius: 4px; /* 모서리 둥글게 */
}

.border-color-white-tr {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 점검일 때만 전역 차단을 적용하고, 평상시는 절대 영향 X */
html[data-maint='1'] body {
  overflow: hidden !important;
}
html[data-maint='1'] body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 11998;
}
/* (주의) 아래 같은 규칙이 범인일 수 있음. 있으면 반드시 data-maint로 감싸세요.
   body > *:not(#modal-portal) { visibility:hidden !important; }
*/

/* 모바일 패널 기본 레이아웃(예시) */
.mobile-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #291b2f; /* 다크 */
}

/* 리스트 간격 */
.mobile-menu-panel .nav-list li + li {
  margin-top: 0.375rem;
}

/* a, button 공통 리셋 + 풀폭 클릭영역 */
.mobile-menu-panel .nav-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: none;
  line-height: 1.25;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1); /* iOS 터치 하이라이트 */
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  color: #fff;
  font-weight: 800;
}

/* hover/focus/active 효과 */
.mobile-menu-panel .nav-item:hover,
.mobile-menu-panel .nav-item:focus-visible {
  background: rgba(124, 58, 237, 0.15); /* 보라톤 호버 */
  outline: 0;
}
.mobile-menu-panel .nav-item:active {
  background: rgba(124, 58, 237, 0.25); /* 터치 프레스 */
}

/* 버튼 기본 스타일 제거(브라우저 기본 버튼 스타일 덮기) */
.mobile-menu-panel button.nav-item {
  appearance: none;
  -webkit-appearance: none;
}

/* Swiper 기본 네비 버튼 튜닝 */
.swiper-button-prev,
.swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  color: #fff;
  z-index: 10; /* 컨텐츠 위에 올라오도록 */
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
}
.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* 혹시 슬라이드 오버레이가 버튼을 덮는다면 */
.swiper {
  position: relative;
} /* 컨텍스트 보장 */
.featured-game-item {
  position: relative;
} /* 필요 시 */

.casino-slider-button-prev,
.casino-slider-button-next {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  color: #fff;
  z-index: 10; /* 컨텐츠 위에 올라오도록 */
}

.themed-violet .modal-content {
  background: #1d1227 !important;
  border-color: #7c3aed !important;
  color: #ede9fe; /* 원하면 */
}
.themed-violet .modal-header,
.themed-violet .modal-footer {
  background: #1d1227 !important;
  border-color: #5020a1 !important;
}

/* 모바일 로그인 정렬 fix */
.mobile.header .login-mobile {
  padding: 0 !important;
}

.mobile.header .login-mobile__row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
  align-items: stretch !important;
}

/* 인풋/버튼 높이 통일 */
.mobile.header .login-mobile__row input.uid,
.mobile.header .login-mobile__row input.upw,
.mobile.header .login-mobile__row button.login-btn,
.mobile.header .login-mobile__row button.code-link {
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

/* 아이콘 때문에 버튼 높이/정렬 흔들리는 거 방지 */
.mobile.header .login-mobile__row button i {
  line-height: 1 !important;
  vertical-align: middle !important;
}

@media (max-width: 991px) {
  .mobile.header {
    width: 100% !important;
  }

  /* dflex가 flex면 모바일에서 세로 스택으로 고정 */
  .mobile.header .dflex-ac-jc {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .mobile.header input.uid,
  .mobile.header input.upw,
  .mobile.header button.login-btn,
  .mobile.header button.code-link {
    width: 100% !important;
    height: 44px !important;
    box-sizing: border-box !important;
  }

  /* 버튼 텍스트/아이콘 세로정렬 */
  .mobile.header button.login-btn,
  .mobile.header button.code-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .mobile.header button i {
    line-height: 1 !important;
    vertical-align: middle !important;
  }
}
@media (max-width: 991px) {
  .single-slider { position: relative; }

  /* 텍스트가 항상 위로 오게 */
  .single-slider .slider-content {
    position: relative;
    z-index: 5;
  }
}

@media (max-width: 991px) {
  .single-slider { position: relative; }

  .single-slider .slider-content {
    position: relative;
    z-index: 10;
  }

  .single-slider .slider-img {
    z-index: 0 !important;
    filter: saturate(0.9) contrast(1.05) !important;
    right: -50px !important;
    bottom: -18px !important;
    transform: scale(0.9) !important;
    pointer-events: none !important;
  }
}

@media (max-width: 991px) {
  .single-slider .slider-content h6 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }

  .single-slider .slider-content h2 {
    font-size: 36px !important;   /* 기존보다 ↓ */
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
  }

  .single-slider .slider-content h2 span {
    font-size: 32px !important;   /* BEST */
  }

  .single-slider .slider-content p {
    font-size: 14px !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 991px) {
  .slider-hulk-area,
  .single-slider {
    min-height: 200px !important;   /* ⬅️ 핵심 */
    height: auto !important;
  }
}
@media (max-width: 991px) {
  .single-slider {
    padding-top: 60px !important;
    padding-bottom: 0px !important;
  }
}

@media (max-width: 991px) {
  .single-slider .slider-content h2 {
    line-height: 1.06 !important;
  }

  .single-slider .slider-content h2 .casino {
    display: block !important;
    margin-top: 6px !important;   /* 2번째 줄 숨쉬기 */
  }
}
.single-slider .slider-content h2 .best {
  color: #f5a623 !important; /* 노란색 */
}
.single-slider .slider-content h2 .casino {
  color: #ffffff !important;
}
@media (min-width: 992px) {
  .single-slider .slider-img img {
    opacity: 1;
    width: 500px;
  }
}
@media (min-width: 992px) {
  .single-slider {
    position: relative;
  }

  .single-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.35) 100%
    );
    pointer-events: none;
  }
}


/* 카드 위 타이틀(한글) 가독성 바 */
.featured-game-item .featured-game-content h5 {
  position: absolute !important;
  left: 5px !important;
  right: 5px !important;
  top:20px !important;
  text-align: center;

  margin: 0 !important;
  padding: 9px 12px !important;

  color: #fff !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important; /* 글자폭 살짝 압축 */

  z-index: 3 !important;

  /* ✅ 가로 바(그라데이션) */
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.15) 100%) !important;
  border-radius: 10px !important;

  /* 길면 … 처리 */
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow:inherit !important;

  /* 텍스트만 살짝 또렷 */
  text-shadow: 0 1px 8px rgba(0,0,0,.55) !important;
}

.featured-game-item .featured-game-hulkthumb {
  position: relative !important;
  overflow: hidden !important;
}

.featured-game-item .featured-game-content .featured-game-meta {
  display: none !important;
}
.featured-game-item .featured-game-hulkthumb {
  position: relative !important;
  border: 1px solid #fc08;
  border-radius: 10px;
}

.featured-game-item .featured-game-hulkthumb:hover {
  border: 1px solid #fc0;
}

.featured-game-item .featured-game-hulkthumb::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(245, 158, 11, 0.0) !important; /* 기본은 투명 */
  transition: background .2s ease, opacity .2s ease !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
.featured-game-item .featured-game-hulkthumb img {
  transition: transform .25s ease, filter .25s ease !important;
}

.featured-game-item:hover .featured-game-hulkthumb img {
  transform: scale(1.1) !important;
  filter: brightness(0.95) contrast(1.08) !important;
}
.featured-game-item:hover .featured-game-hulkthumb::after {
  background: rgba(0,0,0,0.58) !important; /* ✅ 노란 틴트 */
}
.featured-game-item .featured-game-content h5 {
  z-index: 3 !important;
}

.featured-game-item .featured-game-overlay-content {
  z-index: 4 !important;   /* ⭐ 제일 위 */
}
