@charset "utf-8";


#confetti{
	/* background: var(--black-color); */
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
}

.games__frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation:cameraMotion 2s ease-out;
    opacity: 1;
}
@keyframes cameraMotion {
    0% {
        opacity: 0;
        z-index: 1;
    }
    25% {
        opacity: 1;
        z-index: 1;
    }
    50% {
        opacity: 0;
        z-index: 1;
    }
    75% {
        opacity: 1;
        z-index: 1;
    }
    100% {
        opacity: 0;
        z-index: 1;
    }
}

.games__frame {}
.games__frame .frame__inner {
    position: relative;
    width: 100%;
    height:100vh;
}
.games__frame span {
    display: block;
    position: absolute;
    width: 150px;
    height: 100px;
}
.games__frame span.top-left {
    top: 130px;
    left: 30px;
    border-top: 5px solid var(--black-color);
    border-left: 5px solid var(--black-color);
}
.games__frame span.top-right {
    top: 130px;
    right: 30px;
    border-top: 5px solid var(--black-color);
    border-right: 5px solid var(--black-color);
}
.games__frame span.btm-left {
    bottom: 30px;
    left: 30px;
    border-bottom: 5px solid var(--black-color);
    border-left: 5px solid var(--black-color);
}
.games__frame span.btm-right {
    bottom: 30px;
    right: 30px;
    border-bottom: 5px solid var(--black-color);
    border-right: 5px solid var(--black-color);
}

.games__frame.active>.livegameoverview {
    display: none;
}
.games__frame.active .top-right .livegameoverview {
    display: flex;
}
.games__frame span.top-right .livegameoverview {
    display: none;
}
.frame__inner{
    position: relative;
}

.games__intro {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100vh;
    background: #fff;
    z-index: ;
}


.livegameoverview {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 500px;
    height: 50px;
    top:calc(50% - 25px);
    right:calc(50% - 250px);
}
.livegameoverview .dot {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: red;
    margin-right: 10px;
    animation:aniRec 1s linear infinite;
}
@keyframes aniRec {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.livegameoverview strong {
    font-size:40px;
    font-family: var(--font-type0);
}
.games__frame.active {
    position: absolute;
}
.games__frame.active .livegameoverview {
    top: 20px;
    right: 0;
    position: relative;
    width: auto;
    height: auto;
}
.games__frame.active .livegameoverview strong {
    font-size:20px;
    color:var(--black-color);
}
.games__frame.active .livegameoverview .dot {
    min-width: 20px;
    max-width: 20px;
    max-height: 20px;
}

.tr__visual {
    height: 100vh;
    overflow: hidden;
    padding-top: 150px;
}

@keyframes flowDown {
    0% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

/* 테일즈런너 */
.games__talesrunner {}
.games__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.games-logo {
    position: relative;
    width: 360px;
    top: 40px;
    margin:5% auto 0;
    display: block;
    z-index: 1;
}

.games-logo.marchen {
    margin-top: 7%;
}

.games-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    animation: scaleSlowly 30s linear infinite alternate;
}
.page__games.active .games__visual {
    overflow: hidden;
}

@keyframes scaleSlowly {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.5);
    }
}
.tr__intro {
    position: relative;
}
.tr__intro video {
    width: 100%;
}
.tr__intro .text{
    position: absolute;
    right: 10%;
    bottom: 30%;
    z-index: 1;
}
.tr__intro .text p {
    font-size:30px;
    color:#fff;
    font-family: "VITRO_PRIDE", sans-serif;
    margin-top: 40px;
    line-height: 1.4;
}
.tr__intro .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), rgba(0,0,0,0.0));
}
.tr__intro .text .text1 {}
.tr__intro .text .text2 {
    font-size:52px;
    font-weight: bold;
}

.page__games {
    min-height: 100vh;
}

.page__games.active .tr-logo {
    width:250px;
    transition-duration: var(--duration);
}
.games__content {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 100px;
    display: none;
}

.page__games.active .games__content {
    display: block;
    text-align: center;
}
.page__games.active .games__btn__btm {
    display: flex;
    max-width: 800px;
    margin:0 auto;
}

.games__content__inner {
    background: linear-gradient(to bottom, #000, rgba(0,0,0,0.6));
    max-width: 850px;
    margin:0 auto 5%;
    text-align: center;
    padding: 100px 20px;
    border-radius: 200px;
    outline: 15px solid rgba(0,0,0,0.5);
    padding: 50px;
    border: 0;
}
.games__content__inner * {
    color:#fff;
}
.games__content__inner span {
    font-size: 14px;
    font-family: "Volkhov-Italic", math;
    font-style: italic;
}
.games__content__inner h3 {
    font-size: 24px;
    font-family: var(--font-type1);
    margin-top: 30px;
}
.games__content__inner p {
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-type2);
    margin-top: 25px;
    margin-bottom: 40px;
    line-height: 1.4;
}
.games__content__inner .btn__games {
    width: 266px;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.games__content__inner .btn__games b {
    color: #fff;
    font-family: var(--font-type1);
    font-size: 20px;
    margin-right: 15px;
}
.games__content__inner .btn__games i {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    width: 130px;
    height: 40px;
    padding: 10px;
}
.games__content__inner .btn__games i img {
    max-width: 70px;
}

.games__content__inner .btn__games.mobile {
    width: 150px;
}
.btn__games.hangame {
    background: linear-gradient(to top, #F1731E, #FF9900);
    box-shadow: 4px 4px 0 #FF9900;
}
.btn__games.stove {
    background: linear-gradient(to top, #F2672E, #FF6161);
    box-shadow: 4px 4px 0 #ff8080;
}
.games__btnbox{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.games__btnbox.ghostwar {}
.games__btnbox.ghostwar a {
    width: 170px !important;
    height: auto;
}
.btn__games {
    position: relative;
    top: 0;
    left: 0;
}
.btn__games:hover {
    box-shadow: none;
    top: 4px;
    left: 4px;
}
.btn__games.mobile.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border: 1px solid #fff;
    height: 52px;
}
.btn__games.mobile.icon img {
    width: 30px;
    border-radius: 5px;
    margin-right: 10px;
}
.btn__games.mobile.icon span {
    font-style: normal;
    font-family: var(--font-type2);
    font-size: 17px;
    padding-top: 4px;
}

.games__btn__btm {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    display: none;
}
.games__btn__btm a {
    width: 100%;
    height: 125px;
    border-radius:20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.6);
    outline: 5px solid rgba(0,0,0,0.5);
    padding: 10px;
}
.games__btn__btm a img {
    max-width: 100%;
    max-height: 80px;
}
.games__btn__btm a {
    color:#fff;
    font-size: 17px;
    text-align: center;
    font-family: var(--font-type1);
    position: relative;
    transform: scale(0.8);
    backdrop-filter: blur(10px);
}
.games__btn__btm a.active {
    transform: scale(1.3);
    z-index: 1;
}
.games__btn__btm a.btn__btm__tr:hover,
.games__btn__btm a.btn__btm__tr.active {
    /* background: rgba(255,255,255,0.8); */
    background: rgba(0,0,0,0.8);
    outline: 5px solid rgb(255, 153, 0, 80%);
}

.games__btn__btm a.btn__btm__gw:hover,
.games__btn__btm a.btn__btm__gw.active {
    /* background: rgba(255,255,255,0.8); */
    background: rgba(0,0,0,0.8);
    outline: 5px solid rgb(0, 100, 255, 80%);
}
.games__btn__btm a.btn__btm__ms:hover,
.games__btn__btm a.btn__btm__ms.active {
    background: rgba(0,0,0,0.8);
    outline:5px solid rgb(23 221 255 / 80%);
    color: #000;
}
.games__btn__btm a:hover {
    transform: scale(1.3);
    z-index: 2;
    backdrop-filter: blur(10px);
}
.content__logobox {
    margin:10% auto 0;
    background: rgba(0,0,0,0.4);
    padding: 30px 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 380px;
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 10px 15px rgba(0,0,0,0.1);
}
.content__logobox .games-logo {
    margin-top: 0;
    top: 0;
}

@media screen and (max-width:991px) {
    .games__btn__btm a.active,
    .games__btn__btm a:hover {
        transform: scale(1);
    }
}
@media screen and (max-width:768px) {
    .games__frame span.top-left {
        top: 80px;
        left: 30px;
    }
    .games__frame span.top-right {
        top: 80px;
        right: 30px;
    }
    .games__frame span.btm-left{
        bottom: 30px;
        left: 30px;
    }
    .games__frame span.btm-right {
        bottom: 30px;
        right: 30px;
    }
    .games__frame span{
        width: 30px;
        height: 30px;
    }
    .livegameoverview strong{
        font-size: 17px;
    }
    .games-logo{
        width: 200px;
        margin:15% auto 0;
    }
    .games__content__inner {
        border-radius: 20px;
        padding: 50px 10px 10px;
    }
    .games__frame.active {
        display: none;
    }
    .games__content__inner {
        max-width: 300px;
    }
    .games__content__inner span {
        font-size: 11px;
    }
    .games__content__inner h3 {
        font-size: 17px;
        padding: 0 10%;
    }
    .games__content__inner p {
        font-size: 14px;
    }
    .games__btnbox{
        display: block;
    }
    .games__content__inner .btn__games b {
        font-size: 14px;
    }
    .games__content__inner .btn__games {
        margin-bottom: 20px;
    }
    .games__btn__btm {
        gap: 20px;
        margin-top: 50px;
    }
    .games__btn__btm a {
        width: 100%;
        height: 85px;
        font-size: 12px;
    }
    .livegameoverview .dot{
        width: 20px;
        height: 20px;
    }
    .games__content__inner .btn__games.mobile {
        margin:0 auto 5px;
    }
    .games__content__inner .btn__games {
        height: 52px;
    }
    .games__btn__btm{
        gap: 0;
    }
    .page__games.active .games__btn__btm {
        max-width:320px;
    }
    .content__logobox {
        margin:20% auto 0;
        max-width: 240px;
    }
    .btn__games.offical {
        margin-top: 10px !important;
    }
}