* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: pretendard !important;
  font-size: 14px;
  background-color: #1d2027;
  scrollbar-width: thin;
  scrollbar-color: rgb(65, 65, 65) rgba(255, 255, 255, 0);
  /* 검은색 Thumb 와 흰색 Track */
  display: grid;
  grid-template-columns: auto 1fr;
  background-color: #181a20 !important;
  height: 100vh;
}

a {
    text-decoration: none;
	color: white;
	cursor: pointer;
}
a:hover {
	color:  rgb(152, 206, 255);
	cursor: pointer;
}

.alert  { font-size: 13px!important; }

.fs12px { font-size: 12px!important; }
.fs13px { font-size: 13px!important; }
.fs14px { font-size: 14px!important; }
.fs15px { font-size: 15px!important; }
.fs16px { font-size: 16px!important; }
.fs17px { font-size: 17px!important; }
.fs18px { font-size: 18px!important; }
.fs19px { font-size: 19px!important; }
.fs20px { font-size: 20px!important; }
.fs21px { font-size: 21px!important; }
.fs22px { font-size: 22px!important; }

.fw-500 { font-weight: 500!important; }
.fw-600 { font-weight: 600!important; }
.fw-700 { font-weight: 700!important; }

.hand { cursor: pointer; }
.form-control {
	font-size: 14px;
}

@media (max-width: 800px) {
  body {
    display: block;
    grid-template-columns: 1fr;
    background-color: #181a20;
  }

  #main_side_menu {
    display: none;
  }

  .container {
    max-width: 100%;
  }

  .responsive_btn_dnone {
    display: block !important;
  }
}

.main {
  background-color: #181a20;
}

.demo_main_item {
  overflow-x: hidden;
}

/*사이드바*/

.nav_left {
  overflow-y: auto;
  height: 100vh;
  width: 250px;
  padding: 10px;
  color: white;
  border-right: 1px;
  box-shadow: rgba(0, 0, 0, 0.45) 25px 0px 10px -20px;
  padding: 10px 0px 0px 10px;
}

.nav_liner_style {
  border: 0px;
  height: 2px;
  background: linear-gradient(
    to right,
    rgb(106, 106, 106),
    rgba(100, 100, 100, 0)
  );
  margin-top: 10px;
}

.nav_icon {
  margin-left: 3px !important;
}

.nav_menu_list a {
  text-decoration-line: none;
  color: white;
}

.nav_menu_header {
  font-size: 16px;
}

.nav_menu_p {
  font-size: 13px;
}

/*오프캔버스*/
.left_offcanvas_item .offcanvas {
  background-color: #1d2027;
  height: 100vh;
  padding: 10px;
  color: white;
  box-shadow: rgba(0, 0, 0, 0.45) 25px 0px 10px -20px;
  padding: 10px 0px 0px 10px;
  width: 250px !important;
}

.offcanvas_close_btn_style {
  width: 40px;
  height: 40px;
  background-color: #373737;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: fixed;
  top: 20px;
  left: 220px;
  border-radius: 10px;
}

/*메인헤드*/

.main_nav {
  font-size: 14px;
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
}

.login_user {
  display: block;
}

.join_btn {
  background-color: #ffc936;
  padding: 7px 10px;
  border-radius: 5px;
}

.hidden_menu {
  z-index: 999;
  display: none;
  background-color: #2b2f3b;
}

.main_header_item_box {
  display: flex;
  align-content: center;
  padding: 5px 10px;
  border-radius: 30px;
  background-color: #303030;
}
.main_header_item_box_logout {
  display: flex;
  align-content: center;
  padding: 5px 10px;
  border-radius: 30px;
  background-color: #d72f2f;
}

.main_header_item_box_login {
  display: flex;
  align-content: center;
  padding: 5px 10px;
  border-radius: 30px;
  background-color: #303030;
}

.main_header_item_box_join {
  display: flex;
  align-content: center;
  padding: 5px 10px;
  border-radius: 30px;
  background-color: #303030;
}

.main_header_item_box_message{
    position: relative;
}

.main_header_item_box_message_icon{
    position: absolute;
    width:8px;
    height:8px;
    background-color: red;
    border-radius: 50%;
    left:10px;
}

@media (max-width: 1000px) {
  .main_header_item_box_text {
    display: none !important;
  }
}

@media (max-width: 500px) {
  .main_header_withdrawal,
  .main_header_deposit {
    display: none !important;
  }
}

@media (max-width: 800px) {
  .hidden_menu {
    display: block;
    position: sticky;
    top: 0;
  }

  .swiper {
    margin-top: 30px;
  }
}

/*swiper*/

.Swiper_banner .swiper-slide {
  width: 100% !important;
}

.main_swiper_banner {
  width: 100% !important;
}

.swiper-slide img {
  width: 100%;
  border-radius: 10px;
}

.card_overlay_play {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

.swiper-slide:hover .card_overlay_play {
  opacity: 1;
}

.overlay_play_btn {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(33, 33, 110);
}

.play_btn_inner {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 30px;
  background-color: aliceblue;
  cursor: pointer;
  border-radius: 10px;
  position: relative;
}

@media (max-width: 500px) {
  .play_btn_inner {
    font-size: 10px;
    padding: 10px 20px;
  }
}

.play_btn_inner::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  left: 0;
  top: 0;
  border-radius: 10px;
}

.play_btn_inner::before {
  z-index: -2;
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  animation: play_btn_effect 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
  opacity: 1;
}

@keyframes play_btn_effect {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.play_btn_inner:hover {
  background: transparent;
  transition: 0.5s;
}

/*게임리스트*/

.banner_heading_text {
  font-size: 15px;
  color: white;
}

@media (max-width: 575px) {
  .banner_heading_text {
    font-size: 15px;
  }
}

.main_gamelist_all_view a {
  color: white;
  text-decoration: none;
}

/*함께하는*/

.Game_list_casino_with .swiper-slide img {
  background-color: #1d2027;
  border-radius: 10px;
  width: 100%;
  padding: 10px 20px;
}

/*푸터*/

.demo11_footer_item {
  border-radius: 10px;
  margin-top: 35px;
}

.footer_demo_squid_logo {
  font-family: orbitron;
  font-size: 30px;
  font-weight: bold;
  color: #d0d0d0;
}

.demo_footer_box {
  text-align: center;
  color: #d0d0d0;
  font-size: 12px;
}

.footer_img img {
  max-width: 150px;
  width: 100%;
}

@media (max-width: 600px) {
  .demo11_footer_item {
    padding: ;
  }

  .footer_demo_squid_logo {
    font-size: 20px;
  }
  .footer_img img {
    width: 80px;
  }
}

/*모달*/

.modal-content {
  background-color: #1d2027;
}

.join_modal_box .modal-content {
  max-height: 600px;
  height: 100%;
}
.join_modal_content {
  overflow: scroll;
  overflow-x: hidden;
}

.modal-header,
.modal-footer {
  color: white;
  border: none;
}

.login_header_text {
  margin-top: -15px;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.login_header_text_second {
  color: rgb(182, 182, 182);
  font-size: 13px;
  font-weight: 400;
}

.modal_header {
  width: 100%;
  color: white;
}

.form-control {
  color: white;
  background-color: #36373b;
  border: none;
  font-size: 14px; 
  /* padding: 10px 10px; */
}

.form-control:focus {
  color: white;
  background-color: #36373b;
}

.col-form-label {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.login_button,
.submit_button {
  color: white;
  width: 100%;
  border: none;
  border-radius: 3px;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  background-color: #df5110;
}

.join_code_check {
  color: white;
  width: 100%;
  border: none;
  border-radius: 3px;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  background-color: #165d2c;
}

.join_button {
  color: white;
  width: 100%;
  border: none;
  border-radius: 3px;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  background-color: #ffc936;
}

.forgot_password_button {
  color: white;
  width: 100%;
  border: none;
  border-radius: 3px;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  background-color: #e3792200;
}

.phone_number {
  margin-right: 5px;
  display: inline;
  width: 70%;
}

.phone_number_check {
  color: white;
  width: 27%;
  border: none;
  border-radius: 3px;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  background-color: #1a9cff;
}

.telegram_button {
  color: white;
  width: 100%;
  border: none;
  border-radius: 3px;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  background-color: #1f81e3;
}

.telegram_button a {
  text-decoration: none;
  color: white;
}

.btn-close-modal {
  color: white;
  position: absolute;
  right: 30px;
  top: -20px;
  padding: 15px 25px;
  border-radius: 10px;
  background-color: #36373b;
  border: none;
}

.btn-close-modal-signup {
  color: white;
  position: absolute;
  right: 30px;
  top: -20px;
  padding: 15px 25px;
  border-radius: 10px;
  background-color: #36373b;
  border: none;
  z-index: 9999;
}

.modal-content {
  background-color: #1d2027;
}

.join_modal_box .modal-content {
  max-height: 600px;
  height: 100%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-transition: background-color 9999s ease-out;
  -webkit-box-shadow: 0 0 0px 1000px #36373b inset !important;
  -webkit-text-fill-color: #fff !important;
}

/*전체공통*/

.ck-content h1 {
  color: #fff;
}

.ck-content p {
  color: #dadada;
}

.withdrawal_page_text label {
  color: black;
}

.deposit_page_text label {
  color: black;
}

.point_page_text label {
  color: black;
}

/*배팅내역*/

.betting_history_table table {
  font-size: 12px;
  width: 100%;
  color: rgb(199, 199, 199);
  background-color: #1d2027;
  border-collapse: collapse;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .betting_history_table th {
    display: none;
  }

  .betting_history_table th,
  .betting_history_table tr td {
    font-size: 15px;
  }

  .betting_history_table td {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr auto;
    padding: 0.5rem 1rem;
  }

  .betting_history_table tr td::before {
    content: attr(data-cell) " : ";
    font-weight: 700;
    text-transform: capitalize;
    text-align: left;
    font-size: 15px;
  }

  .betting_history_table tr td:first-child {
    padding-top: 2rem;
  }
  .betting_history_table tr td:last-child {
    padding-bottom: 1rem;
  }
}

.betting_history_table th {
  color: white;
  text-align: center;
}

.betting_history_table th,
.betting_history_table tr td {
  padding: 1rem;
}

.betting_history_table tr:nth-of-type(2n) {
  background: #24262b;
}

.betting_history_table tr td:nth-child(1) {
  color: white;
  font-weight: 600;
}

.betting_history_table tr td:nth-last-child(3) {
  color: #fa7e7e !important;
  font-weight: 600;
}

/*게임실행내역*/

.game_execution_history_table table {
  font-size: 12px;
  width: 100%;
  color: rgb(199, 199, 199);
  background-color: #1d2027;
  border-collapse: collapse;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .game_execution_history_table th {
    display: none;
  }

  .game_execution_history_table th,
  .game_execution_history_table td {
    font-size: 15px;
  }

  .game_execution_history_table td {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr auto;
    padding: 0.5rem 1rem;
  }

  .betting_history_table td:nth-of-type(2n) {
    background-color: rgba(255, 255, 255, 0.025);
  }

  .betting_history_table td:first-child {
    background-color: rgba(199, 197, 253, 0.151);
  }

  .game_execution_history_table td:nth-of-type(2n) {
    background-color: rgba(255, 255, 255, 0.025);
  }

  .game_execution_history_table td:first-child {
    background-color: rgba(199, 197, 253, 0.151);
  }

  .game_execution_history_table tr td::before {
    content: attr(data-cell) " : ";
    font-weight: 700;
    text-transform: capitalize;
    text-align: left;
    font-size: 15px;
  }

  .game_execution_history_table tr td:first-child {
    padding-top: 2rem;
  }
  .game_execution_history_table tr td:last-child {
    padding-bottom: 1rem;
  }
}

.game_execution_history_table th {
  color: white;
  text-align: center;
}

.game_execution_history_table th,
.game_execution_history_table tr td {
  padding: 1rem;
}

.game_execution_history_table tr:nth-of-type(2n) {
  background: #24262b;
}

.game_execution_history_table tr td:nth-child(1) {
  color: white;
  font-weight: 600;
}

.game_execution_history_table tr td:nth-last-child(3) {
  color: #fa7e7e !important;
  font-weight: 600;
}

.game_execution_history_table tr td:nth-last-child(5) {
  color: #fa7e7e !important;
  font-weight: 600;
}

/*라이브카지노페이지*/

.live_casino_list_items {
  position: relative;
}

.live_casino_list_items:hover .card_overlay_play {
  opacity: 1;
}

.live_casino_list_items img {
  width: 100%;
  border-radius: 10px;
}

.game_list_name_en_text_style {
  opacity: 0;
}

.live_casino_list_items:hover {
  .game_list_name_en_text_style {
    opacity: 1;
    transition: 0.3s;
  }
}

.game_list_name_en_text_style:hover {
  cursor: pointer;
}

@media (max-width: 600px) {
  .game_list_name_text_style {
    font-size: 12px;
  }
}

.modal-dialog {
  margin: auto;
}

/*실시간당첨테이블*/
.live_betting_history table {
  font-size: 12px;
  width: 100%;
  color: rgb(199, 199, 199);
  background-color: #1d2027;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden; /* 테이블이 넘칠 경우 처리 */
}

/* 모바일에서 카드 형식으로 변경 */
@media (max-width: 800px) {
  .live_betting_history {
    overflow-x: auto; /* 가로 스크롤 활성화 */
    -webkit-overflow-scrolling: touch; /* 부드러운 스크롤 (iOS) */
  }

  .live_betting_history table {
    width: auto; /* 콘텐츠 크기에 따라 테이블 너비 자동 설정 */
    min-width: 800px; /* 최소 테이블 너비 설정 */
  }

  .live_betting_history th,
  .live_betting_history td {
    white-space: nowrap; /* 내용이 줄바꿈되지 않도록 */
  }

  .big_win_odds_mark::after {
    content: "M" !important;
  }
  .mega_win_odds_mark::after {
    content: "S" !important;
  }

  .big_win_odds_mark {
    color: #ffcc00 !important;
  }
  .mega_win_odds_mark {
    color: #d4144b !important;
  }
}

.big_win_odds {
  font-weight: bold;
  color: #ffcc00;
}

.big_win_odds_mark {
  position: relative;
}

.big_win_odds_mark::after {
  position: absolute;
  font-family: orbitron;
  font-size: 11px;
  font-weight: 500;
  content: "MEGA WIN";
  padding: 3px 12px;
  margin-left: 10px;
  bottom: 13px;
  background-color: #ffcc00;
  color: #373737;
  border-radius: 5px;
}

.mega_win_odds {
  font-weight: bold;
  color: #ef2f65;
}

.mega_win_odds_mark {
  position: relative;
}

.mega_win_odds_mark::after {
  position: absolute;
  font-family: orbitron;
  font-size: 11px;
  font-weight: 500;
  content: "SENSATION";
  padding: 3px 12px;
  margin-left: 10px;
  bottom: 13px;
  background-color: #d4144b;
  color: white;
  border-radius: 5px;
}

.live_betting_history table {
  -moz-border-radius: 5px !important;
}

.live_betting_history th {
  color: white;
}

.live_betting_history th,
.live_betting_history td {
  padding: 1rem;
  text-align: left;
}

.live_betting_history tr:nth-child() {
  background: #22293e;
}

.live_betting_history thead tr {
  background: #2c344b;
}

.live_betting_history tr:nth-of-type(2n) {
  background: #22293e;
}

.live_betting_history td:nth-child(1) {
  color: white;
  font-weight: 600;
}

.live_betting_history td:nth-last-child(3) {
  font-weight: 600;
}

.live_casino_list img {
  width: 100%;
  border-radius: 10px;
}

/*미니게임 페이지*/

.mini_game_item_box_100300 {
  position: relative;
  border-radius: 10px;
}

.mini_game_item_box_100300 img {
  width: 100%;
  border-radius: 10px;
}

.mini_game_item_box_100300:hover .card_overlay_play {
  opacity: 1;
}
