/* ============================================
   SSG Theme (Type 3) - Based on st1 Layout
   ============================================ */

/* ============================================
   Font Face
   ============================================ */
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: 1.4;
  background: #0f1025 !important;
  color: #ddd;
  font-size: 14px;
  font-weight: 300;
  font-family: 'S-CoreDream', sans-serif;
  letter-spacing: -0.5px;
  overflow-x: hidden;
}

ul, ol, dl {
  list-style: none;
}

img, fieldset, iframe {
  border: none;
}

i, em, address {
  font-style: normal;
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, select, button, textarea {
  vertical-align: middle;
  font-family: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

a {
  text-decoration: none !important;
  transition: 0.3s;
  color: inherit;
}

/* Custom Scrollbar */
*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #2c2c60;
}

*::-webkit-scrollbar-thumb:hover {
  background: #e5b200;
}

/* ============================================
   Spinner
   ============================================ */
.spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 16, 37, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================
   Banner Section
   ============================================ */
.banner-section {
  position: relative;
  background: url('/public/custom/type_3/bg/banner_bg.png') no-repeat center center;
  background-size: cover;
  padding: 60px 0 40px;
  overflow: hidden;
  min-height: 420px;
}

.banner-section .container_row {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.banner-section .center_box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.banner-section .bg_item_left,
.banner-section .bg_item_right {
  position: absolute;
  bottom: -120px;
  max-height: 450px;
  width: auto;
  opacity: 1;
}

.banner-section .bg_item_left {
  left: 0;
}

.banner-section .bg_item_right {
  right: 0;
}

.banner-section .logo img {
  max-width: 220px;
  height: auto;
}

.banner-section .slide_row {
  margin-top: 25px;
  text-align: center;
}

.banner-section .slide_row h3 {
  font-size: 20px;
  color: #fff;
  margin: 8px 0;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (min-width: 1200px) {
  .banner-section {
    min-height: 480px;
  }
  
  .banner-section .bg_item_left,
  .banner-section .bg_item_right {
    max-height: 500px;
    bottom: -140px;
  }
}

@media (min-width: 1400px) {
  .banner-section .bg_item_left,
  .banner-section .bg_item_right {
    max-height: 550px;
    bottom: -160px;
  }
}

@media (max-width: 991px) {
  .banner-section {
    min-height: 300px;
    padding: 40px 0 30px;
  }
  
  .banner-section .center_box {
    min-height: 200px;
  }
  
  .banner-section .bg_item_left,
  .banner-section .bg_item_right {
    max-height: 280px;
    bottom: -80px;
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .banner-section {
    min-height: 200px;
    padding: 30px 0 20px;
  }
  
  .banner-section .center_box {
    min-height: 120px;
  }
  
  .banner-section .bg_item_left,
  .banner-section .bg_item_right {
    max-height: 180px;
    bottom: -50px;
    opacity: 0.5;
  }
  
  .banner-section .logo img {
    max-width: 150px;
  }
  
  .banner-section .slide_row h3 {
    font-size: 14px;
  }
}

/* Text Slider Animation */
.banner-section .slide_row {
  position: relative;
  height: 70px;
  overflow: visible;
  z-index: 10;
  width: 100%;
  display: block;
}

.banner-section .slide_row .slide-text {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  text-align: center;
  animation: slideText 9s infinite;
  display: block;
  white-space: nowrap;
}

.banner-section .slide_row .slide-text h3 {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 15px rgba(0,0,0,0.8) !important;
  margin: 5px 0 !important;
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
}

.banner-section .slide_row .slide-text:nth-child(1) {
  animation-delay: 0s;
}

.banner-section .slide_row .slide-text:nth-child(2) {
  animation-delay: 4s;
}

@keyframes slideText {
  0%, 5% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  12%, 42% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50%, 100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

/* ============================================
   Header Section
   ============================================ */
.header-section {
  background: linear-gradient(180deg, #1e1f42 0%, #151630 100%);
  padding: 18px 0;
  border-bottom: 1px solid #2c2c60;
}

.header-section .container_row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.header-section .menu_inner {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-section .menu_inner.navbar {
  margin-bottom: 0 !important;
}

.header-section .menu_inner li {
  display: inline-block;
}

.header-section .menu_inner li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  height: 44px;
  color: #eee;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
  background: linear-gradient(180deg, #46409a 0%, #2d2864 100%);
  border-top: 1px solid #443f8b;
  border-bottom: 1px solid #0b0a15;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-section .menu_inner li a:hover {
  background: linear-gradient(180deg, #5e55cb 0%, #46409a 100%);
  border-top: 1px solid #5e55cb;
  border-bottom: 1px solid #2d2864;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-section .menu_inner li a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.header-section .menu_inner li a:hover img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(54%) saturate(1026%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

/* Login Inner */
.header-section .login_inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-section .login_inner .infobox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-section .login_inner .input_plbox {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #2c2c60;
  border-radius: 5px;
  color: #fff;
  font-size: 13px;
  width: 120px;
}

.header-section .login_inner .input_plbox::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.header-section .login_inner .btn_tp {
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.header-section .login_inner .button_login {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: #000;
}

.header-section .login_inner .button_login:hover {
  background: linear-gradient(135deg, #ffaa00 0%, #ffd700 100%);
  transform: translateY(-2px);
}

.header-section .login_inner .button_join {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid #ffd700;
}

.header-section .login_inner .button_join:hover {
  background: rgba(255, 215, 0, 0.2);
}

/* User Info (Logged in) */
.header-section .user_infobox {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-section .user_infobox .user_balance,
.header-section .user_infobox .user_point {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  font-size: 13px;
}

.header-section .user_infobox .user_balance i,
.header-section .user_infobox .user_point i {
  color: #ffd700;
}

.header-section .user_infobox .user_name {
  color: #ffd700;
  font-weight: 500;
}

.header-section .user_infobox .btn_logout {
  padding: 6px 15px;
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid #ff4444;
  border-radius: 5px;
  color: #ff4444;
  font-size: 12px;
  transition: all 0.3s;
}

.header-section .user_infobox .btn_logout:hover {
  background: #ff4444;
  color: #fff;
}

/* PC 사용자 정보 버튼 통일 높이 */
.header-section .user_infobox .btn_tp,
.header-section .user_infobox .btn {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px !important;
  font-size: 13px !important;
}

.header-section .user_infobox .btn_logout {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.header-section .user_infobox .user_name {
  height: 44px;
  display: flex;
  align-items: center;
}

/* Mobile Header */
@media (max-width: 991px) {
  .header-section .desktop {
    display: none !important;
  }
  
  .header-section .container_row.container_flex {
    flex-direction: column;
    gap: 12px;
    padding: 12px 15px;
  }
  
  /* 모바일 메뉴 버튼 (공지사항, 입금신청 등) - 4열 그리드 */
  .header-section .menu_inner.sidebarMenu.mobile {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0;
    margin: 0;
  }
  
  .header-section .menu_inner.sidebarMenu.mobile li {
    margin: 0;
  }
  
  .header-section .menu_inner.sidebarMenu.mobile li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    font-size: 11px;
    text-align: center;
    min-height: 65px;
    gap: 6px;
  }
  
  .header-section .menu_inner.sidebarMenu.mobile li a img {
    width: 22px;
    height: 22px;
    margin: 0;
  }
  
  /* 모바일 로그인 전 버튼 */
  .header-section .login_inner .mobile {
    width: 100%;
  }
  
  .header-section .login_inner .mob_login {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  
  .header-section .login_inner .mob_login .btn_tp {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* 모바일 로그인 후 사용자 정보 */
  .header-section .login_inner .user_infobox {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
    align-items: center;
  }
  
  .header-section .login_inner .user_infobox .user_balance,
  .header-section .login_inner .user_infobox .user_point {
    padding: 10px 8px;
    font-size: 12px;
    justify-content: center;
    background: #1a1836;
    border: 1px solid #3d3875;
    border-radius: 8px;
  }
  
  .header-section .login_inner .user_infobox .user_name {
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .header-section .login_inner .user_infobox .btn_logout {
    padding: 10px 8px;
    font-size: 12px;
  }
}

@media (min-width: 992px) {
  .header-section .mobile {
    display: none !important;
  }
}

/* 모바일 하단 추가 메뉴 (콤프전환, 메세지, 회원정보) */
@media (max-width: 991px) {
  .container_row.d-block.d-lg-none.mt-2 {
    padding: 0 15px;
    margin-top: 12px !important;
  }
  
  .container_row.d-block.d-lg-none.mt-2 > .d-flex {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 8px;
    width: 100%;
  }
  
  .container_row.d-block.d-lg-none.mt-2 .btn {
    min-width: 100px;
    padding: 10px 15px !important;
    font-size: 12px !important;
    white-space: nowrap;
    border-radius: 8px !important;
  }
}

/* ============================================
   Main Container
   ============================================ */
.main-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 50px 0 40px;
  background: url('/public/custom/type_3/bg/content_bg.jpg') no-repeat top center;
  background-size: 100% auto;
}

.main-container .toggle_inner,
.main-container .toggle_content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.main-container #information {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px;
  padding-right: 15px;
}

.main-container #information > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: center !important;
}

/* ============================================
   Login Modal (로그인) Styling
   ============================================ */
.login.modal .modal-content {
  padding-bottom: 25px;
}

.login.modal .modal-body {
  padding: 25px 30px;
}

.login.modal .form-floating .form-control {
  height: 56px;
  border-radius: 8px !important;
  border: 1px solid #3d3875;
  background: #1a1836;
  color: #fff;
  font-size: 14px;
  padding-top: 20px;
}

.login.modal .form-floating .form-control::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.login.modal .form-floating label {
  color: #888;
  font-size: 14px;
  padding: 16px 12px;
}

.login.modal .form-floating .form-control:focus ~ label,
.login.modal .form-floating .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: #ffd700;
}

.login.modal .captcha-img {
  height: 56px;
  border-radius: 8px 0 0 8px !important;
}

.login.modal .captcha-input {
  height: 56px;
  border-radius: 0 8px 8px 0 !important;
  border: 1px solid #3d3875;
  background: #1a1836;
  color: #fff;
  font-size: 14px;
}

.login.modal .captcha-input::placeholder {
  color: #888;
}

.login.modal .modal-footer {
  padding: 15px 30px 20px;
  border-top: 1px solid #3d3875;
}

.login.modal .modal-footer .btn {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffd700 0%, #e2b500 100%) !important;
  border: 2px solid #ffe73d !important;
  color: #000 !important;
  border-radius: 8px;
}

.login.modal .text-center {
  padding: 15px 0 10px;
}

.login.modal .join-text {
  color: #888;
}

.login.modal a {
  color: #ffd700;
  text-decoration: none;
}

.login.modal a:hover {
  color: #ffe73d;
}

/* ============================================
   Join Modal (회원가입) Styling
   ============================================ */
.join.modal .modal-dialog {
  max-width: 900px;
}

.join.modal .modal-content {
  padding-bottom: 25px;
}

.join.modal .modal-body {
  padding: 30px;
}

.join.modal .modal-body .row {
  row-gap: 20px !important;
}

.join.modal .modal-body .col-12,
.join.modal .modal-body .col-lg-4 {
  padding: 0 10px;
}

/* Input Group - Input + Button 조합 */
.join.modal .input-group {
  display: flex;
  width: 100%;
}

.join.modal .input-group .form-floating {
  flex: 1;
  min-width: 0;
}

.join.modal .input-group .form-floating .form-control {
  height: 56px;
  border-radius: 8px 0 0 8px !important;
  border: 1px solid #3d3875;
  background: #1a1836;
  color: #fff;
  font-size: 14px;
  padding-top: 20px;
}

.join.modal .input-group .form-floating .form-control::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.join.modal .input-group .form-floating label {
  color: #888;
  font-size: 14px;
  padding: 16px 12px;
}

.join.modal .input-group .form-floating .form-control:focus ~ label,
.join.modal .input-group .form-floating .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: #ffd700;
}

.join.modal .input-group .btn {
  height: 56px;
  min-width: 100px;
  border-radius: 0 8px 8px 0 !important;
  background: linear-gradient(180deg, #ffd700 0%, #e2b500 100%) !important;
  border: 1px solid #ffe73d !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 13px;
  white-space: nowrap;
  padding: 0 15px;
}

/* 단독 Form Control (버튼 없는 경우) */
.join.modal .form-floating:not(.input-group .form-floating) .form-control {
  height: 56px;
  border-radius: 8px !important;
  border: 1px solid #3d3875;
  background: #1a1836;
  color: #fff;
  font-size: 14px;
  padding-top: 20px;
}

.join.modal .form-floating:not(.input-group .form-floating) .form-control::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.join.modal .form-floating:not(.input-group .form-floating) label {
  color: #888;
  font-size: 14px;
  padding: 16px 12px;
}

.join.modal .form-floating:not(.input-group .form-floating) .form-control:focus ~ label,
.join.modal .form-floating:not(.input-group .form-floating) .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: #ffd700;
}

/* Select 드롭다운 */
.join.modal .form-select {
  height: 56px;
  border-radius: 8px !important;
  border: 1px solid #3d3875;
  background: #1a1836;
  color: #888;
  font-size: 14px;
  padding: 15px;
}

.join.modal .form-select:focus,
.join.modal .form-select:valid:not([value=""]) {
  color: #fff;
}

.join.modal .form-select option {
  background: #1a1836;
  color: #fff;
}

/* 설명 텍스트 */
.join.modal .description {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  padding-left: 5px;
}

/* 성공/실패 상태 */
.join.modal .description.text-success {
  color: #28a745 !important;
}

.join.modal .description.text-danger {
  color: #dc3545 !important;
}

/* 회원가입 버튼 */
.join.modal .modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #3d3875;
}

.join.modal .modal-footer .btn {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffd700 0%, #e2b500 100%) !important;
  border: 2px solid #ffe73d !important;
  color: #000 !important;
  border-radius: 8px;
}

/* 하단 로그인 링크 */
.join.modal .text-center {
  padding: 15px 0 10px;
}

.join.modal .join-text {
  color: #888;
}

.join.modal a {
  color: #ffd700;
  text-decoration: none;
}

.join.modal a:hover {
  color: #ffe73d;
  text-decoration: underline;
}

/* 반응형 - 모바일 */
@media (max-width: 991px) {
  .join.modal .modal-body {
    padding: 20px;
  }
  
  .join.modal .input-group .btn {
    min-width: 90px;
    font-size: 12px;
    padding: 0 10px;
  }
  
  .join.modal .modal-body .row {
    row-gap: 15px !important;
  }
}

/* Telegram Buttons Section */
.telegram-buttons {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 15px;
}

.telegram-btn {
  display: flex;
  align-items: center;
  background: #1a1836;
  border: 1px solid #3d3875;
  border-radius: 12px;
  padding: 20px 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.telegram-btn:hover {
  border-color: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.telegram-icon {
  width: 50px;
  height: 50px;
  background: #0088cc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.telegram-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.telegram-text {
  display: flex;
  flex-direction: column;
}

.telegram-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 3px;
}

.telegram-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffd700;
}

@media (max-width: 768px) {
  .telegram-btn {
    padding: 15px 20px;
  }
  
  .telegram-icon {
    width: 40px;
    height: 40px;
  }
  
  .telegram-icon img {
    width: 24px;
    height: 24px;
  }
  
  .telegram-title {
    font-size: 15px;
  }
}

/* Toggle Inner (Casino / Slot tabs) */
.toggle_inner {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.toggle_inner .btn_toggle {
  flex: 1;
  padding: 0;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.toggle_inner .btn_toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s;
  z-index: 1;
  pointer-events: none;
}

.toggle_inner .button_casino::before {
  background-image: url('/public/custom/type_3/bg/btn_casino.png');
}

.toggle_inner .button_slot::before {
  background-image: url('/public/custom/type_3/bg/btn_slot.png');
}

.toggle_inner .btn_toggle:hover {
  border-color: #ffd700;
  transform: translateY(-2px);
}

.toggle_inner .btn_toggle:hover::before,
.toggle_inner .btn_toggle.active::before {
  filter: brightness(1.2);
}

.toggle_inner .btn_toggle.active {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.toggle_inner .btn_toggle .toggle_title {
  text-align: center;
  position: relative;
  z-index: 2;
}

.toggle_inner .btn_toggle .toggle_title * {
  pointer-events: none;
}

.toggle_inner .btn_toggle .toggle_title span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.toggle_inner .btn_toggle .toggle_title em {
  display: block;
  font-size: 16px;
  color: #ffd700;
  letter-spacing: 3px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .toggle_inner .btn_toggle {
    padding: 15px 10px;
  }
  
  .toggle_inner .btn_toggle .toggle_title span {
    font-size: 18px;
  }
  
  .toggle_inner .btn_toggle .toggle_title em {
    font-size: 11px;
  }
}

/* Toggle Content */
.toggle_content {
  position: relative;
}

.toggle_section {
  display: none;
}

.toggle_section.active {
  display: block;
}

/* Item List (Games Grid) */
.item_list {
  width: 100%;
}

.item_list .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.item_list .col,
.item_list [class*="col-"] {
  padding: 0 8px;
  margin-bottom: 16px;
}

/* Game Item */
.game_item {
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}

.game_item:hover {
  transform: translateY(-5px);
}

.game_item * {
  pointer-events: none;
}

.game_item {
  pointer-events: auto;
}

.game_item .game_box {
  background: transparent;
  border: none;
  overflow: visible;
  transition: all 0.3s;
  position: relative;
}

.game_item:hover .game_thumb {
  filter: drop-shadow(0 5px 15px rgba(81, 40, 190, 0.7));
  transform: translateY(-3px);
  transition: all 0.3s;
}

.game_item .game_thumb {
  position: relative;
  padding-bottom: 115%;
  overflow: visible;
  width: 100%;
  clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
  background: linear-gradient(180deg, #343067 45%, #1d1b3c 48%, #5f40b2 80%);
  background-size: auto 200%;
}

.game_item .game_thumb img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: transform 0.3s;
  z-index: 1;
}

.game_item:hover .game_thumb img {
  transform: scale(1.1);
}

.game_item .game_thumb .thumb_cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 16, 37, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
}

.game_item:hover .game_thumb .thumb_cover {
  opacity: 1;
}

.game_item .game_thumb .thumb_cover .icon_play {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.game_item .game_info {
  padding: 8px 5px;
  text-align: center;
  margin-top: -15%;
  position: relative;
  z-index: 2;
}

.game_item .game_info h3 {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.game_item .game_info h2 {
  font-size: 11px;
  color: #ffd700;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

@media (max-width: 576px) {
  .game_item .game_info {
    padding: 8px;
  }
  
  .game_item .game_info h2 {
    font-size: 10px;
  }
  
  .game_item .game_info h3 {
    font-size: 12px;
  }
}

/* ============================================
   Contact Widget
   ============================================ */
.widget-contact {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.widget-contact .contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #1e1f42 0%, #151630 100%);
  border: 1px solid #2c2c60;
  border-radius: 10px;
  transition: all 0.3s;
}

.widget-contact .contact-item:hover {
  border-color: #ffd700;
  transform: translateX(-5px);
}

.widget-contact .contact-icon img {
  width: 30px;
  height: 30px;
}

.widget-contact .contact-sns span {
  font-size: 12px;
  color: #ffd700;
}

.widget-contact .contact-title {
  font-size: 11px;
  color: #999;
}

@media (max-width: 768px) {
  .widget-contact {
    right: 10px;
    bottom: 80px;
    top: auto;
    transform: none;
  }
  
  .widget-contact .contact-item {
    padding: 8px 10px;
  }
  
  .widget-contact .contact-content {
    display: none;
  }
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: #0a0b1a;
  padding: 30px 0;
  border-top: 1px solid #2c2c60;
  margin-top: 50px;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

footer .footer_logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

footer .footer_logos img {
  height: 30px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

footer .footer_logos img:hover {
  opacity: 1;
}

footer .copyright {
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* ============================================
   Modal Customization
   ============================================ */
.modal-content {
  background: linear-gradient(180deg, #1e1f42 0%, #151630 100%) !important;
  border: 1px solid #2c2c60 !important;
  border-radius: 15px !important;
}

.modal-header {
  border-bottom: 1px solid #2c2c60 !important;
  background: rgba(255, 215, 0, 0.05);
}

.modal-header .modal-title {
  color: #ffd700 !important;
  font-weight: 600;
}

.modal-body {
  color: #ddd;
}

.modal-footer {
  border-top: 1px solid #2c2c60 !important;
}

/* Modal Buttons */
.modal .btn-warning,
.modal .btn-primary,
.modal .btn-success {
  background: linear-gradient(180deg, #e2b500 0%, #a08000 100%) !important;
  border: 1px solid #ffe73d !important;
  color: #000 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.modal .btn-warning:hover,
.modal .btn-primary:hover,
.modal .btn-success:hover {
  background: linear-gradient(180deg, #ffe73d 0%, #e2b500 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

.modal .btn-secondary {
  background: linear-gradient(180deg, #423f6d 0%, #2d2b46 100%) !important;
  border: 1px solid #5f5c91 !important;
  color: #eee !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.modal .btn-secondary:hover {
  background: linear-gradient(180deg, #5f5c91 0%, #423f6d 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

.modal .btn-danger {
  background: linear-gradient(180deg, #900d0d 0%, #691818 100%) !important;
  border: 1px solid #ba1818 !important;
  color: #eee !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.modal .btn-danger:hover {
  background: linear-gradient(180deg, #ba1818 0%, #900d0d 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Deposit/Withdraw Modal */
#deposit-btn-group .btn,
#withdraw-btn-group .btn {
  width: 100% !important;
  min-width: 80px !important;
  padding: 10px 5px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.deposit .modal-body .check p,
.withdraw .modal-body .check p {
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 10px;
  text-indent: -10px;
}

.deposit .modal-body .check h3,
.withdraw .modal-body .check h3 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #ffd700;
  font-weight: 600;
}

.deposit .modal-body .form,
.withdraw .modal-body .form {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 15px;
}

.deposit .modal-body .form input,
.withdraw .modal-body .form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2c2c60;
  color: #fff;
  padding: 10px;
}

.deposit .modal-footer .btn,
.withdraw .modal-footer .btn {
  min-width: 120px;
  padding: 10px 20px !important;
}

/* Form Controls */
.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid #2c2c60 !important;
  color: #fff !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #ffd700 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.form-floating label {
  color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
  border: none !important;
  color: #000 !important;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffaa00 0%, #ffd700 100%) !important;
  transform: translateY(-2px);
}

.btn-warning {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
  border: none !important;
  color: #000 !important;
}

.btn-outline-warning {
  border-color: #ffd700 !important;
  color: #ffd700 !important;
}

.btn-outline-warning:hover {
  background: #ffd700 !important;
  color: #000 !important;
}

/* Navigation */
.nav-link {
  color: #ddd !important;
}

.nav-link:hover,
.nav-link.active {
  color: #ffd700 !important;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
  color: #000 !important;
}

/* Tables */
table.dataTable {
  border-collapse: collapse !important;
}

table.dataTable thead th {
  background: rgba(255, 215, 0, 0.1) !important;
  color: #ffd700 !important;
  border-bottom: 1px solid #2c2c60 !important;
}

table.dataTable tbody tr {
  background: transparent !important;
}

table.dataTable tbody tr:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

table.dataTable tbody td {
  border-bottom: 1px solid #2c2c60 !important;
  color: #ddd !important;
}

/* ============================================
   Landing / Login Section (Type 2 Style)
   ============================================ */
#main-section {
  min-height: 100vh;
}

/* Hide type_1 style landing page */
.landing {
  display: none !important;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .banner-section {
    padding: 15px 0;
  }
  
  .main-container {
    padding: 20px 10px;
  }
  
  footer {
    padding: 20px 0;
    margin-top: 30px;
  }
}

/* ============================================
   Utilities
   ============================================ */
.text-gold {
  color: #ffd700 !important;
}

.bg-dark-custom {
  background: #151630 !important;
}

.border-gold {
  border-color: #ffd700 !important;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* ============================================
   Header Override for Type 3
   ============================================ */
#header {
  display: none !important;
}

/* ============================================
   Jackpot Counter
   ============================================ */
#jackpot {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 170, 0, 0.1) 100%);
  border: 1px solid #ffd700;
  border-radius: 10px;
  padding: 15px 30px;
  margin: 20px auto;
  max-width: 500px;
}

#jackpot #counter {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
  #jackpot #counter {
    font-size: 24px;
  }
}

/* ============================================
   Game Items - Type 3 Override
   ============================================ */
.item_list .row {
  display: flex;
  flex-wrap: wrap;
}

.item_list .col,
.item_list [class^="col-"] {
  position: relative;
  margin-bottom: 15px;
}

.item_list .image-container,
.item_list .provider-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #1e1f42 0%, #151630 100%);
  border: 1px solid #2c2c60;
  transition: all 0.3s;
}

.item_list .image-container:hover,
.item_list .provider-banner:hover {
  border-color: #ffd700;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
  transform: translateY(-5px);
}

.item_list .image-container img.main-image,
.item_list .provider-banner > img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.item_list .image-container:hover img.main-image,
.item_list .provider-banner:hover > img {
  transform: scale(1.05);
}

.item_list .image-container .logo-image {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 80px;
}

.item_list .image-container .logo-text {
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.item_list .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(15, 16, 37, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 10px;
}

.item_list .image-container:hover .overlay,
.item_list .provider-banner:hover .overlay,
.item_list .col:hover .overlay {
  opacity: 1;
}

.item_list .overlay .name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  padding: 0 10px;
}

.item_list .overlay .play {
  font-size: 40px;
  color: #ffd700;
  transition: transform 0.3s;
}

.item_list .overlay .play:hover {
  transform: scale(1.2);
}

.item_list .overlay .provider {
  font-size: 12px;
  color: #ffd700;
  margin-top: 10px;
}

/* Casino Logo Image Size */
.item_list .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.item_list .image-container .main-image {
  width: 100%;
  height: auto;
}

.item_list .image-container .logo-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70% !important;
  height: auto !important;
  max-width: 120px;
  z-index: 5;
}

.item_list .image-container .logo-text {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffd700;
  font-size: 14px;
  font-weight: 600;
  z-index: 5;
}

/* Enable clicks on overlay elements */
.item_list .overlay,
.item_list .overlay *,
.item_list .liveCasino,
.item_list .openSlotModal,
.item_list a {
  pointer-events: auto !important;
}

/* Fix for game list clicks */
.item_list .col {
  position: relative;
  cursor: pointer;
}

/* Ensure overlay is always on top and clickable */
.item_list .col:hover .overlay {
  opacity: 1 !important;
  z-index: 999 !important;
  pointer-events: auto !important;
}

.item_list .overlay .play {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  position: relative !important;
}

.item_list .liveCasino,
.item_list .openSlotModal,
.item_list .newGames,
.item_list .slotGames {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  display: block !important;
}

/* Slot Icon Styles */
.item_list .slot-icon {
  width: 100%;
  border-radius: 10px;
}

/* ============================================
   Notice & Bank Lists
   ============================================ */
#notice-list,
#bank-list,
#lottery-list {
  background: linear-gradient(180deg, #1e1f42 0%, #151630 100%);
  border: 1px solid #2c2c60;
  border-radius: 10px;
  overflow: hidden;
}

#notice-list .nav-pills,
#bank-list .nav-pills {
  background: rgba(255, 215, 0, 0.05);
}

#notice-list .nav-link,
#bank-list .nav-link {
  border-radius: 0 !important;
  font-size: 13px;
  padding: 10px 15px;
}

#notice-list,
#bank-list,
#lottery-list {
  min-height: 360px;
}

#notice-list .list-group,
#bank-list .list-group {
  max-height: 300px;
  min-height: 300px;
  overflow-y: auto;
}

#lottery-list .list-group.lottery {
  max-height: 300px;
  min-height: 300px;
  overflow-y: auto;
}

#notice-list .list-group-item,
#bank-list .list-group-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #ddd !important;
  padding: 10px 15px;
  font-size: 13px;
}

#notice-list .list-group-item:hover,
#bank-list .list-group-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ============================================
   문의하기 모달 (reqQuestionModal) - 카테고리 및 제목 스타일 개선
   ============================================ */
#reqQuestionModal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}

#reqQuestionModal .modal-header {
  padding: 20px 25px;
  border-bottom: 2px solid #ffd700;
  background: linear-gradient(180deg, #1a1836 0%, #0f0d1f 100%);
}

#reqQuestionModal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffd700;
}

#reqQuestionModal .modal-body {
  padding: 25px;
  background: linear-gradient(180deg, #1a1836 0%, #0f0d1f 100%);
}

/* Form Floating Labels - 카테고리 라벨 색상 개선 */
#reqQuestionModal .form-floating label,
#reqQuestionModal .form-floating label.text-black {
  color: #aabbcc !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 0.5rem 0.75rem !important;
  background: transparent !important;
}

#reqQuestionModal .form-floating > .form-control:focus ~ label,
#reqQuestionModal .form-floating > .form-select:focus ~ label,
#reqQuestionModal .form-floating > .form-control:not(:placeholder-shown) ~ label,
#reqQuestionModal .form-floating > .form-select:not([value=""]) ~ label {
  color: #ffd700 !important;
  opacity: 1 !important;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
}

/* Form Controls */
#reqQuestionModal .form-control,
#reqQuestionModal .form-select {
  background: #0f0d1f !important;
  border: 1px solid #3d3875 !important;
  border-radius: 8px !important;
  color: #fff !important;
  height: 48px !important;
  font-size: 14px !important;
  padding: 0.5rem 0.75rem !important;
}

#reqQuestionModal .form-control:focus,
#reqQuestionModal .form-select:focus {
  border-color: #ffd700 !important;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25) !important;
  background: #0f0d1f !important;
  color: #fff !important;
}

/* Placeholder 숨기기 - 라벨과 중첩 방지 */
#reqQuestionModal .form-control::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

/* Select Options - 텍스트 잘림 방지 */
#reqQuestionModal .form-select {
  padding-right: 2.5rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffd700' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#reqQuestionModal .form-select option {
  background: #0f0d1f !important;
  color: #fff !important;
  padding: 8px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

/* Textarea */
#reqQuestionModal textarea.form-control {
  min-height: 150px !important;
  resize: vertical !important;
}

/* Form Label */
#reqQuestionModal .form-label {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  #reqQuestionModal .modal-dialog {
    margin: 1rem !important;
    max-width: calc(100% - 2rem) !important;
  }
  
  #reqQuestionModal .modal-header {
    padding: 15px 20px !important;
  }
  
  #reqQuestionModal .modal-title {
    font-size: 18px !important;
  }
  
  #reqQuestionModal .modal-body {
    padding: 20px 15px !important;
  }
  
  /* Make col-3 wider on mobile for category select */
  #reqQuestionModal .col-3 {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }
  
  #reqQuestionModal .col-9 {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }
  
  /* Form Floating Labels - Better spacing on mobile */
  #reqQuestionModal .form-floating {
    margin-bottom: 15px !important;
  }
  
  #reqQuestionModal .form-floating label,
  #reqQuestionModal .form-floating label.text-black {
    font-size: 13px !important;
    padding: 0.4rem 0.6rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: ellipsis !important;
    color: #aabbcc !important;
  }
  
  /* Form Controls - Better visibility on mobile */
  #reqQuestionModal .form-control,
  #reqQuestionModal .form-select {
    height: 44px !important;
    font-size: 13px !important;
    padding: 0.4rem 0.6rem !important;
  }
  
  /* Select - Prevent text cutoff on mobile */
  #reqQuestionModal .form-select {
    padding-right: 2rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  #reqQuestionModal .form-select option {
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px !important;
  }
  
  /* Textarea */
  #reqQuestionModal textarea.form-control {
    min-height: 120px !important;
    font-size: 13px !important;
    padding: 10px !important;
  }
  
  /* Form Label */
  #reqQuestionModal .form-label {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }
  
  /* Buttons */
  #reqQuestionModal .btn {
    font-size: 14px !important;
    padding: 10px 20px !important;
    min-width: 80px !important;
  }
}

