/* turn.js 이미지 갤러리용 스타일 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

#magazine-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

#magazine {
    display: none;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#magazine .page {
    background-color: white;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#magazine .page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.turn-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 100;
    font-size: 24px;
}

#prev-btn {
    left: 10px;
}

#next-btn {
    right: 10px;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 18px;
}

.magazine-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

h1 {
    text-align: center;
    margin: 15px 0;
    font-size: 24px;
    color: #333;
}

.image-counter {
    text-align: center;
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

/* 모바일 최적화 */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 20px;
        margin: 10px 0;
    }
    
    .turn-button {
        padding: 8px 12px;
        font-size: 20px;
    }
}
