body {
    margin: 0;
    padding: 0;
    font-family: "Georgia", serif;
    background: white;
    color: #111;
}

.wrapper {
    text-align: center;
    padding-top: 80px;
}

/* Logo Circle */
.logo-circle {
    width: 200px;
    height: 200px;
    background: #f8f9fa;
    border: 1px solid #d1d1d1;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    /* soft drop shadow */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.inner-shadow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.08);
}

.book-icon {
    position: relative;
    z-index: 10;
}

/* Title */
.title {
    font-size: 46px;
    font-weight: 700;
    margin-top: 10px;
}

.subtitle {
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 50px;
    font-style: italic;
    color: #54595d;
}

/* Language Section */
.language-section {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-bottom: 70px;
}

.language {
    text-align: center;
}

.lang-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #1a73e8; /* blue link */
}

.lang-desc {
    font-size: 15px;
    color: #555;
}

/* Footer */
.footer {
    width: 70%;
    margin: 0 auto;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

/* Spinner */
.loader {
    width: 45px;
    height: 45px;
    border: 4px solid #ccc;
    border-top: 4px solid #54595d;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 15px;
    font-family: "Georgia", serif;
    font-size: 16px;
    color: #333;
}

.link {
    cursor: pointer;
}

#loading-screen {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 45px;
    height: 45px;
    border: 4px solid #ccc;
    border-top: 4px solid #54595d;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 15px;
    font-family: "Georgia", serif;
    font-size: 16px;
    color: #333;
}

.language {
    cursor: pointer;
    position: relative;
    z-index: 20; /* 클릭 우선순위 확보 */
    pointer-events: auto;
}

/* ------------------------------
   📱 Mobile Responsive Design
--------------------------------*/
@media (max-width: 640px) {

    .wrapper {
        padding-top: 50px;
    }

    .logo-circle {
        width: 150px;
        height: 150px;
    }

    .book-icon {
        width: 65px;
        height: 65px;
    }

    .title {
        font-size: 34px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .language-section {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .lang-title {
        font-size: 18px;
    }

    .lang-desc {
        font-size: 14px;
    }

    .footer {
        width: 85%;
        font-size: 13px;
        padding-top: 15px;
    }
}

