.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.page-indicator {
    display: none;
}

/* CONTROLS WRAPPER - ELEGANTE Y FORMAL */
.controls-wrapper {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.page-info {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #2C3E50;
    min-width: 90px;
    text-align: center;
}

.go-to-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

#goToInput {
    width: 80px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid #E0E6ED;
    font-size: 1rem;
    background: #FFFFFF;
    color: #2C3E50;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#goToInput:focus {
    outline: none;
    border-color: #3498DB;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
}

#goToInput::placeholder {
    color: #A0AEC0;
    font-weight: 400;
}

#goToBtn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.25);
}

#goToBtn:hover {
    background: linear-gradient(135deg, #34495E, #2C3E50);
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.35);
    transform: translateY(-2px);
}

#goToBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.25);
}

/* BOOK WRAPPER - MÁS REFINADO */
.book-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#magazine {
    width: 90%; 
    height: auto;
    z-index: 50; 
}

/* PÁGINAS CON ESTILO REFINADO */
#magazine .page {
    width: 50%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* NAV BUTTONS - DISEÑO ELEGANTE Y FORMAL */
.nav-btn {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-size: 2.2rem;
    color: #2C3E50;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #3498DB;
    color: #3498DB;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.2);
}

.nav-btn:active {
    transform: translateY(-50%) scale(1.02);
    transition: transform 0.1s ease;
}

.left-btn { 
    left: 140px;
}

.right-btn { 
    right: 140px;
}

/* Media Query para pantallas más pequeñas */
@media (max-width: 1200px) {
    .nav-btn {
        width: 58px;
        height: 58px;
        font-size: 2rem;
    }
    
    .left-btn { 
        left: 20px;
    }
    
    .right-btn { 
        right: 20px;
    }
    
    .controls-wrapper {
        gap: 25px;
        padding: 10px 25px;
        top: -65px;
    }
    
    .page-info {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-btn {
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }
    
    .left-btn { 
        left: 12px;
    }
    
    .right-btn { 
        right: 12px;
    }
    
    .controls-wrapper {
        flex-direction: column;
        gap: 12px;
        padding: 12px 20px;
        top: -85px;
    }
    
    .go-to-wrapper {
        gap: 8px;
    }
    
    #goToInput {
        width: 70px;
        padding: 8px 12px;
    }
    
    #goToBtn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .book-wrapper {
        margin-top: 60px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* ESTADOS DE DESHABILITADO ELEGANTES */
.nav-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
    color: #2C3E50;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.footer-space {
    height: 70px;
}