/* =================================================================
MAGAZINE PAGE STYLING
================================================================= */

/* Magazine Title - Simple styling */

/* Magazine Single Page - E-Paper Style */
.magazine-single-page {
    padding: 0;
    background: #ffffff;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Newspaper Header */
.newspaper-header {
    background: #ffffff;
    border-bottom: 3px solid #000000;
    padding: 20px 0;
    margin-bottom: 0;
}

.newspaper-masthead {
    text-align: center;
    margin-bottom: 15px;
}

.masthead-icon {
    font-size: 24px;
    color: #D4AF37;
    margin-bottom: 5px;
}

.masthead-title {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    letter-spacing: 2px;
}

.masthead-slogan {
    font-family: 'Times New Roman', serif;
    font-size: 14px;
    color: #666666;
    margin: 5px 0 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newspaper-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.publication-info p {
    margin: 2px 0;
    font-size: 12px;
    color: #333333;
    font-family: 'Arial', sans-serif;
}

.weather-info {
    display: flex;
    gap: 20px;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #333333;
}

.weather-item i {
    color: #D4AF37;
}

/* E-Paper Content */
.newspaper-content {
    width: 100%;
    background: #f5f5f5;
    min-height: 100vh;
}

.pdf-viewer-fullwidth {
    width: 100%;
    background: #ffffff;
}

/* E-Paper Viewer */
.epaper-viewer {
    width: 100%;
    background: #ffffff;
    position: relative;
}

.pdf-viewer-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 80vh;
}

/* Zoom Controls */
.zoom-controls {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.zoom-btn {
    background: #D4AF37;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: none;
}

.zoom-btn:hover {
    background: #B8941F;
    color: white;
}

#zoom-level {
    display: inline-block;
    margin: 0 15px;
    font-weight: bold;
    color: #333;
    min-width: 50px;
}

/* PDF Pages in E-Paper Style */
.page-spread {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.page-spread .page {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 0;
    overflow: hidden;
    background: white;
    object-fit: contain;
    margin: 0;
}

.page-spread .page img {
    width: 100%;
    height: auto;
    display: block;
}

/* Single page spreads */
.page-spread:first-child .page,
.page-spread .page:only-child {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

/* Two-page spreads */
.page-spread .page:first-child:not(:only-child) {
    margin-right: 0;
    max-width: 50%;
}

.page-spread .page:last-child:not(:only-child) {
    margin-left: 0;
    max-width: 50%;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Top Header Styling - Golden Theme with No Hover Effects */
.top-header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.top-header .social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-header .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #D4AF37;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: none;
    border: none;
    cursor: pointer;
}

.top-header .social-link:hover {
    background: #D4AF37;
    color: #ffffff;
    transform: none;
    box-shadow: none;
    text-decoration: none;
}

.top-header .subscribe-btn {
    background: #D4AF37;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: none;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.top-header .subscribe-btn:hover {
    background: #D4AF37;
    color: #ffffff;
    transform: none;
    box-shadow: none;
    text-decoration: none;
}

/* Remove all transitions and hover effects */
.top-header * {
    transition: none !important;
}

.top-header *:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* PDF Viewer Layout for Magazine */
.page-spread {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 0;
    min-height: 800px;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    padding: 0 40px;
    margin-left: 20px;
    margin-right: 20px;
}

.page-spread .page {
    flex: 0 0 auto;
    max-width: 48%;
    min-width: 450px;
    height: 650px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    object-fit: contain;
}

/* Single page spreads (page 1 and any odd-numbered spreads) */
.page-spread:first-child .page,
.page-spread .page:only-child {
    max-width: 85%;
    min-width: 600px;
    margin: 0 auto;
    height: 750px;
}

/* Two-page spreads (pages 2-3, 4-5, 6-7, etc.) */
.page-spread .page:first-child:not(:only-child) {
    margin-right: 0;
}

.page-spread .page:last-child:not(:only-child) {
    margin-left: 0;
}

/* Ensure proper spacing for two-page spreads */
.page-spread:has(.page:not(:only-child)) {
    justify-content: center;
    gap: 0;
}

/* Fallback for browsers without :has() support */
.page-spread .page:first-child + .page {
    margin-left: 0;
}

.page-spread .page:first-child:not(:only-child) {
    margin-right: 0;
}

.page-spread .page img {
    width: 100%;
    height: auto;
    display: block;
}

.magazine-header {
    margin-bottom: 40px;
}

.magazine-header .magazine-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.magazine-header .magazine-date {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* PDF Viewer Section */
.pdf-viewer-section {
    margin-bottom: 40px;
}

/* Fallback Content */
.magazine-fallback {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.magazine-cover-image {
    margin-bottom: 30px;
}

.magazine-cover-image img {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.magazine-content .magazine-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.magazine-actions .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
}

/* Magazine Info Section */
.magazine-info-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.magazine-info-section h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
}

.magazine-info-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.magazine-meta {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.magazine-meta h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.magazine-meta p {
    margin-bottom: 10px;
    color: #666;
}

.magazine-meta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.magazine-meta a:hover {
    text-decoration: underline;
}

/* Magazine Grid Section */
.magazine-grid-section {
    padding: 20px 0 80px 0;
    background: #ffffff;
}

/* Filter Buttons */
.magazine-filters {
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 149, 40, 0.3);
}

/* Magazine Cards */
.magazine-grid {
    margin-bottom: 3rem;
}

.magazine-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 3px solid var(--primary);
    position: relative;
}

.magazine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.magazine-cover {
    position: relative;
    overflow: hidden;
    height: 550px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.magazine-card:hover .magazine-cover img {
    transform: scale(1.03);
}

.magazine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magazine-card:hover .magazine-overlay {
    opacity: 1;
}

.magazine-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}

.magazine-btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    min-width: 120px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.magazine-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.magazine-card .magazine-info {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-top: 2px solid var(--primary);
}

.magazine-issue-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magazine-date {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    display: inline-block;
}

.magazine-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
    font-size: 14px;
}

.magazine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.tag:hover {
    background: #b8942a;
}

/* Load More Button */
.load-more-btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 149, 40, 0.3);
}

/* Newsletter Section */
.magazine-newsletter {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 60px 0;
    color: white;
}

.newsletter-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 30px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    background: white;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border: none;
}

.newsletter-form .btn {
    padding: 15px 30px;
    border-radius: 0;
    font-weight: 600;
    background: var(--primary);
    border: none;
}

.newsletter-form .btn:hover {
    background: #b8942a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .magazine-grid-section {
        padding: 60px 0;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .magazine-cover {
        height: 600px;
    }
    
    .magazine-card .magazine-info {
        padding: 25px 20px;
    }
    
    .magazine-issue-title {
        font-size: 1.2rem;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .magazine-grid-section {
        padding: 40px 0;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .magazine-cover {
        height: 550px;
    }
    
    .magazine-actions {
        flex-direction: row;
        gap: 8px;
    }
    
    .magazine-btn {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* Mobile responsive for PDF viewer */
@media (max-width: 768px) {
    .page-spread {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        min-height: auto;
    }
    
    .page-spread .page {
        max-width: 100%;
        width: 100%;
        margin: 0 !important;
    }
    
    /* On mobile, show all pages as single pages for better readability */
    .page-spread .page:first-child,
    .page-spread .page:last-child {
        max-width: 100%;
    }
}

/* Animation for card loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.magazine-card {
    animation: fadeInUp 0.6s ease-out;
}

.magazine-card:nth-child(1) { animation-delay: 0.1s; }
.magazine-card:nth-child(2) { animation-delay: 0.2s; }
.magazine-card:nth-child(3) { animation-delay: 0.3s; }
.magazine-card:nth-child(4) { animation-delay: 0.4s; }
.magazine-card:nth-child(5) { animation-delay: 0.5s; }
.magazine-card:nth-child(6) { animation-delay: 0.6s; }
/* Enhanced PDF Viewer Styling */
.page-spread .page img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* PDF Container for better zoom handling */
.pdf-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
}

#pdf-viewer {
    width: 100%;
    min-width: fit-content;
}

/* Zoom controls styling */
.zoom-controls-top {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.zoom-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #005a87;
    transform: scale(1.05);
}

#zoom-level {
    display: inline-block;
    margin: 0 15px;
    font-weight: bold;
    color: #333;
    min-width: 50px;
}

/* Smooth scrolling for PDF viewer */
.page-spread {
    scroll-behavior: smooth;
}

/* Better mobile experience */
@media (max-width: 768px) {
    .page-spread {
        min-height: 600px;
        padding: 0 10px;
    }
    
    .page-spread .page {
        min-width: 300px;
        height: 500px;
    }
    
    .page-spread:first-child .page,
    .page-spread .page:only-child {
        min-width: 350px;
        height: 600px;
    }
    
    /* Mobile Magazine Header */
    .magazine-header-content {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }
    
    .magazine-logo {
        margin-bottom: 20px;
    }
    
    .magazine-title {
        margin: 0 0 20px 0;
    }
    
    .magazine-title h1 {
        font-size: 24px;
    }
    
    .magazine-title h2 {
        font-size: 18px;
    }
    
    .magazine-contact {
        text-align: center;
    }
    
    .contact-line {
        font-size: 13px;
    }
}


/* Enhanced Scrolling and Interaction */
.pdf-container {
    scroll-behavior: smooth;
    cursor: grab;
}

.pdf-container:active {
    cursor: grabbing;
}

/* Custom scrollbar for better UX */
.pdf-container::-webkit-scrollbar {
    height: 8px;
}

.pdf-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pdf-container::-webkit-scrollbar-thumb {
    background: #007cba;
    border-radius: 4px;
}

.pdf-container::-webkit-scrollbar-thumb:hover {
    background: #005a87;
}

/* Click-to-scroll visual feedback */
.page-spread {
    transition: all 0.3s ease;
}

.page-spread:hover {
    transform: scale(1.02);
}

/* Zoom indicator */
.zoom-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(0, 124, 186, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-indicator.show {
    opacity: 1;
}

/* Top Header Styling for Magazine Pages - Golden Theme */
.top-header {
    background: #ffffff;
    padding: 12px 0;
    border-top: 2px solid #333333;
    border-bottom: 1px solid #e9ecef;
}

.top-header .social-links {
    gap: 12px;
}

.top-header .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.top-header .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Golden Social Media Icons */
.top-header .golden-social {
    background: #D4AF37;
    color: #ffffff;
    font-weight: bold;
}

.top-header .golden-social:hover {
    background: #B8941F;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Golden Subscribe Button */
.top-header .golden-btn {
    background: #D4AF37;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.top-header .golden-btn:hover {
    background: #B8941F;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Top Header Actions */
.top-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
/* Magazine Single Page - Full Width Single Pages */
.magazine-single-page {
    padding: 0;
    background: #ffffff;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* E-Paper Viewer - Full Width */
.epaper-viewer {
    width: 100%;
    background: #ffffff;
    position: relative;
    min-height: 100vh;
}

.pdf-viewer-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 80vh;
}

/* Zoom Controls */
.zoom-controls {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.zoom-btn {
    background: #D4AF37;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: none;
}

.zoom-btn:hover {
    background: #B8941F;
    color: white;
}

#zoom-level {
    display: inline-block;
    margin: 0 15px;
    font-weight: bold;
    color: #333;
    min-width: 50px;
}

/* Single Page Display - Full Width */
.page-spread {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.page-spread .page {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 0;
    overflow: hidden;
    background: white;
    object-fit: contain;
    margin: 0;
}

.page-spread .page img {
    width: 100%;
    height: auto;
    display: block;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pdf-viewer-container {
        padding: 10px;
    }
    
    .page-spread .page {
        max-width: 100%;
        width: 100%;
    }
    
    .zoom-controls {
        flex-wrap: wrap;
        gap: 5px;
        padding: 8px 15px;
    }
    
    .zoom-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
