:root {
  color-scheme: light;
}

.a_link {
  color : white;
}
.a_link_green {
  color: #00BE1A;
}
.up_btn_class {
  position:fixed;
  bottom:10px;
  right:10px;
  border-radius: 100%;
  background: #000;
}
.up_btn_class img {
  width: 40px;
  height: 40px;
}

.home_btn_class {
  position:fixed;
  bottom:60px;
  right:10px;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  text-align: center;
}
.home_btn_class img {
  width: 100%;
  max-height: 100%;
}

.lineImage {
  width: 100%;
  height: 2rem;
  margin: 0px 1rem;
  background: url("../assets/T_Line.png") no-repeat center;
}

.mainLogo {
  width: 1rem;
  height: 1rem;
}

/* 지갑연결 아이콘에 대한 것 */
#root .wallet-adapter-dropdown-list {
  padding: 0;
  grid-row-gap: 0;
  top:80%;
}
#root .wallet-adapter-button-trigger {
  background-color: transparent;
  border: 1px solid #fff;
}
#root .wallet-adapter-dropdown-list-item {
  padding: 0 40px;
}

#loading {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-image: url("../images/overlay.png");
  background-color: #fff;
  z-index: 9999991;
  text-align: center;
}

#loading_tr {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color : transparent;
  z-index: 9999991;
  text-align:center;
}

#loading .title {
  color:#0fd0f1;
  font-size:40px
}

#loading_tr .title {
  width: 100%;
  position: absolute;
  top : 85%;
  color:#0fd0f1;
  font-size:20px;
}
#loading_tr img{
  width : 150px;
  position: absolute;
  top:85%;
  left:50%;
  transform: translate(-50%, 0%);
}
/* header */
#header2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.8rem;
  /*border-bottom: 0.1rem solid #f2f2f2;*/
}

#header2 .gnb__btn {
  display: none;
}

/* 로고 스타일 나중에 수정되어야함 */
#header2 .header__logo {
  display: block;
  width: 5rem; /* SORA 20rem -> 10rem*/
  text-align: center; /* SORA 추가*/
}

#header2 .header__gnb {
  display: flex;
  gap: 2rem;
  z-index: 999999;
}

#header2 .header__gnb a {
  padding: 4px 0;
  display: block;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  color:white /* #252525;*/
}

#header2 .header__gnb a.over {
  color: #00BE1A
}
#header2 .header__gnb a.off {
  color:white
}
/* contents */
#contents .contents__inner2 {
  margin: 0 auto;
  /*width: 124rem;*/
}

#contents .contents__title2 {
  font-size: 5rem;
  text-align: center;
  padding: 2rem 0;
  font-family: ITCEDSCR;
}

#contents button,
select {
  font-family: BagdollDisplay;
}

.content_root_wrapper {
  position: relative;
}

.content_wrapper {
  padding: 0 2rem;
}

.d-flex {
  display: flex;
  gap: 2rem;
}

.d-flex.is-col-2 > * {
  flex-basis: 50%;
}

.flex-direction-column {
  flex-direction: column;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.text-right {
  text-align: right;
}
.contents__box {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

/* incelud_gamepage 용*/
.contents__box_v2 .contents__boxItem .contents__boxItemTit {
  padding: 2rem 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  /*border-bottom: 0.1rem solid #322244; */
  /*background-color: #322244;*/
}

/* gamestate/mystat용 */
/* .contents__box_v2 .contents__boxItem_v2  * {
  font-weight: 400;
} */

.contents__box_v2 .contents__boxItem_v2 {
  border: 0.1rem solid #f2f2f2;
  border-radius: 2rem;
  flex-shrink: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.contents__box_v2 .contents__boxItem_v2 .contents__boxItemTit_v2 {
  padding: 2rem 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 0.1rem solid #f2f2f2;
}

.contents__slider_v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0 1rem;
}

.contents__slider_v2 .text {
  font-size: 2rem;
}

.contents__slider_v2 .swiper {
  margin: 0;
  width: 100%;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  color: white /*#0f0072;*/
}

.contents__slider_v2 .swiper .swiper-wrapper {
  align-items: center;
}

.contents__game2 {
  margin-top: 0.5rem; /* SORA 6rem -> 2rem*/
}

.btnWrap {
  display: flex;
  justify-content: center;
  margin: 6rem 0;
}

.connectWallet__btn {
  padding: 1.5rem 2.5rem;
  border-radius: 0.8rem;
  font-size: 2.5rem;
  text-decoration: none;
  background-color: #0f0072;
  color: #fff;
  box-shadow: 0.2rem 0.2rem 0.5rem #666;
}

.contents__gameBox_v2 {
  margin: 2rem 0;
}

.contents__gameBox_v2 .recentPlayTitle {
  overflow: hidden;
  font-size: 1.6rem;
  text-align: center;
  padding: 1rem;
  background-color: white;
  color: black;
}

.contents__gameBox_v2 .recentPlayTitle .refreshBtn {
  float: right;
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #32CD32;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.contents__gameBox_v2 .recentPlayTitle .refreshBtn.rotating i {
  animation: rotate360 1s ease-in-out;
}

/* mystat.php의 refreshBtn 스타일 */
#refreshBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

#refreshBtn.rotating i {
  animation: rotate360 1s ease-in-out;
}

@keyframes rotate360 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contents__gameBox_v2 .contents__textBox {
  /*margin-top:10px;*/
  padding: 2rem;
  opacity: 0.5;
  font-size: 1.3rem; /*2.5rem;*/
  font-weight: 500;
  text-align: center;
}

.recentPlays_v2 {
  margin-top: 0rem;
}

.recentPlays_v2 h3 {
  font-size: 2.4rem;
  text-align: center;
}

.recentTable_v2 {
  margin-top: 2rem;
  width: 100%;
  border: 0.1rem solid #f1f1f1;
}

.recentTable_v2 td {
  padding: 1rem 0.5rem;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.3;
  word-break: break-word;
  border-bottom: 0.1rem solid #f1f1f1;
}

.recentTable_v2 td:first-child {
  padding-left: 2rem;
}

.recentTable_v2 td:last-child {
  padding-right: 2rem;
}

.recentTable__thumb {
  width: 6rem;
}
.recentTable__rate {
  width: 1rem;
}
.recentTable__name,
.recentTable__time_v2 {
  width: 15%;
}
.recentTable__text {
  width: auto;
}

.recentTable__thumb_col {
  width: 10%;
}
.recentTable__card_col {
  width: 10%;
}
.recentTable__name_col {
  width: 10%;
}
.recentTable__rate_col {
  width: 10%;
}
.recentTable__text_col {
  width: 40%;
}
.recentTable__time_col {
  width: 30%;
}

.recentTable__thumb .thumb_v2 { /* 예전거*/
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  background: url("./images/coin.png") no-repeat center 4rem 4rem;
}

.recentTable__thumb img {
  /*position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);*/
  border-radius: 100%;
  width: 30px;
  height: 30px; /*height: 4rem;*/
  object-fit: contain;
}

.recentTable__card img {
  width: 35px;
  height: 40px;
  object-fit: contain;
}

.recentTable__thumb p {
  width: 20px;
  height: 30px;
  margin-left: 4px;
  border: 1px solid white;
}

.recentTable__text .point {
  color: #65ba77;
}

td.recentTable__time_v2 {
  font-size: 1.4rem;
  text-align: right;
  color: #b7b5b5;
}

.rankTable__rank_col {
  width: 9%;
}
.rankTable__name_col {
  width: 15%;
}
.rankTable__cnt_col {
  width: 11%;
}
.rankTable__volume_col {
  width: 16%;
}
.rankTable__win_col {
  width: 16%;
}
.rankTable__pnl_col {
  width: 16%;
}
.rankTable__pnl_usd_col {
  width: 17%;
}

.dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.dashboard__item {
  padding: 1rem 0;
  width: 33.33%;
  text-align: center;
}

.dashboard__item_stat {
  padding: 1rem 0;
  width: 33.33%;
  text-align: center;
}

.dashboard__item_stat:nth-child(even) {
  background-color: transparent;
}
.dashboard__item_stat:nth-child(odd) {
  background-color: #4e4e4e;
}
.dashboard__item_v2 {
  display: block;
}
.dashboard__item_v2 > div {display: block; width: 100%;}
.dashboard__item_v2 .dashboard__tit {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.chart {
  display: flex;
  justify-content: space-between;
}

.lineChart {
  width: 100%;
}

.lineChart_v2 {
  width: 100%;
  padding: 0 1rem;
}

.table_v2 {
  width: 100%;
}

.table_v2 td {
  padding: 1rem 0.5rem;
  font-size: 1.4rem;
  text-align: center;
  word-break: break-word;
  border: 0.1rem solid #f2f2f2;
}
.table_v2 thead tr {
  position: sticky;
  border-bottom: 0.1rem solid #f2f2f2;
  top:0px;
  background:black
}
.table_v2 thead th {
  padding: 1rem 0.5rem;
  font-size: 1.4rem;
  text-align: center;
  word-break: break-word;
  border-left: 0.1rem solid #f2f2f2;
  border-right: 0.1rem solid #f2f2f2;
  border-bottom: 0.1rem solid #f2f2f2;
  background-color: transparent;   /*background-color: #fef0c9;*/
}

.table_v2 .inc {
  color: #32CD32;
}
.table_v2 .dec {
  color : #FF8C00;
}

.zero_text {
  color: white;
}

.inc_text {
  color: #32CD32;
}

.dec_text {
  color : #FF8C00;
}

.green_text {
  color: #32CD32;
}

.table__scroll {
  max-height: 68.6rem;
  overflow: auto;
}

.table__scroll table tr:first-child td {
  border-top: none;
}

#footer_v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 1.5rem;
  padding: 5rem;
}

.footer__linkList {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 4rem;
  margin-bottom: 3rem;
}

.footer__linkList li {
  position: relative;
}

.footer__linkList li::after {
  content: "";
  position: absolute;
  width: 0.1rem;
  height: 1.3rem;
  background-color: #b7b5b5;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
}

.footer__linkList li:last-child::after {
  display: none;
}

.footer__linkList a,
.footer__linkList button {
  text-decoration: none;
  font-size: 1.6rem;
  color: #888888;
  font-family: inherit;
}

.footer__text {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.4;
  color: #b7b5b5;
}

.powerBy {
  color: #b7b5b5;
  font-size: 1.5rem;
  text-align: center;
  line-height: 60px;
}

.powerByImg {
  height: 50px;
}
/* BY SORA */
.SingleContCenter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.walletRoot {
  left:50%;
  position: absolute;
  transform: translate(-50%, 0%);
}

.testBtn {
  font-size: 0.8rem;
  border: 2;
  padding: 1rem;
  background-color: deepskyblue;
}

#contents .contents__inner2 {
  width: 640px; /* 2023.10.03 : 1280px . 1st 640px*/
  padding: 0 0; /*2.5rem;*/
}

.contents__box {
  flex-direction: column;
}

.chart {
  justify-content: center;
  gap: 3rem;
}

.toast {
  height: 60px;
  line-height: 60px;
  font-size: 24px;
}

.walletText {
  color: white;
  font-size: 25px;
  width:90px;
  height: 50px;
  line-height: 50px;
  margin-right: 10px;
}

.previousText {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  color: white;
}

.modeBtn {
  font-size: 24px;
  height: 64px;
}

.popupBtn {
  width:200px;
  height: 80px;
  font-size: 30px;
  cursor: pointer;
  background-color: white;
}
.popupBtn.cancel {
  left: 50px;
  background-color: #a0a0a0;
}
.popupBtn.confirm {
  right: 50px;
}
.previousCard {
  position: static;
  width: 95px; /*100px*/
}
.previousCardLayer {
  height : 350px;
}

/*--- 2023.09.16 -----------------------------------------*/
.dispNone {
  display: none; /* BY SORA */
}

#debug_text {
  position:absolute;
  float:left;
  margin-left:50px;
  color:#e1b53d;
}

.gameArea_v2 {
  border: 0px solid red;
  /*background-color: darkgray;*/
  /*height: 500px;*/
  /*overflow: auto;*/
  /*-webkit-overflow-scrolling: touch;*/
  position: relative; /* SORA */
}

.chooseTextDiv {
  display:inline-flex;
  justify-content: right;
  width:100%;
  height:50px;
  padding: 0rem 2.5rem;
  margin-bottom:10px;
}
.chooseText {
  font-size: 25px;
  line-height:50px;
  margin-right: 10px;
  left: 60px;
  top: 330px;
}

#gameOptionDiv {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}
#gameOptionDiv div {
  display: inline-flex;
}

#tokenOption {
  font-family: BagdollDisplay;
}
.selectBox {
  width: 100%;
  height: 50px;
  left: 250px;
  top: 345px;
  font-size: 20px;
  background: transparent; /* black;*. /*#37245c;*/
  color: white; /*#8258cf;*/
  border-radius: 6px;
  padding: 5px 14px;
  border-color: gray; /*#8258cf;*/
  border: 3px solid;
  text-align: center;
  z-index: 1;
}

.selectBox option {
  background:black; /*#37245c;*/
  color: white; /*#8258cf;*/
}
.selectBoxSign {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: right;
    line-height: 50px;
    font-size: 25px;
    padding-right: 10px;
    z-index: -1;
    font-size: 1.6rem;
}
.coinArea {
  left: 150px; /* SORA 560 -> 150*/
  width: 250px;
  height: 50px;
  top: 346px; /* SORA 345px -> 346px*/
  display: flex;
  align-items: center;
}

.coinValue {
  color: #dfbb43;
  font-size: 25px;
  height: 50px;
  line-height: 50px;
}

.coinTicker {
  color: #888;
  margin-left:5px;
  padding-top: 4px;
  font-size: 16px;
  line-height: 50px;
}

.mode-buttons-container {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}

.mode-buttons-container .modeBtn {
  flex: 1 1 50%;
  cursor: pointer;
  background-color: white;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-width: 0;
}

.modeBtn {
  flex: 1;
  cursor: pointer;
  background-color: white;
}

.modeBtn.active {
  border: 5px solid #00BE1A;
}

.bet-buttons-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  width: 100%;
}

.bet-buttons-container .betBtn {
  height: 80px;
  font-size: 30px;
  font-weight: 400;
  background-color: #7f7f7f;
  color: white;
  cursor: pointer;
  border: 5px solid;
  border-color: #7f7f7f;
  /*border-radius: 0px;*/
}

.betBtn {
  height: 80px;
  font-size: 30px;
  font-weight: 400;
  background-color: #7f7f7f;
  color: white;
  cursor: pointer;
  border: 5px solid;
  border-color: #7f7f7f;
  /*border-radius: 0px;*/
}

.betBtn.change {
  background-color: #FF8C00;;
  border-color: #FF8C00;;
}

.betBtn.active {
  color: white;
  border-color: white;
  font-weight: 900;
}

.tabBtn {
  width: 94%;
  height: 84px;
  margin: 15px 3%;
  font-size: 24px;
  background-color: white;
  cursor: pointer;
}

.tabBtn span{
  font-size: 18px;
}

.tabBtn.double {
  top: 0px;
}

.tabBtn.active {
  border: 5px solid #00BE1A;
}

.betNotice1 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
}

.betNotice2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 100;
}

#currTabBtn {
  color:#00BE1A;
}

.doubleBtn {
  font-size: 30px;
  width: 94%;
  margin: 5px 3%;
  cursor: pointer;
  color: white;
  border: none;
}

.doubleBtn.red {
  background-color: #C82026;
  height:  100px;
  border: 1px solid white;
  /*background: url("../assets/T_Button_Red.png") no-repeat;
  background-position: center;*/
}

.doubleBtn.green {
  background-color: #00BE1A;
  height:  100px;
  border: 1px solid white;
}

.doubleBtn.black {
  background-color: black;
  height:  100px;
  border: 1px solid white;
  /*background: url("../assets/T_Button_Black.png") no-repeat;
  background-position: center; /*SORA 추가*/
}

.quadrupleBtn {
  width: 94%;
  height: 100px;
  margin: 5px 3%;
  cursor: pointer;
  border: none;
  visibility: hidden;
  display: none;
}

.quadrupleBtn.spade {
  background: url("../assets/T_Button_Spade.png") no-repeat;
  background-position: center;
  background-size: contain;
}

.quadrupleBtn.heart {
  background: url("../assets/T_Button_Heart.png") no-repeat;
  background-position: center;
  background-size: contain;
}

.quadrupleBtn.diamond {
  background: url("../assets/T_Button_Diamond.png") no-repeat;
  background-position: center;
  background-size: contain;
}

.quadrupleBtn.clover {
  background: url("../assets/T_Button_Clover.png") no-repeat;
  background-position: center;
  background-size: contain;
}

.dashboard__item .dashboard__tit .cardListDiv {
  display: inline-flex;
  float: left;
}

#cardList {
  display: block;
  margin: 3% 3%;
}

.centerPosition {
  /* SORA */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cards {
  width: 94%;
  height: 94%;
}

.cards.moveCard {
  transition: width 1s, height 1s, top 1s, left 1s;
}

.mainCardContainer {
  width: 124px;
  height: 181px;
  background-color: transparent;
  left: 180px; /* SORA 200px -> 180px*/
  top: 40px; /* SORA 50 px -> 40px; */
  perspective: 1000px;
  visibility: hidden;
}

.mainCard {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.175);
  transform-style: preserve-3d;
  transform-origin: center center;
  perspective: 1000px;
}

.flip {
  transform: rotateY(180deg);
}

.frontCard,
.backCard {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.backCard {
  transform: rotateY(180deg);
  top: 20px; /* SORA 추가함*/
}

.toast {
  position: absolute;
  top: 50%;
  width: 94%;
  background-color: black; /*#b7b5b5;*/
  border: 1px solid white;
  color:white;
  border-radius: 10px;
  text-align: center;
  visibility: hidden;
  margin: 5px 3%;
  /*left: 50%; /* SORA 15px -> 50% */
  /*top: 50%; /* BY SORA 변경 : 1220 -> 1200 -> 0px */
  /*transform: translate(-50%, -50%); /* SORA*/
}

.toast p {
  width: 100%;
  font-size: 30px; /* SORA 25 -> 30 */
  height: 100%;
  top: -10px;
}

.popup_wrapper {
  position:absolute;
  width: 100%;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

.confrimPopup {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  visibility: hidden;
  position: absolute;
  z-index: 9999;
  /*border: 2px solid blue; */
}

.confirmPopupText_v2 {
  width: 100%;
  font-size: 50px;
  text-align: center;
}

.confirmPopupText_v2 p {
  width: 100%;
  color: white;
  font-weight: 400;
}

.confirmPopupText_v2 span {
  color: #e1b53d;
  position: static;
}

.confirmPopupText_v2 span#tokenText {
  color: chocolate; /* : #e1b53d;*/
  position: static;
  font-size: 3rem;
}

.confrimPopupBtn_wrapper {
  display: inline-flex;
  gap: 2rem;
  justify-content: space-between;
}

.confirmImgWrapper {
  display: flex;
  margin: 3rem 0;
  justify-content: center;
}

.confirmDoubleBtn {
  background-color: #C82026;
  border: 1px solid #C82026;
  width: 100px;
  height:  60px;
  line-height:  60px;
  font-size: 2.5rem;
  background-color: black;
  height:  58px;
  border: 1px solid white;
}

.confirmPopupText_v2 p {
  font-size: 50px;
}

#confirmText_1 {
  margin-bottom: 1rem;
}

#confirmText_2 {
  margin-bottom: 3.5rem;
}
#confirmText_3 {
  margin-bottom: 1rem;
}
.confirmImg {
  margin-bottom: 1rem;
}

.feedbackImgBagic1 {
  /*content: url("../assets/gif/T_1_Win.png");*/
  margin-top: 0px;
}
.feedbackImgFireworks3 {
  /*  content: url("../assets/gif/T_3_Win.gif"); class로 정의해서 하면 아이폰에서 안됨 */
  margin-top: 0px;
}
.feedbackImgWin5 {
  /*content: url("../assets/gif/T_5_Win.gif"); */
  margin-top: 255px;
}
.feedbackImgCongrt5 {
  /*content: url("../assets/gif/T_5_Congrats.gif");*/
  margin-top: 0px;
}
.feedbackCoin5 {
  /*content: url("../assets/gif/T_5_Coin.gif");*/
  margin-top: 0px;
}
.overlapStyle {
  position: absolute;
  left: -100%;
  float: left;
  transform: translate(100%, 0);
}
.winBasicResult, .win3Result, .win5Result {
  position:absolute;
}

.resultGif {
  position: absolute;
  /* width: 100%; */
  height: 35%;
  margin-top: 5rem;
  display: inline-flex;
  justify-content: center;
  visibility: hidden;
}
.resultGif img {
  width: 100%;
}

.winBasicResult {
  margin-top: 0px;
}
.winBasicResult4OneBlock {
  margin-top: 250px;
}
.win3Result4OneBlock {
  margin-top: 200px;
}

.resultPopup {
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  justify-content: space-around;
  z-index: 9999992;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  visibility: hidden;
}

.resultImageWrapper {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  text-align: center;
}

.resultPopupText_wrapper {
  width: 100%;
  font-size: 50px;
  text-align: center;
  position: absolute;
  top: 600px;
}

.resultPopupText_wrapper_multi {
  top:600px;
}

.resultPopupText_wrapper_gif {
  top:600px;
}

.resultPopupText_wrapper_lost5 {
  top:500px;
}

.resultPopupText_wrapper_lost3 {
  top:450px;
}

.resultPopupText_wrapper_lost {
  top:500px;
}

.resultPopupText_wrapper p {
  width: 100%;
  color: white;
  font-weight: 400;
}

.resultPopupBtn_wrapper {
  display: flex;
  margin: 3rem 0;
  justify-content: center;
  position: absolute;
  top: 800px;
  z-index: 9991;
}

.resultPopupBtn_wrapper4OneBlock {
  top:750px;
}

.resultPopupBtn_wrapper4OneBlock_lost {
  top:650px;
}
.resultPopupBtn_wrapper4OneBlock_lost3 {
  top:700px;
}

#resultText_1 {
  margin-bottom: 1.5rem; /*4rem;*/
}
.resultText_1_single {  /* 단승인 경우 */
  font-size: 60px;
}
.resultText_1_sub_single {
  font-size: 25px;
}
.resultText_1_multi { /* 연승인 경우 */
  font-size: 40px;
}
#resultText_1_sub {
  margin-bottom: 3.5rem;
}
#resultText_2 {
  font-size: 35px;
  height: 60px;
  line-height: 60px;
  margin-bottom: 2rem;
}

#resultText_2 .resultSign {
  font-size: 45px;
  height: 60px;
  line-height: 60px;
  font-weight: 900;
  color:#e1b53d;
}

#resultText_2 .resultValue{
  font-size: 35px;
  height: 60px;
  line-height: 60px;
  color:#e1b53d
}

#resultText_2 .resultCoin {
  font-size: 25px;
  height: 60px;
  line-height: 60px;
  color:chocolate;
}

.resultBtn {
  cursor: pointer;
  background-color: white;
  width: 250px;
  height: 70px;
  font-size: 30px;
}

/* FAQ Popup Styles */
.faqPopup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  visibility: hidden;
  z-index: 9999993;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faqPopup.show {
  visibility: visible;
  opacity: 1;
}

.faqPopup__wrapper {
  background-color: #1a1a1a;
  border-radius: 1rem;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.faqPopup.show .faqPopup__wrapper {
  transform: scale(1);
}

.faqPopup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid #333;
  background-color: #2a2a2a;
}

.faqPopup__title {
  color: white;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
}

.faqPopup__close {
  background: none;
  border: none;
  color: #888;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faqPopup__close:hover {
  color: white;
  background-color: #444;
}

.faqPopup__content {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}

.faq__section {
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: 0.8rem;
}

.faq__section:last-child {
  margin-bottom: 0;
}

.faq__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #444;
  font-family: 'Noto Sans KR', sans-serif !important;
}

.faq__content {
  color: #ccc;
  font-size: 1.4rem;
  line-height: 1.6;
  
}

.faq__content p {
  margin: 0.8rem 0;
  font-family: 'Noto Sans KR', sans-serif;
}

.faq__content a {
  font-family: 'Noto Sans KR', sans-serif;
}

.faq__content p:first-child {
  margin-top: 0;
}

.faq__content p:last-child {
  margin-bottom: 0;
}


/*ORG @media screen and (max-width: 600px) {  */
/* 모바일 세로 (해상도 ~ 479px */
@media screen and (max-width: 479px) {
  .feedbackImgBagic1 {
    width: 200px;
  }
  .feedbackImgWin5 {
    width: 200px;
    margin-top: 250px;
  }

  .winBasicResult {
    margin-top: 50px;
  }

  .winBasicResult4OneBlock {
    margin-top: 150px;
  }
  .win3Result4OneBlock {
    margin-top: 100px;
  }

  .resultGif {
    position: absolute;
    width: 100%;
    height: 40%;
    margin-top: 5rem;
    display: block;
    visibility: hidden;
  }

  .resultPopupText_wrapper {
    top:400px;
  }

  .resultPopupText_wrapper_multi { /* 연승인 경우 */
    top:460px;
  }

  .resultPopupText_wrapper_gif {
    top:360px;
  }

  .resultPopupText_wrapper_lost5 {
    top:300px;
  }

  .resultPopupText_wrapper_lost3 {
    top:450px;
  }

  .resultPopupText_wrapper_lost {
    top:250px;
  }

  .resultPopupBtn_wrapper {
    top:500px;
  }

  .resultPopupBtn_wrapper4OneBlock {
    top:480px;
  }

  .resultPopupBtn_wrapper4OneBlock_lost {
    top:460px;
  }
  .resultPopupBtn_wrapper4OneBlock_lost3 {
    top:460px;
  }
  #resultText_1 {
    margin-bottom: 0.5rem; /*2rem;*/
  }
  #resultText_1_sub {
    margin-bottom: 1.5rem;
  }
  .resultText_1_single {   /* 단승인 경우 */
    font-size: 50px;
  }
  .resultText_1_sub_single {
    font-size: 25px;
  }
  .resultText_1_multi { /* 연승인 경우 */
    font-size: 30px;
  }

  #resultText_2 {
    font-size: 30px;
  }

  .resultBtn {
    width: 150px;
    height: 44px;
    font-size: 20px;
  }
}

.modeBtn.mute {
  width: 25%;
  float: right;
  margin: 20px 1.5%;
}

.cardAnim {
  position:relative;
  border: 0px solid red;
}

.cardAnim_content {
  position:absolute;
  top: 50%;
  transform: translate(0%, -50%);
}

/*ORG : @media screen and (max-width: 1240px) { */
/* 노트북 & 테이블 가로 (해상도 1024 px ~ 1279px)*/
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  #contents .contents__inner2 {
    padding: 0; /*2.5rem;*/
  }
  .recentTable_v2 td:first-child {
    padding-left: 2rem;
  }
  .recentTable_v2 td:last-child {
    padding-right: 2rem;
  }
} /*@media screen and (min-width: 1024px) and (max-width: 1279px) END */

/* 테블릿가로 (해상도 768px ~ 1023px) 추가 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #contents .contents__inner2 {
    width : 90vw; /*640px;*/
    padding: 0; /*2.5rem;*/
  }

  .previousCard {
    width:100px;
  }
  .recentTable td:first-child {
    padding-left: 2rem;
  }
  .recentTable td:last-child {
    padding-right: 2rem;
  }

} /* @media screen and (min-width: 768px) and (max-width: 1024px) END*/

/* 모바일  테블릿 세로 (해상도 ~ 767px)*/
/* ORG @media screen and (max-width: 768px) { */
/* 모바일가로 & 테이블세로 (해상도 480px ~ 767px) 변경 */
@media screen and (min-width: 480px) and (max-width: 767px) {
  #contents .contents__inner2 {
    width: 100%;
    max-width: 600px;
    padding: 0; /*2.5rem;*/
  }
  #header2 {
    padding: 2rem 1rem;
  }
  #header2 .header__gnb a {
    color: #252525;
  }
  #header2 .header__gnb a.off {
    color:#252525
  }
  .recentTable_v2 td:first-child {
    padding-left: 1rem;
  }
  .recentTable_v2 td:last-child {
    padding-right: 1rem;
  }
  .up_btn_class img {
    width: 30px;
    height: 30px;
  }
  .home_btn_class {
    width: 30px;
    height: 30px;
  }

  #header2 .gnb .gnb__btn {
    display: block;
    width: 5rem;
    height: 5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    z-index: 100;
    cursor: pointer;
    transition: all ease 0.5s;
  }

  #header2 .gnb.on .gnb__btn {
    position: relative;
    z-index: 100;
    color: #000;
    transition: all ease 0.5s;
  }

  /* 기본 상태: 햄버거 메뉴 아이콘만 표시 */
  #header2 .gnb .gnb__btn .fas.fa-bars {
    display: inline-block;
  }

  #header2 .gnb .gnb__btn .fas {
    font-size: 3.2rem;
  }

  #header2 .gnb .gnb__btn .fas.fa-times {
    display: none;
  }

  /* 메뉴 열림 상태: X 아이콘만 표시 */
  #header2 .gnb.on .gnb__btn .fas.fa-bars {
    display: none;
  }

  #header2 .gnb.on .gnb__btn .fas.fa-times {
    display: inline-block;
  }

  #header2 .gnb .header__gnb {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70vw;
    height: 100vh;
    padding: 3.5rem 3rem;
    z-index: 99;
    border-radius: 12px 0 0 12px;
    background-color: #fff;
    transition: right ease 0.5s;
  }

  #header2 .gnb.on .header__gnb {
    right: 0;
    transition: right ease 0.5s;
  }
  .walletRoot {
    left:0;
    position: relative;
    transform: translate(0%, 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
  }

  .recentTable__thumb_col {
    width: 10%;
  }
  .recentTable__card_col {
    width: 10%;
  }
  .recentTable__name_col {
    width: 20%;
  }
  .recentTable__rate_col {
    width: 10%;
  }
  .recentTable__text_col {
    width: 35%;
  }
  .recentTable__time_col {
    width: 25%;
  }

  .recentTable__name,
  .recentTable__time_v2 {
    width: 23%;
  }
  .recentTable__thumb img {
    width: 22px;
    height: 24px;
  }
  .recentTable__card img {
    width: 25px;
    height: 30px;
  }
  .recentTable__thumb p {
    width: 22px;
    height: 24px;
  }

  .recentTable_v2 td:first-child {
    padding-left: 1rem;
  }

  .recentTable_v2 td:last-child {
    padding-right: 1rem;
  }
  .chart {
    flex-direction: column;
    align-items: center;
  }
  /* .selectBox {
    width: 140px;
  } */
  /* .selectBoxSign {

  } */
  .previousCard {
    width:30%;
  }

  .confirmPopupText_v2 span#tokenText {
    font-size: 2.5rem;
  }

} /* @media screen and (min-width: 480px) and (max-width: 767px) END */

/*ORG @media screen and (max-width: 600px) {  */
/* 모바일 세로 (해상도 ~ 479px */
@media screen and (max-width: 479px) {
  #contents .contents__inner2 {
    width: 100%;
    padding: 0; /*2.5rem;*/
  }
  .up_btn_class img {
    width: 30px;
    height: 30px;
  }
  .home_btn_class {
    width: 30px;
    height: 30px;
  }
  .selectBox {
    /* width: 100px; */
    height: 40px;
    font-size: 16px;
  }
  .selectBoxSign {
    /* width: 100px;
    font-size: 18px; */
    line-height: 40px;
    font-size: 1.2rem;
  }
  #header2 {
    padding: 2rem 1rem;
  }

  #header2 .header__gnb a {
    color: #252525;
  }
  #header2 .header__gnb a.off {
    color:#252525
  }

  #header2 .gnb .gnb__btn .fas {
    font-size: 3.2rem;
  }

  #header2 .gnb .gnb__btn {
    display: block;
    width: 5rem;
    height: 5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all ease 0.5s;
  }

  #header2 .gnb.on .gnb__btn {
    transition: all ease 0.5s;
    z-index: 100;
    color: #000;
    position: relative;
  }

  #header2 .gnb.on .gnb__btn .fas.fa-bars {
    display: none;
  }

  #header2 .gnb.on .gnb__btn .fas.fa-times {
    display: inline-block;
  }

  #header2 .gnb .gnb__btn .fas.fa-times {
    display: none;
  }

  #header2 .gnb.on .gnb__btn .fas.fa-bars {
    display: none;
  }

  #header2 .gnb.on .gnb__btn .fas.fa-times {
    display: inline-block;
  }

  #header2 .gnb .gnb__btn .fas.fa-times {
    display: none;
  }

  #header2 .gnb .header__gnb {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 70vw;
    height: 100vh;
    border-radius: 12px 0 0 12px;
    z-index: 99;
    padding: 3.5rem 3rem;
    background-color: #fff;
    transition: right ease 0.5s;
  }

  #header2 .gnb.on .header__gnb {
    right: 0;
    transition: right ease 0.5s;
  }

  .walletRoot {
    left:0;
    position: relative;
    transform: translate(0%, 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
  }

  td.recentTable__time_v2 {
    font-size: 1.3rem;
  }

  .recentTable__name,
  .recentTable__text,
  .recentTable__time_v2 {
    width: auto;
  }
  .recentTable__thumb_col {
    width: 10%;
  }
  .recentTable__card_col {
    width: 10%;
  }
  .recentTable__name_col {
    width: 23%;
  }
  .recentTable__rate_col {
    width: 10%;
  }
  .recentTable__text_col {
    width: 30%;
  }
  .recentTable__time_col {
    width: 17%;
  }
  .recentTable_v2 td {
    font-size: 1.2rem;
  }

  .recentTable_v2 td:first-child {
    padding-left: 0.5rem;
  }

  .recentTable_v2 td:last-child {
    padding-right: 0.5rem;
  }

  .recentTable__thumb img {
    width: 22px;
    height: 24px;
  }
  .recentTable__card img {
    width: 25px;
    height: 30px;
  }
  .recentTable__thumb p {
    width: 22px;
    height: 24px;
  }
  .recentTable__card_col img {
    width: 22px;
    height: 24px;
  }

  .rankTable__rank_col {
    width: 9%;
  }
  .rankTable__name_col {
    width: 25%;
  }
  .rankTable__cnt_col {
    width: 11%;
  }
  .rankTable__volume_col {
    width: 14%;
  }
  .rankTable__win_col {
    width: 12%;
  }
  .rankTable__pnl_col {
    width: 14%;
  }
  .rankTable__pnl_usd_col {
    width: 15%;
  }

  .chart {
    flex-direction: column;
    align-items: center;
  }

  #contents .contents__title2 {
    font-size: 55px;
  }
  .contents__gameBox_v2 .contents__textBox {
    font-size: 1.8rem;
  }

  .contents__slider_v2 {
    justify-content: space-between;
  }

  .contents__slider_v2 .swiper {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .toast {
    height: 44px;
    line-height: 44px;
    font-size: 16px;
  }

  .chooseText {
    width: 60%;
    margin-right: 0px;
    /*font-size: 22px; */
  }

  .selectBox_stat {
    width: 140px;
    margin-left:10px;
  }

  .selectBoxSign_stat {
    width: 140px;
    margin-left:10px;
  }

  .walletText {
    width: 74px;
    font-size: 20px;
    white-space: nowrap;
  }
  .coinValue {
    font-size: 20px;
  }
  .coinTicker {
    margin-left:5px;
    padding-top:4px;
    font-size: 14px;
  }
  .previousText {
    font-size: 12px;
  }

  .mode-buttons-container .modeBtn {
    font-size: 16px;
    height: 44px;
    max-width: 49%;
  }

  .modeBtn {
    font-size: 16px;
    height: 44px;
  }

  .tabBtn {
    font-size: 16px;
    height: 64px;
    margin: 10px 3%;
  }
  .tabBtn span{
    font-size: 12px;
  }

  .tabBtn_wrapper { /*2023.10.22*/
    position: relative;
  }

  .tabBtn_btnLayer { /*2023.10.22*/
    position: absolute;
    background: transparent;
    padding-bottom: 10px;
    z-index: 1;
  }

  .tabBtn_bgLayer { /*2023.10.22*/
    position: absolute;
    background-color: white;
    color: black;
    text-align: center;
    padding-top: 30px;
    font-size: 12px;
    z-index: 0;
  }

  .bet-buttons-container {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .bet-buttons-container .betBtn {
    font-size: 16px;
    height: 60px;
  }

  .betBtn {
    font-size: 16px;
    height: 60px;
  }

  .confirmPopupText_v2 p {
    font-size: 35px;
  }

  .confirmImg {
    width: 100px;
  }

  .popupBtn {
    width: 150px;
    height: 44px;
    font-size: 20px;
    /* border-radius: 50px; */
  }

  .popupBtn.cancel {
    left: 20px;
  }
  .popupBtn.confirm {
    right: 20px;
  }

  .confirmPopupText_v2 span#tokenText {
    font-size: 2.5rem;
  }

  .previousCard {
    position: static;
    width: 25%;
  }

  .previousCardLayer {
    height :auto;
  }

  .mainCardContainer {
    width: 100%;
  }

  /* FAQ Popup Mobile Styles */
  .faqPopup__wrapper {
    width: 95%;
    max-height: 85vh;
  }

  .faqPopup__header {
    padding: 1.5rem;
  }

  .faqPopup__title {
    font-size: 2rem;
  }

  .faqPopup__close {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem;
  }

  .faqPopup__content {
    padding: 1.5rem;
    max-height: 65vh;
  }

  .faq__section {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  .faq__title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .faq__content {
    font-size: 1.3rem;
  }

} /*@media screen and (max-width: 479px)  END*/
