@font-face {
    font-family: 'Pretendard-Regular';
    src: url('../Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
* { font-family: 'Pretendard-Regular';}
body { padding: 0; margin: 0; }
#unity-container { position: absolute; top: -999em; left: -999em; }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { width: 100%; height: 100%; }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
/*#unity-progress-bar-empty {*/
/*    width: 140px;*/
/*    height: 18px;*/
/*    margin-left: 0; !* 왼쪽 마진 제거 *!*/
/*    background: url('progress-bar-empty-light.png') no-repeat;*/
/*}*/

/*#unity-progress-bar-full {*/
/*    width: 0%;*/
/*    height: 18px;*/
/*    background: url('progress-bar-full-light.png') no-repeat;*/
/*}*/

#unity-loading-notify {
    text-align: center;
    height: 24px;
    width: 60vw;
    color: white;
    margin-top: 10px; /* 왼쪽 마진 제거 */
}

.button {
    padding: 1em 1.5em;
    font-size: 1em;
    font-weight: 400;
    font-family: "Helvetica", "Arial", sans-serif;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    border: none;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.button-first {
    background: linear-gradient(to right, #e55d87, #5fc3e4);
    box-shadow: 0 2px 25px rgba(229, 93, 135, 0.5);
}

.button-first:active {
    background: linear-gradient(
            to right,
            rgba(229, 93, 135, 0.9),
            rgba(95, 195, 228, 0.9)
    );
}

.button-second {
    /* background: linear-gradient(to right, #1488cc, #2b32b2); */
    background: linear-gradient(to right, #000000, rgb(0, 0, 0));
    /* box-shadow: 0 2px 25px rgba(20, 137, 204, 0.5); */
    box-shadow: 0 2px 25px rgba(255, 255, 255, 0.5);
}

.button-second:active {
    background: linear-gradient(
            to right,
                /* rgba(20, 136, 204, 0.9),
                rgba(43, 50, 178, 0.9) */
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.5)
    );
}

.button:focus {
    outline: none;
}

particle {
    left: 0;
    top: 0;
    pointer-events: none;
    position: fixed;
    opacity: 0;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    border-radius: 4px;
    box-shadow: 4px 8px 16px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    color: #333;
    font-family: "Open Sans", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
}

/* sweet alert 커스텀 */
.custom-swal {
    box-shadow: 0 0 10px 5px rgba(205, 255, 98, 0.3);
}


.custom-confirm-button {
    background-color: #CDFF62; /* 어두운 배경 */
    color: #222; /* 텍스트 하얀색 */
    box-shadow: 0 0 10px 5px  rgba(27, 27, 27, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.custom-confirm-button:hover {
    background-color: #222; /* 호버 시 배경 어두운 색 */
    color: #CDFF62; /* 호버 시 텍스트 밝은 색 */
    box-shadow: 0 0 10px 5px  rgba(205, 255, 98, 0.3); /* 밝은 녹색 그림자 */
}

#startARText { margin: 33px 0; }

.wyft-button {
    width: 266px;
    height: 50px;
    border-radius: 100px;

    cursor: pointer;
    appearance: none;
    border: none;

    font-size: 16px;
    font-weight: 900;
    color: #222;
    background-color: #CDFF62;
}
.wyft-button:hover {
    background-color: #222;
    color: #CDFF62;
    box-shadow: 0 0 10px 5px  rgba(205, 255, 98, 0.3); /* 밝은 녹색 그림자 */
}
#unity-progress-bar-empty {
    margin: 24px 0;
    width: 210px;
    height: 8px;

    /* 기존 border 대신 shadow 사용 */
    border: none !important;
    box-shadow: 0 0 0 1px #CDFF62; /* 1px 두께의 외곽선 효과 */

    border-radius: 100px;
    padding: 1px;
    overflow: hidden;

    /* iOS 렌더링 버그 방지용 */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
#wyft-progress-bar-full {
    height: 100%;
    background-color: #CDFF62;
    border-radius: 100px;
}
#wyft-loading-notify {
    color: #fff;
    font-size: 14px;
}
