@charset "utf-8";

/****************************************************************************************************************************************
main
*****************************************************************************************************************************************/
section {position: relative; margin:50px auto; padding:0; width: 100%;}
section.main {margin:0 auto; padding:50px 0; background: url('../img/bg1.jpg') center top no-repeat;}

ul.casino-list {position: relative; margin:0; padding:0; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap:10px;}
ul.casino-list > li {position:relative; width: calc(100% / 4 - 10px); transition: 0.3s; perspective:900px; border-radius:0px; overflow:hidden; cursor: pointer;}
ul.casino-list > li > .inner {width:100%; transition:0.7s; cursor:pointer;}
ul.casino-list > li.before-hover .inner {transform: rotateY(30deg) scale(1.0);opacity: 0.5; box-shadow:rgba(0,222,255,0.98) 10px 10px 30px -1px;}
ul.casino-list > li.after-hover .inner {transform: rotateY(-30deg) scale(1.0);opacity: 0.5; box-shadow:rgba(0,222,255,0.98) 10px 10px 30px -1px;}

/****************************************************************************************************************************************
main-slot
*****************************************************************************************************************************************/
.main-slot {position:relative; margin:0 auto; padding:0 0 50px 0; width:600px; text-align: center;}
.main-slot > img {display:block; margin:0 auto; padding:0; width:100%; text-align: center; cursor: pointer;}
.main-slot .off {display: block;}
.main-slot .on {display: none;}

@media (hover: hover) and (pointer: fine) {
	.main-slot:hover .off {display: none;}
    .main-slot:hover .on {display:block; animation: mainGame 2s ease-in-out; transform-origin: 90% 100%;}
}

@keyframes mainGame {
	0%   {transform:rotate(0deg) scaleY(1.1);}
	20%  {transform:rotate(-1deg) scaleY(1.05);}
	35%  {transform:rotate(2deg) scaleY(1);}
	50%  {transform:rotate(-1deg);}	
	65%  {transform:rotate(1deg);}	
	80%  {transform:rotate(-1deg);}		
	100% {transform:rotate(0deg);}									
}

/****************************************************************************************************************************************
main-border
*****************************************************************************************************************************************/
.mainBo-inner {position: relative; margin:0 auto; padding:0 15px; width: 1400px; display: flex; gap:40px; justify-content: center;}
.board-group {position: relative; width:100%;}

.board-hd {position: relative; margin:0 auto; padding:0; width: 100%; height: 51px;}
.board-hd > img {width: 100%;}

.mainBo-con {position:relative; margin:15px auto 0 auto; padding:0; width:100%; height:160px; overflow: hidden;}
.mainBo-con > table {margin:0 auto 20px auto; padding:0; width: 100%;}
.mainBo-con > table th,
.mainBo-con > table td {padding:0 5px; height: 30px; font-weight:500;}
.mainBo-con > table th {width:70%; text-align: left; font-size: 13px; color: #ccccf0; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); cursor: pointer;}
.mainBo-con > table th > span {display: block; width:300px; text-align: left; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); white-space: nowrap; text-overflow: ellipsis; text-decoration: none; overflow: hidden;}
.mainBo-con > table td {text-align: right; width: 26%; font-size: 12px; color: #d544d4;}

/* 메인 실시간 입출금 */
.realtime-con {position:relative; margin:15px auto 0 auto; padding:0; width:100%; height:160px; overflow: hidden;}
.newsticker {position: relative; overflow: hidden;}
.newsticker > ul {position: relative; margin:0 auto; padding:0; width: 100%; height:100%; overflow: hidden;}
.newsticker > ul > li {padding:0 5px; height: 32px; display: flex; align-items:center; justify-content: space-between; cursor: pointer;}
.newsticker > ul > li > span {display: inline-block; margin:0 auto; padding:0; width: calc(100% / 3); font-weight: 500; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);}
.name {font-size: 13px; color: #ddd; text-align: left;}
.amount {padding:0 10px !important; font-size: 12px; color: #ffc000; text-align: right;}
.date {font-size: 12px; color: #d544d4; text-align: right;}


/* pc-hid */
.hero {display: none;}

/****************************************************************************************************************************************
미디어쿼리문
*****************************************************************************************************************************************/
@media (max-width:1430px) {
    .mainBo-inner {width: 100%;}
} /* 미디어쿼리문 끝 */

@media (max-width:1200px) {
    /* 🔴 원본 han 의 .main 은 메인 PC 게임 그리드 하나였다. STX 는 카지노·슬롯·입출금·공지 등 하위 페이지 전체를
       section.main 으로 감싸서, .main 을 통째로 숨기면 모바일 하위 페이지가 전부 빈 화면이 된다
       (클로버 2026-11-11 "모바일에서 게임·메뉴 누르면 빈 화면"). 메인 그리드(.main-home)만 숨긴다. */
    .main.main-home,
	.main-slotwrap {display: none;}

	/* hero */
	.hero {display: block;}
	.hero img {width: 100%;}
	.swiper-button-next, 
	.swiper-button-prev {color:rgba(255,255,255,0.7) !important;}

	.swiper-pagination-bullet {width:13px !important; height: 13px !important; background: rgba(255,255,255,0.5) !important; opacity: 1 !important;}
	.swiper-pagination-bullet-active {background: rgba(255,255,255,0.9) !important;}

	/* mainBo */
	.mainBo-inner {justify-content: flex-start; flex-direction: column; align-items: center; gap:20px;}
	.board-hd {border-bottom: 1px #554966 solid;}
	.board-hd > img {max-width: 100%; width: unset;}
} /* 미디어쿼리문 끝 */

@media (max-width:449px) {
    .board-hd {border-bottom:none;}
	.mainBo-con > table th > span {width: 200px;}
	.mainBo-con > table td,
	.date {font-size: 11px;}
} /* 미디어쿼리문 끝 */

@media (max-width:319px) {
	.mainBo-con > table th > span {width: 150px;}
} /* 미디어쿼리문 끝 */