* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: #000;
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    overflow: hidden;
}

/* Ã³À½ Á¢¼Ó È­¸é */
#startScreen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    color: white;
}

/* Á¦¸ñ */
.logo {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 38px;
    letter-spacing: -2px;
}

.logo .pink {
    color: #ff4f91;
}

/* °¡»çº¸±â ¹öÆ° */
#startButton {
    border: 0;
    border-radius: 22px;
    padding: 25px 55px;

    background: #ff4f91;
    color: white;

    font-size: 34px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(255,79,145,0.35);

    -webkit-tap-highlight-color: transparent;
}

#startButton:active {
    transform: scale(0.97);
}

/* ¾È³»¹® */
.guide {
    margin-top: 30px;

    font-size: 18px;
    color: #aaa;

    text-align: center;
    line-height: 1.7;
}

/* VDO.Ninja È­¸é */
#videoWrap {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: #000;
    overflow: hidden;
    z-index: 9999;
}

#vdoFrame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
/* ÈÞ´ëÆù¿¡¼­´Â Å©±â »ìÂ¦ Á¶Á¤ */
@media (max-width: 600px) {

    .logo {
        font-size: 32px;
        margin-bottom: 32px;
    }

    #startButton {
        font-size: 30px;
        padding: 22px 48px;
    }

    .guide {
        font-size: 16px;
    }
}

#loadingGuide {
    position: fixed;
    left: 50%;
    bottom: 45px;
    transform: translateX(-50%);

    z-index: 10000;

    padding: 16px 25px;
    border-radius: 16px;

    background: rgba(0,0,0,0.70);
    color: white;

    text-align: center;
    pointer-events: none;
}

.loadingTitle {
    font-size: 20px;
    font-weight: bold;
}

.loadingText {
    margin-top: 5px;
    font-size: 15px;
    color: #ccc;
}

#retryButton {
    display: none;

    margin: 12px auto 0;
    padding: 10px 20px;

    border: 0;
    border-radius: 12px;

    background: #ff4f91;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    pointer-events: auto;
}

#controlButtons {
    position: fixed;
    left: 12px;
    bottom: 12px;

    z-index: 20000;

    display: flex;
    gap: 8px;

    opacity: 0.45;
    transition: opacity 0.2s;
}

#controlButtons:hover {
    opacity: 1;
}

#controlButtons button {
    border: 0;
    border-radius: 10px;

    padding: 8px 12px;

    background: rgba(0, 0, 0, 0.75);
    color: white;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
}
