@charset "utf-8";

/****************************************************************************************************************************************
hero section
*****************************************************************************************************************************************/
.hero {position: relative; margin:135px auto 0 auto; padding:30px 0; width: 100%;}
.hero-bg {position: relative; margin:0 auto; padding:0; width: 100%; height: 400px; background: url('../img/main/banner-bg.png') center no-repeat; background-size: cover; border-radius: 10px; overflow: hidden;}
.banner-a {position: absolute; margin:0; padding:0; width: 100%; height: 400px; background: url('../img/main/banner-a.png') bottom center no-repeat; background-size: auto 100%; animation: bannerA 3s ease-in-out infinite;} 
@keyframes bannerA {
   50% {transform: translateY(15px);} 
}

.banner-b {position: absolute; margin:0; padding:0; width: 100%; height: 400px; background: url('../img/main/banner-b.png') bottom center no-repeat; background-size: auto 100%; animation: bannerB 3s ease-in-out infinite;} 
@keyframes bannerB {
    50% {transform: translateY(-15px);} 
 }

 .banner {position: absolute; top:20px; margin:0; padding:0; width: 100%; height: 400px; background: url('../img/main/banner.png') bottom center no-repeat; background-size: auto 100%;} 

 /* hero-left */
 .hero-left {position: absolute; top:0; left:15px; z-index: 1; padding: 40px 40px; width: 400px; height: 400px; background: rgba(255, 255, 255, .6); border-radius: 10px 0 0 10px;}

/* slider */
.slider-wrap {position: relative; width: 100%; height: 100%; overflow: hidden;}
.slide-con {position: relative; width: 100%; height: 100%; display: flex;}
.slide {opacity: 0; visibility: hidden; position: absolute; top: 0; left: 0; z-index: 0; padding-top:80px; width: 100%; height: 100%; transition: opacity 0.6s ease, visibility 0.6s ease;}
.slide.active {opacity: 1; visibility: visible; z-index: 1;}
 
.slide > h3 {opacity: 0; font-size: 40px; font-weight: bold; letter-spacing: -1px; line-height: 1.2; color: #9956ed; transform: translateX(-300px); transition: 0.4s;}
.slide > p {opacity: 0; margin-top:15px; font-size: 16px; font-weight: 500; color: #0c0c0c; transform: translateX(-300px); transition: 0.8s 0.4s;}

.slide.active h3 {opacity: 1; transform: translateX(0); transition: all 700ms ease; transition-delay: 300ms;}
.slide.active p {opacity: 1; transform: translateX(0); transition: all 700ms ease; transition-delay: 700ms;}
  
.bullets {margin:0; text-align: center;}
.bullet {display: inline-block; margin: 0 5px;width: 10px;height: 10px;background: #fe139c;border-radius: 50%;cursor: pointer;opacity: 0.4;transition: 0.3s;}
.bullet.active {opacity: 1;}


/****************************************************************************************************************************************
category section
*****************************************************************************************************************************************/
.category {position: relative; margin:0 auto; padding:0; width: 100%;}
.category-inner {position: relative; margin:0 auto; padding: 30px 15px; width: 1430px;}

ul.cate-list {position: relative; margin: 0 auto; padding:0; width: 100%; display: flex; justify-content: center; gap:10px;}
ul.cate-list > li {margin:0; padding:10px 15px; width:300px; text-align: center; display: flex; justify-content:space-between; align-items: center; background: transparent; border: 2px #9956ed solid; border-radius: 10px; cursor: pointer;}
ul.cate-list > li > img {width: 50px;}
.txt-panel {text-align: left; width: 65%;}
.cate-kr {font-size: 22px; font-weight: 600; color:#9956ed;}
.cate-en {font-size: 15px; font-weight: 500; color:#9956ed;}
ul.cate-list > li.active {background: #9956ed;} 
ul.cate-list > li.active .cate-kr {color:#fff;}
ul.cate-list > li.active .cate-en {color:#fff;}

@media (hover: hover) and (pointer: fine) {
    ul.cate-list > li:hover {background: #9956ed;} 
    ul.cate-list > li:hover .cate-kr {color:#fff;}
    ul.cate-list > li:hover .cate-en {color:#fff;}    
}

/****************************************************************************************************************************************
game-list section
*****************************************************************************************************************************************/
.basic-sec {position: relative; margin:0 auto; padding:0; width: 100%;}

.game-view {display: none; position: relative; margin:0 auto; padding:15px 0; width:100%;}
.game-view.active {display: block;}

/* game-list  */
ul.game-list {position: relative; margin:0 auto; padding:0; width: 100%; display: flex; gap:15px; justify-content: center; align-items: center; flex-wrap: wrap;}
ul.game-list > li {position: relative; transform: translateY(0px); transition: 0.3s ease; cursor: pointer;}

ul.casino-list > li {width: calc(100% / 6 - 15px);}
ul.slot-list > li {width: calc(100% / 8 - 15px);}

.list-top {position: relative; border-radius: 10px; border: 3px #5715b4 solid; overflow: hidden;}
.game-img {position: relative; transition: 0.3s ease;}

.game-logo {position: absolute; bottom: 15px; left:0; right:0; z-index: 2;}
.game-logo > img {filter: drop-shadow(2px 2px 4px #000);}

.game-txt {position: relative; margin: -14px 0 0; padding:10px 5px; width: 100%; text-align: center; font-size: 14px; font-weight: 600; color:#fff; background: #5715b4; border-radius: 0 0 10px 10px;}

.play-btn {display:none; position: absolute; top: 0; z-index: 6; width:100%; height: 100%; justify-content: center; align-items: center; background: linear-gradient(180deg, rgba(80, 42, 112, .6), #0C0C0C); border-radius: 10px; transition: 0.3s ease;}
.play-btn > button {margin:0 auto; padding:8px 20px; font-weight:bold; color:#fff; background: #fe139c; border-radius: 50px;}


@media (hover: hover) and (pointer: fine) {
    ul.game-list > li:hover .game-img {transform: scale(1.06);}
    ul.game-list > li:hover .play-btn {display: flex;}
}

/****************************************************************************************************************************************
메인 Board 시작
*****************************************************************************************************************************************/
.main-border {position:relative; margin: 0; padding: 50px 0; width: 100%;}
.mainBo-inner {position: relative; margin:0 auto; padding:50px 50px;  width: 1700px; text-align: center; 
    background: #d3d3d3 url('../img/bg-5.jpg') 50% / cover no-repeat; border-radius: 10px; overflow: hidden;
}

.mainBo-wrap {position:relative; margin:0; padding:0; width: 100%; display: flex; gap:40px; justify-content: center;}
.board-group {position: relative; margin:0; padding:10px 10px; width: calc(100% / 3 - 40px); background: rgba(255, 255, 255, 0.2); border-radius: 15px;}

.board-hd {position: relative; margin:0 auto 10px auto; padding: 0 15px; width: 100%; height: 50px; display: flex; justify-content:space-between; align-items: center; background: #9956ed; border-radius: 15px;}
.board-hd > h3 {position: relative; margin-right: 15px; padding-right: 15px; font-weight: 500; display: flex; align-items: center; color:#fff;} 
.board-hd > h3 > i {margin:3px 5px 0 0; font-size: 18px; color: #fff;}
.board-hd > .hd-icon {position: relative; font-weight: 500; color:#fff; cursor: pointer;}
.board-hd > .hd-icon > i {display: inline-block; margin-right:5px; font-size:18px; color: #fff; transition: 0.3s;}

@media (hover: hover) and (pointer: fine) {
    .board-hd > .hd-icon:hover > i {transform: rotate(180deg);}
}

/* 메인 공지사항 및 메인 이벤트 */
.mainBo-con {position: relative; margin:0 auto; padding:15px 15px; width: 100%; height: 270px; background: #fff; border-radius: 15px;}
.mainBo-con > table {margin:0 auto 20px auto; padding:0; width: 100%;}
.mainBo-con > table th,
.mainBo-con > table td {padding:0 5px; height: 35px; font-weight:500;}
.mainBo-con > table th {width:74%; text-align: left; cursor: pointer;}
.mainBo-con > table th > span {display: block; width:280px;text-align: left; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; overflow: hidden;}
.mainBo-con > table td {text-align: right; width: 26%; color: #6b798f;}

@media (hover: hover) and (pointer: fine) {
    .mainBo-con > table tr:hover th > span {color: #5a00ff;}
    .mainBo-con > table tr:hover td {color: #5a00ff;}
}

/* 메인 실시간 입출금 */
.main-finance {position: relative;}
.finance-hd {position: relative; margin:0 auto 10px auto; padding:0; width: 100%; display: flex; justify-content: center; align-items: center; background: #9956ed; border-radius: 15px; overflow: hidden;}
.finance-hd > button {width: calc(100% / 2); height: 50px; color: #fff; font-weight: 700; background: #9956ed; border:none}
.finance-hd > button.active {background: #5715b4;}

.realtime-con {position: relative; margin:0 auto; padding:0 15px; width: 100%; height: 270px; background: #fff; border-radius: 15px; overflow: hidden;}
.newsticker {display:none; opacity: 0;position: relative; animation: realtimeAnim 0.5s ease 1 forwards; overflow: hidden;}
@keyframes realtimeAnim {
    0% {opacity: 0; transform: scale(0.5);}
    100% {opacity: 1;transform: scale(1.0);}
}
.newsticker.active {display: block;}

.newsticker > ul {position: relative; margin:0 auto; padding:0; width: 100%; height:95%; overflow: hidden;}
.newsticker > ul > li {padding:0 5px; width:100%; height: 46px; display: flex; align-items:center; justify-content: space-between; cursor: pointer; transition: 0.3s; border-top: dashed 1px rgba(152, 177, 223, 0.25);}
.newsticker > ul > li > span {font-size: 15px; font-weight: 500;}
.newsticker > ul > li > span:nth-child(1) {color: #fff; text-align: center;}
.newsticker > ul > li > span:nth-child(2) {color: #fe139c; text-align: right; font-size: 18px; letter-spacing: -1px;}
.newsticker > ul > li > span:nth-child(3) {color: #6b798f; text-align: right;}
.tag {display:inline-block; margin-right: 10px; padding: 0; width: 36px; line-height: 20px; border-radius: 2px; font-size: 12px; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);}
.blue-tag {background: linear-gradient(180deg, #48c1ee, #2156c0);}
.red-tag {background: linear-gradient(180deg, #f67fa5, #fe0e4f);}

@media (hover: hover) and (pointer: fine) {
    .newsticker > ul > li:hover {background:#edebeb;} 
}

/* 메인 제휴문의 */
.customer-con {position: relative;}
.cs-panel {margin: 10px 0; padding: 10px 15px; width: 100%; display: flex; align-items: center; background: #fff; border-radius: 15px;}
.cs-icon {position:relative; margin: 0 15px 0 0; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; font-size: 18px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); color: #fff; background:#fe139c; border: 1px #fe139c solid; border-radius: 50%;}
.cs-icon > i {position:relative; z-index: 1; font-size: 23px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);}
.cs-info {font-size:18px; font-weight: 500;}

.quick-sns {position: relative; margin: 15px 0 0; }
.quick-hd {padding: 10px 0; margin: 0 0 15px;  width: 100%; display: flex; justify-content: center; align-items: center; background: linear-gradient(0deg, rgba(107, 200, 203, 0), rgba(41, 52, 72, 1.0), rgba(107, 200, 203, 0));}
.quick-hd > img {margin-right: 10px; filter: drop-shadow(0 0 10px rgba(0, 133, 225, 1.0));}
.quick-hd > h3 {font-size: 26px; font-weight: 700;}

ul.main-sns {position: relative; margin:0 auto; padding:13px 15px; width: 100%; display: flex; justify-content: center; background: #fff; border-radius: 15px;}
ul.main-sns > li {position:relative; margin:0 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; gap:5px; border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); cursor: pointer;}
ul.main-sns > li > i {font-size:18px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);}
ul.main-sns > li:nth-child(1) {color:#000; background: linear-gradient(#fee267, #ffa722);}
ul.main-sns > li:nth-child(2) {color:#fff; background: linear-gradient(#7777d1, #4f52c5);}
ul.main-sns > li:nth-child(3) {color:#fff; background-image: linear-gradient(#ff688c, #ff1a4c);}
ul.main-sns > li:nth-child(4) {color:#fff; background: linear-gradient(#48c1ee, #2156c0);}


/****************************************************************************************************************************************
미디어쿼리문
*****************************************************************************************************************************************/
@media (max-width: 1730px) {
    .category-inner,
    .mainBo-inner {width: 100%;}  
    .category-inner {padding:0 10px;}  

    .hero-left {left:10px;}

    .mainBo-con > table th > span {width: 200px;}
}/* 미디어쿼리문 끝 */

@media (max-width: 1200px) {
    ul.casino-list > li {width: calc(100% / 5 - 15px);}
    ul.slot-list > li {width: calc(100% / 7 - 15px);}

    .main-border {margin:15px 0; padding:0; background: none; border-radius: 0;}
    .mainBo-inner {padding:30px 15px;}
    .mainBo-wrap {flex-direction: column; gap: 20px;}
    .board-group {width:100%;}
}/* 미디어쿼리문 끝 */

@media (max-width: 1024px) {
    ul.casino-list > li {width: calc(100% / 4 - 15px);}
    ul.slot-list > li {width: calc(100% / 6 - 15px);}

    .mainBo-inner {flex-wrap: wrap;}
    .board-group {width: 100%;}
}/* 미디어쿼리문 끝 */


@media (max-width: 992px) {
    .hero {padding:15px 0;}
    .hero-bg,
    .banner-a,
    .banner-b,
    .banner {height: 300px;}

    .hero-left {top:unset; left:10px; right:10px; bottom:0; padding:10px 15px; width: auto; height: 120px; border-radius: 0 0 10px 10px;}
    .slider-wrap {height: 80%;}
    .slide {padding-top:10px;}
    .slide > h3 {font-size: 24px;}
    .slide > p {margin-top:5px; font-size: 14px;}

    ul.cate-list > li {width: calc(100% / 2 - 10px);}
    .cate-kr {font-size: 20px;}
    .cate-en {font-size: 12px;}

    ul.casino-list > li {width: calc(100% / 4 - 15px);}
    ul.slot-list > li {width: calc(100% / 5 - 15px);}
}/* 미디어쿼리문 끝 */


@media (max-width: 820px) {    
    .hero {margin: 70px auto 0 auto;}
}/* 미디어쿼리문 끝 */

@media (max-width: 767px) {
    .hero-bg,
    .banner-a,
    .banner-b,
    .banner {height: 260px;}

    ul.cate-list > li {padding: 8px 5px;}
    ul.cate-list > li > img {width: 30px;}
    .txt-panel {width: 75%;}
    .cate-kr {font-size: 18px; letter-spacing: -1px;}

    ul.casino-list > li {width: calc(100% / 3 - 15px);}
    ul.slot-list > li {width: calc(100% / 3 - 15px);}
    
    .newsticker > ul > li .name,
    .newsticker > ul > li > span:nth-child(3) {font-size: 12px; letter-spacing: -1px;}
    .newsticker > ul > li > span:nth-child(2) {font-size: 16px;}
}/* 미디어쿼리문 끝 */

@media (max-width: 640px) {
    ul.casino-list > li {width: calc(100% / 2 - 15px);}
    ul.slot-list > li {width: calc(100% / 2 - 15px);}

}/* 미디어쿼리문 끝 */


@media (max-width: 360px) {
    .mainBo-con > table th > span {width: 180px;}    
}/* 미디어쿼리문 끝 */
