@font-face {
    font-family: 'Paperlogy-8ExtraBold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

body {
    font-family: 'Paperlogy-8ExtraBold', sans-serif;
    background: linear-gradient(135deg, #fdfff0, #e69f9f);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    color: #333;
    overflow: hidden;
}

.container {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    max-width: 450px;
    width: 100%;
    transition: transform 0.3s;
}

footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
}

footer p {
    font-size: 0.7rem;
    margin: 5px;
}

.title {
    font-size: 26px;
    color: #464646;
}

.info {
    font-size: 16px;
    margin: 30px 0 20px 0;
    color: rgb(229, 114, 114);
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.countdown {
    font-size: 18px;
    margin-top: 10px;
    color: #b97ce5;
    font-weight: 600;
}

#retry_button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #b97ce5;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
    font-family: 'Paperlogy-8ExtraBold', sans-serif;
}

#retry_button:hover {
    background-color: #45a049;
}

#useragent {
    font-size: 12px;
    color: #464646;
    margin-bottom: 30px;
}

/* 반응형 디자인 */
@media only screen and (max-width: 600px) {
    body {
        padding: 20px;
    }

    .container {
        max-width: 100%;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .title {
        font-size: 22px;
    }

    .info {
        font-size: 14px;
        margin: 20px 0 15px 0;
    }

    #retry_button {
        padding: 10px 18px;
        font-size: 14px;
    }

    .countdown {
        font-size: 16px;
    }

    footer p {
        font-size: 0.6rem;
    }
}